/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | base64.c | 197 C1 = *src++; in mbedtls_base64_encode() 198 C2 = *src++; in mbedtls_base64_encode() 199 C3 = *src++; in mbedtls_base64_encode() 216 C1 = *src++; in mbedtls_base64_encode() 266 src[i] == '\r' && src[i + 1] == '\n' ) in mbedtls_base64_decode() 269 if( src[i] == '\n' ) in mbedtls_base64_decode() 276 if( src[i] == '=' && ++j > 2 ) in mbedtls_base64_decode() 311 if( *src == '\r' || *src == '\n' || *src == ' ' ) in mbedtls_base64_decode() 357 const unsigned char *src; in mbedtls_base64_self_test() local 363 src = base64_test_dec; in mbedtls_base64_self_test() [all …]
|
/optee_os/lib/libutils/isoc/newlib/ |
A D | memmove.c | 94 _CONST char *src = src_void; variable 96 if (src < dst && dst < src + length) { 98 src += length; 101 *--dst = *--src; 104 *dst++ = *src++; 110 _CONST char *src = src_void; 114 if (src < dst && dst < src + length) { 116 src += length; 119 *--dst = *--src; 129 aligned_src = (long *)src; [all …]
|
/optee_os/core/drivers/ |
A D | zynqmp_huk.c | 26 uint8_t src[HW_UNIQUE_KEY_LENGTH] __aligned_csuaes = { 0 }; in tee_otp_get_hw_unique_key() local 30 uint8_t dst[ZYNQMP_CSU_AES_DST_LEN(sizeof(src))] in tee_otp_get_hw_unique_key() 47 src, sizeof(src))) { in tee_otp_get_hw_unique_key() 56 memcpy(huk.key, src, sizeof(huk.key)); in tee_otp_get_hw_unique_key() 76 memcpy(sha, src, sizeof(sha)); in tee_otp_get_hw_unique_key() 78 ret = zynqmp_csu_aes_encrypt_data(src, sizeof(src), dst, sizeof(dst), in tee_otp_get_hw_unique_key() 94 memset(src, 0, sizeof(src)); in tee_otp_get_hw_unique_key() 96 ret = zynqmp_csu_aes_decrypt_data(dst, sizeof(src), src, sizeof(src), in tee_otp_get_hw_unique_key() 105 if (memcmp(src, sha, sizeof(sha))) { in tee_otp_get_hw_unique_key()
|
/optee_os/core/arch/arm/crypto/ |
A D | aes-gcm-ce.c | 19 static void get_be_block(void *dst, const void *src) in get_be_block() argument 23 d[1] = get_be64(src); in get_be_block() 24 d[0] = get_be64((const uint8_t *)src + 8); in get_be_block() 27 static void put_be_block(void *dst, const void *src) in put_be_block() argument 29 const uint64_t *s = src; in put_be_block() 68 const uint8_t *src, in pmull_ghash_update() argument 104 ce_aes_xor_block(buf_cryp, buf_cryp, src); in encrypt_pl() 114 src += TEE_AES_BLOCK_SIZE; in encrypt_pl() 129 src += TEE_AES_BLOCK_SIZE; in decrypt_pl() 224 encrypt_pl(state, ek, dg, src, num_blocks, dst); in internal_aes_gcm_update_payload_blocks() [all …]
|
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher.c | 200 if (src) { in caam_cipher_block() 376 dst->alg = src->alg; in caam_cipher_copy_state() 387 if (src->key1.length) { in caam_cipher_copy_state() 395 if (src->key2.length) { in caam_cipher_copy_state() 403 if (src->ctx.length) { in caam_cipher_copy_state() 405 .data = src->ctx.data, in caam_cipher_copy_state() 412 if (src->tweak.length) { in caam_cipher_copy_state() 601 ret = caam_dmaobj_init_input(&src, dupdate->src.data, in do_update_streaming() 658 CIPHER_DUMPBUF("Source", dupdate->src.data, dupdate->src.length); in do_update_streaming() 767 caam_dmaobj_free(&src); in do_update_streaming() [all …]
|
/optee_os/out/arm/ta/pkcs11/ |
A D | fd02c9da-306c-48c7-a49c-bbd827ae86ee.map | 2435 .rodata.ta/pkcs11/src/pkcs11_token.c 2461 .rodata.ta/pkcs11/src/attributes.c 2463 .rodata.str1.1.ta/pkcs11/src/entry.c 2465 .rodata.ta/pkcs11/src/entry.c 2467 .rodata.str1.1.ta/pkcs11/src/object.c 2470 .rodata.ta/pkcs11/src/object.c 2487 .rodata.ta/pkcs11/src/processing.c 2514 .rodata.ta/pkcs11/src/serializer.c 3327 LOAD out/arm/ta/pkcs11/src/entry.o 3328 LOAD out/arm/ta/pkcs11/src/handle.o [all …]
|
/optee_os/out/arm/core/lib/libtomcrypt/src/ciphers/aes/ |
A D | .aes.o.d | 1 out/arm/core/lib/libtomcrypt/src/ciphers/aes/aes.o: \ 2 core/lib/libtomcrypt/src/ciphers/aes/aes.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
/optee_os/out/arm/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | .pkcs_1_i2osp.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_mgf1.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_oaep_decode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_oaep_encode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_os2ip.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_pss_decode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_pss_encode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_v1_5_decode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .pkcs_1_v1_5_encode.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.o: \ 2 core/lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
/optee_os/out/arm/core/lib/libtomcrypt/src/pk/rsa/ |
A D | .rsa_decrypt_key.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/rsa/rsa_decrypt_key.o: \ 2 core/lib/libtomcrypt/src/pk/rsa/rsa_decrypt_key.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .rsa_encrypt_key.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/rsa/rsa_encrypt_key.o: \ 2 core/lib/libtomcrypt/src/pk/rsa/rsa_encrypt_key.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .rsa_export.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/rsa/rsa_export.o: \ 2 core/lib/libtomcrypt/src/pk/rsa/rsa_export.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .rsa_sign_hash.o.d | 1 out/arm/core/lib/libtomcrypt/src/pk/rsa/rsa_sign_hash.o: \ 2 core/lib/libtomcrypt/src/pk/rsa/rsa_sign_hash.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
/optee_os/out/arm/core/lib/libtomcrypt/src/ciphers/ |
A D | .des.o.d | 1 out/arm/core/lib/libtomcrypt/src/ciphers/des.o: \ 3 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 4 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 21 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 24 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_misc.h \ [all …]
|
/optee_os/out/arm/core/lib/libtomcrypt/src/encauth/ccm/ |
A D | .ccm_add_aad.o.d | 1 out/arm/core/lib/libtomcrypt/src/encauth/ccm/ccm_add_aad.o: \ 2 core/lib/libtomcrypt/src/encauth/ccm/ccm_add_aad.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .ccm_add_nonce.o.d | 1 out/arm/core/lib/libtomcrypt/src/encauth/ccm/ccm_add_nonce.o: \ 2 core/lib/libtomcrypt/src/encauth/ccm/ccm_add_nonce.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .ccm_done.o.d | 1 out/arm/core/lib/libtomcrypt/src/encauth/ccm/ccm_done.o: \ 2 core/lib/libtomcrypt/src/encauth/ccm/ccm_done.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|
A D | .ccm_init.o.d | 1 out/arm/core/lib/libtomcrypt/src/encauth/ccm/ccm_init.o: \ 2 core/lib/libtomcrypt/src/encauth/ccm/ccm_init.c \ 4 core/lib/libtomcrypt/src/headers/tomcrypt_private.h \ 5 core/lib/libtomcrypt/src/headers/tomcrypt.h \ 22 core/lib/libtomcrypt/src/headers/tomcrypt_cfg.h \ 25 core/lib/libtomcrypt/src/headers/tomcrypt_hash.h \ 26 core/lib/libtomcrypt/src/headers/tomcrypt_mac.h \ 27 core/lib/libtomcrypt/src/headers/tomcrypt_prng.h \ 28 core/lib/libtomcrypt/src/headers/tomcrypt_pk.h \ 29 core/lib/libtomcrypt/src/headers/tomcrypt_math.h \ [all …]
|