Home
last modified time | relevance | path

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

123

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_pss_decode.c57 DB = XMALLOC(modulus_len); in pkcs_1_pss_decode()
58 mask = XMALLOC(modulus_len); in pkcs_1_pss_decode()
59 salt = XMALLOC(modulus_len); in pkcs_1_pss_decode()
60 hash = XMALLOC(modulus_len); in pkcs_1_pss_decode()
A Dpkcs_1_pss_encode.c58 DB = XMALLOC(modulus_len); in pkcs_1_pss_encode()
59 mask = XMALLOC(modulus_len); in pkcs_1_pss_encode()
60 salt = XMALLOC(modulus_len); in pkcs_1_pss_encode()
61 hash = XMALLOC(modulus_len); in pkcs_1_pss_encode()
A Dpkcs_1_mgf1.c43 md = XMALLOC(sizeof(hash_state)); in pkcs_1_mgf1()
44 buf = XMALLOC(hLen); in pkcs_1_mgf1()
A Dpkcs_1_oaep_decode.c56 DB = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
57 mask = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
58 seed = XMALLOC(hLen); in pkcs_1_oaep_decode()
A Dpkcs_1_oaep_encode.c59 DB = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
60 mask = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
61 seed = XMALLOC(hLen); in pkcs_1_oaep_encode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_encrypt_key.c52 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
53 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
54 skey = XMALLOC(MAXBLOCKSIZE); in ecc_encrypt_key()
A Decc_decrypt_key.c58 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
59 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
60 skey = XMALLOC(MAXBLOCKSIZE); in ecc_decrypt_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/
A Deax_done.c30 headermac = XMALLOC(MAXBLOCKSIZE); in eax_done()
31 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done()
A Deax_decrypt_verify_memory.c56 buf = XMALLOC(taglen); in eax_decrypt_verify_memory()
57 eax = XMALLOC(sizeof(*eax)); in eax_decrypt_verify_memory()
A Deax_init.c48 buf = XMALLOC(MAXBLOCKSIZE); in eax_init()
49 omac = XMALLOC(sizeof(*omac)); in eax_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/
A Ds_ocb_done.c52 Z = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
53 Y = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
54 X = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
A Docb_done_decrypt.c42 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_decrypt_verify_memory.c52 buf = XMALLOC(taglen); in ocb3_decrypt_verify_memory()
53 ocb = XMALLOC(sizeof(ocb3_state)); in ocb3_decrypt_verify_memory()
A Docb3_encrypt_authenticate_memory.c42 ocb = XMALLOC(sizeof(ocb3_state)); in ocb3_encrypt_authenticate_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_memory.c60 orig = gcm = XMALLOC(sizeof(*gcm)); in gcm_memory()
62 orig = gcm = XMALLOC(sizeof(*gcm) + 16); in gcm_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/hmac/
A Dhmac_done.c40 buf = XMALLOC(LTC_HMAC_BLOCKSIZE); in hmac_done()
41 isha = XMALLOC(hashsize); in hmac_done()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_import_pkcs8.c68 buf1 = XMALLOC(buf1len); in rsa_import_pkcs8()
71 buf2 = XMALLOC(buf2len); in rsa_import_pkcs8()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/
A Dpkcs_5_2.c48 buf[0] = XMALLOC(MAXBLOCKSIZE * 2); in pkcs_5_alg2()
49 hmac = XMALLOC(sizeof(hmac_state)); in pkcs_5_alg2()
A Dpkcs_5_1.c63 md = XMALLOC(sizeof(hash_state)); in s_pkcs_5_alg1_common()
64 buf = XMALLOC(MAXBLOCKSIZE); in s_pkcs_5_alg1_common()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_decrypt_key.c61 expt = XMALLOC(mp_unsigned_bin_size(key->p) + 1); in dsa_decrypt_key()
62 skey = XMALLOC(MAXBLOCKSIZE); in dsa_decrypt_key()
A Ddsa_encrypt_key.c57 expt = XMALLOC(mp_unsigned_bin_size(key->p) + 1); in dsa_encrypt_key()
58 skey = XMALLOC(MAXBLOCKSIZE); in dsa_encrypt_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pelican/
A Dpelican_memory.c28 pel = XMALLOC(sizeof(*pel)); in pelican_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/hkdf/
A Dhkdf.c60 T = XMALLOC(Tlen); /* Replace with static buffer? */ in hkdf_expand()
118 extracted = XMALLOC(hashsize); /* replace with static buffer? */ in hkdf()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_kdf.c31 key = XMALLOC(u * c); in pkcs12_kdf()
32 I = XMALLOC(Plen + Slen); in pkcs12_kdf()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pmac/
A Dpmac_memory.c37 pmac = XMALLOC(sizeof(pmac_state)); in pmac_memory()

Completed in 27 milliseconds

123