Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 25) sorted by relevance

/optee_os/core/drivers/
A Dimx_sc_api.c223 .header.size = 1, in sc_rm_get_partition()
224 .header.svc = SC_RPC_SVC_RM, in sc_rm_get_partition()
234 err = msg.header.func; in sc_rm_get_partition()
258 .header.size = 2, in sc_pm_set_resource_power_mode()
259 .header.svc = SC_RPC_SVC_PM, in sc_pm_set_resource_power_mode()
272 scu_error = msg.header.func; in sc_pm_set_resource_power_mode()
294 .header.size = 2, in sc_rm_assign_resource()
295 .header.svc = SC_RPC_SVC_RM, in sc_rm_assign_resource()
314 err = msg.header.func; in sc_rm_assign_resource()
392 .header.size = 1, in imx_sc_seco_start_rng()
[all …]
/optee_os/core/lib/libtomcrypt/src/encauth/eax/
A Deax_addheader.c25 int eax_addheader(eax_state *eax, const unsigned char *header, in eax_addheader() argument
29 LTC_ARGCHK(header != NULL); in eax_addheader()
30 return omac_process(&eax->headeromac, header, length); in eax_addheader()
A Deax_test.c36 header[MAXBLOCKSIZE], in eax_test()
229 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
240 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
A Deax_init.c34 const unsigned char *header, unsigned long headerlen) in eax_init() argument
46 LTC_ARGCHK(header != NULL); in eax_init()
102 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) { in eax_init()
A Deax_encrypt_authenticate_memory.c38 const unsigned char *header, unsigned long headerlen, in eax_encrypt_authenticate_memory() argument
54 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) { in eax_encrypt_authenticate_memory()
A Deax_decrypt_verify_memory.c39 const unsigned char *header, unsigned long headerlen, in eax_decrypt_verify_memory() argument
75 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) { in eax_decrypt_verify_memory()
/optee_os/core/lib/libtomcrypt/src/encauth/ccm/
A Dccm_test.c28 unsigned char header[64]; in ccm_test()
143 tests[x].header, tests[x].headerlen, in ccm_test()
154 tests[x].header, tests[x].headerlen, in ccm_test()
167 if ((err = ccm_add_aad(&ccm, tests[x].header, tests[x].headerlen)) != CRYPT_OK) { in ccm_test()
192 tests[x].header, tests[x].headerlen, in ccm_test()
205 if ((err = ccm_add_aad(&ccm, tests[x].header, tests[x].headerlen)) != CRYPT_OK) { in ccm_test()
229 tests[x].header, tests[x].headerlen, in ccm_test()
A Dccm_memory.c44 const unsigned char *header, unsigned long headerlen, in ccm_memory() argument
61 LTC_ARGCHK(header != NULL); in ccm_memory()
95 header, headerlen, in ccm_memory()
203 PAD[x++] ^= header[y]; in ccm_memory()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dpem.c225 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer, in mbedtls_pem_read_buffer() argument
246 s1 = (unsigned char *) strstr( (const char *) data, header ); in mbedtls_pem_read_buffer()
256 s1 += strlen( header ); in mbedtls_pem_read_buffer()
433 int mbedtls_pem_write_buffer( const char *header, const char *footer, in mbedtls_pem_write_buffer() argument
442 add_len = strlen( header ) + strlen( footer ) + ( use_len / 64 ) + 1; in mbedtls_pem_write_buffer()
461 memcpy( p, header, strlen( header ) ); in mbedtls_pem_write_buffer()
462 p += strlen( header ); in mbedtls_pem_write_buffer()
A Dentropy.c183 unsigned char header[2]; in entropy_update() local
202 header[0] = source_id; in entropy_update()
203 header[1] = use_len & 0xFF; in entropy_update()
216 if( ( ret = mbedtls_sha512_update_ret( &ctx->accumulator, header, 2 ) ) != 0 ) in entropy_update()
225 if( ( ret = mbedtls_sha256_update_ret( &ctx->accumulator, header, 2 ) ) != 0 ) in entropy_update()
A Dssl_msg.c485 unsigned char header[11]; in ssl_mac() local
497 memcpy( header, ctr, 8 ); in ssl_mac()
498 header[ 8] = (unsigned char) type; in ssl_mac()
499 header[ 9] = (unsigned char)( len >> 8 ); in ssl_mac()
500 header[10] = (unsigned char)( len ); in ssl_mac()
506 mbedtls_md_update( md_ctx, header, 11 ); in ssl_mac()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dpem.h95 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer,
135 int mbedtls_pem_write_buffer( const char *header, const char *footer,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dpem.h95 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer,
135 int mbedtls_pem_write_buffer( const char *header, const char *footer,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpem.h95 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer,
135 int mbedtls_pem_write_buffer( const char *header, const char *footer,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dpem.h95 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer,
135 int mbedtls_pem_write_buffer( const char *header, const char *footer,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dpem.h95 int mbedtls_pem_read_buffer( mbedtls_pem_context *ctx, const char *header, const char *footer,
135 int mbedtls_pem_write_buffer( const char *header, const char *footer,
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h258 const unsigned char *header, unsigned long headerlen);
262 int eax_addheader(eax_state *eax, const unsigned char *header, unsigned long length);
268 const unsigned char *header, unsigned long headerlen,
276 const unsigned char *header, unsigned long headerlen,
445 const unsigned char *header, unsigned long headerlen,
A Dtomcrypt_cipher.h517 const unsigned char *header, unsigned long headerlen,
/optee_os/core/include/crypto/
A Dcrypto_se.h36 uint8_t *header, size_t hdr_len,
/optee_os/scripts/
A Dgen_ldelf_hex.py145 elffile.header['e_entry'])
A Dgen_tee_bin.py56 e_machine = elffile.header['e_machine']
/optee_os/lib/libmbedtls/mbedtls/
A DCONTRIBUTING.md22 …the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) standard license header where possible.
A DChangeLog110 directive in a header and a missing initialization in the self-test.
579 in a platform header. Contributed by Abdelatif Guettouche in #3557.
702 * The unit tests now rely on header files in tests/include/test and source
887 structures, which was exposed only in an internal header.
1070 to the DTLS record header. This identifier can be used to associated an
1166 in the header files, which missed the precompilation check. #971
1187 * Include configuration file in all header files that use configuration,
1188 instead of relying on other header files that they include.
1586 * Fix namespacing in header files. Remove the `mbedtls` namespacing in
1587 the `#include` in the header files. Resolves #857
[all …]
/optee_os/lib/libutils/isoc/
A Dbget.doc209 specifying the number of bytes (total buffer size, including header
/optee_os/
A DCHANGELOG.md930 current meta header

Completed in 38 milliseconds