Home
last modified time | relevance | path

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

123

/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_pss_decode.c63 DB = XMALLOC(modulus_len); in pkcs_1_pss_decode()
64 mask = XMALLOC(modulus_len); in pkcs_1_pss_decode()
65 salt = XMALLOC(modulus_len); in pkcs_1_pss_decode()
66 hash = XMALLOC(modulus_len); in pkcs_1_pss_decode()
A Dpkcs_1_pss_encode.c65 DB = XMALLOC(modulus_len); in pkcs_1_pss_encode()
66 mask = XMALLOC(modulus_len); in pkcs_1_pss_encode()
67 salt = XMALLOC(modulus_len); in pkcs_1_pss_encode()
68 hash = XMALLOC(modulus_len); in pkcs_1_pss_encode()
A Dpkcs_1_oaep_decode.c63 DB = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
64 mask = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
65 seed = XMALLOC(hLen); in pkcs_1_oaep_decode()
A Dpkcs_1_oaep_encode.c66 DB = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
67 mask = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
68 seed = XMALLOC(hLen); in pkcs_1_oaep_encode()
A Dpkcs_1_mgf1.c50 md = XMALLOC(sizeof(hash_state)); in pkcs_1_mgf1()
51 buf = XMALLOC(hLen); in pkcs_1_mgf1()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_encrypt_key.c59 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
60 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
61 skey = XMALLOC(MAXBLOCKSIZE); in ecc_encrypt_key()
A Decc_decrypt_key.c65 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
66 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
67 skey = XMALLOC(MAXBLOCKSIZE); in ecc_decrypt_key()
/optee_os/core/lib/libtomcrypt/src/encauth/ocb/
A Ds_ocb_done.c59 Z = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
60 Y = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
61 X = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
/optee_os/core/lib/libtomcrypt/src/encauth/eax/
A Deax_done.c37 headermac = XMALLOC(MAXBLOCKSIZE); in eax_done()
38 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done()
A Deax_decrypt_verify_memory.c63 buf = XMALLOC(taglen); in eax_decrypt_verify_memory()
64 eax = XMALLOC(sizeof(*eax)); in eax_decrypt_verify_memory()
A Deax_init.c55 buf = XMALLOC(MAXBLOCKSIZE); in eax_init()
56 omac = XMALLOC(sizeof(*omac)); in eax_init()
/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_decrypt_verify_memory.c59 buf = XMALLOC(taglen); in ocb3_decrypt_verify_memory()
60 ocb = XMALLOC(sizeof(ocb3_state)); in ocb3_decrypt_verify_memory()
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_memory.c67 orig = gcm = XMALLOC(sizeof(*gcm)); in gcm_memory()
69 orig = gcm = XMALLOC(sizeof(*gcm) + 16); in gcm_memory()
/optee_os/core/lib/libtomcrypt/src/mac/hmac/
A Dhmac_done.c47 buf = XMALLOC(LTC_HMAC_BLOCKSIZE); in hmac_done()
48 isha = XMALLOC(hashsize); in hmac_done()
/optee_os/core/lib/libtomcrypt/src/misc/pkcs5/
A Dpkcs_5_2.c51 buf[0] = XMALLOC(MAXBLOCKSIZE * 2); in pkcs_5_alg2()
52 hmac = XMALLOC(sizeof(hmac_state)); in pkcs_5_alg2()
A Dpkcs_5_1.c66 md = XMALLOC(sizeof(hash_state)); in _pkcs_5_alg1_common()
67 buf = XMALLOC(MAXBLOCKSIZE); in _pkcs_5_alg1_common()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_decrypt_key.c68 expt = XMALLOC(mp_unsigned_bin_size(key->p) + 1); in dsa_decrypt_key()
69 skey = XMALLOC(MAXBLOCKSIZE); in dsa_decrypt_key()
A Ddsa_encrypt_key.c64 expt = XMALLOC(mp_unsigned_bin_size(key->p) + 1); in dsa_encrypt_key()
65 skey = XMALLOC(MAXBLOCKSIZE); in dsa_encrypt_key()
/optee_os/core/lib/libtomcrypt/src/misc/hkdf/
A Dhkdf.c67 T = XMALLOC(Tlen); /* Replace with static buffer? */ in hkdf_expand()
125 extracted = XMALLOC(hashsize); /* replace with static buffer? */ in hkdf()
/optee_os/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_kdf.c38 key = XMALLOC(u * c); in pkcs12_kdf()
39 I = XMALLOC(Plen + Slen); in pkcs12_kdf()
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_import_pkcs8.c76 buf1 = XMALLOC(buf1len); in rsa_import_pkcs8()
79 buf2 = XMALLOC(buf2len); in rsa_import_pkcs8()
A Drsa_verify_hash.c75 tmpbuf = XMALLOC(siglen); in rsa_verify_hash_ex()
111 out = XMALLOC(outlen); in rsa_verify_hash_ex()
/optee_os/core/lib/libtomcrypt/src/mac/pelican/
A Dpelican_memory.c35 pel = XMALLOC(sizeof(*pel)); in pelican_memory()
/optee_os/core/lib/libtomcrypt/src/mac/pmac/
A Dpmac_memory.c44 pmac = XMALLOC(sizeof(pmac_state)); in pmac_memory()
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_sign.c49 s = XMALLOC(smlen); in ed25519_sign()

Completed in 59 milliseconds

123