Home
last modified time | relevance | path

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

123

/external/dropbear/libtomcrypt/src/pk/pkcs1/
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()
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()
Dpkcs_1_oaep_decode.c64 DB = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
65 mask = XMALLOC(modulus_len); in pkcs_1_oaep_decode()
66 seed = XMALLOC(hLen); in pkcs_1_oaep_decode()
Dpkcs_1_oaep_encode.c67 DB = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
68 mask = XMALLOC(modulus_len); in pkcs_1_oaep_encode()
69 seed = XMALLOC(hLen); in pkcs_1_oaep_encode()
Dpkcs_1_mgf1.c51 md = XMALLOC(sizeof(hash_state)); in pkcs_1_mgf1()
52 buf = XMALLOC(hLen); in pkcs_1_mgf1()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_encrypt_key.c71 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
72 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
73 skey = XMALLOC(MAXBLOCKSIZE); in ecc_encrypt_key()
Decc_decrypt_key.c70 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
71 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
72 skey = XMALLOC(MAXBLOCKSIZE); in ecc_decrypt_key()
/external/dropbear/libtomcrypt/src/encauth/ocb/
Ds_ocb_done.c60 Z = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
61 Y = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
62 X = XMALLOC(MAXBLOCKSIZE); in s_ocb_done()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_custom.h8 #ifndef XMALLOC
12 #define XMALLOC malloc macro
/external/dropbear/libtomcrypt/src/encauth/gcm/
Dgcm_memory.c69 orig = gcm = XMALLOC(sizeof(*gcm)); in gcm_memory()
71 orig = gcm = XMALLOC(sizeof(*gcm) + 16); in gcm_memory()
/external/dropbear/libtomcrypt/src/encauth/eax/
Deax_done.c38 headermac = XMALLOC(MAXBLOCKSIZE); in eax_done()
39 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done()
Deax_decrypt_verify_memory.c61 buf = XMALLOC(taglen); in eax_decrypt_verify_memory()
62 eax = XMALLOC(sizeof(*eax)); in eax_decrypt_verify_memory()
Deax_init.c56 buf = XMALLOC(MAXBLOCKSIZE); in eax_init()
57 omac = XMALLOC(sizeof(*omac)); in eax_init()
/external/dropbear/libtomcrypt/src/misc/pkcs5/
Dpkcs_5_1.c50 md = XMALLOC(sizeof(hash_state)); in pkcs_5_alg1()
51 buf = XMALLOC(MAXBLOCKSIZE); in pkcs_5_alg1()
Dpkcs_5_2.c52 buf[0] = XMALLOC(MAXBLOCKSIZE * 2); in pkcs_5_alg2()
53 hmac = XMALLOC(sizeof(hmac_state)); in pkcs_5_alg2()
/external/dropbear/libtomcrypt/src/mac/hmac/
Dhmac_init.c53 buf = XMALLOC(HMAC_BLOCKSIZE); in hmac_init()
59 hmac->key = XMALLOC(HMAC_BLOCKSIZE); in hmac_init()
Dhmac_done.c48 buf = XMALLOC(HMAC_BLOCKSIZE); in hmac_done()
49 isha = XMALLOC(hashsize); in hmac_done()
/external/dropbear/libtomcrypt/src/pk/dsa/
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()
Ddsa_encrypt_key.c65 expt = XMALLOC(mp_unsigned_bin_size(key->p) + 1); in dsa_encrypt_key()
66 skey = XMALLOC(MAXBLOCKSIZE); in dsa_encrypt_key()
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_verify_hash.c75 tmpbuf = XMALLOC(siglen); in rsa_verify_hash_ex()
111 out = XMALLOC(outlen); in rsa_verify_hash_ex()
/external/dropbear/libtommath/
Dbn_mp_init.c24 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * MP_PREC); in mp_init()
Dbn_mp_init_size.c27 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * size); in mp_init_size()
Dbn_mp_fwrite.c27 buf = OPT_CAST(char) XMALLOC (len); in mp_fwrite()
/external/dropbear/libtomcrypt/src/mac/pelican/
Dpelican_memory.c36 pel = XMALLOC(sizeof(*pel)); in pelican_memory()
/external/dropbear/libtomcrypt/src/mac/pmac/
Dpmac_memory.c45 pmac = XMALLOC(sizeof(pmac_state)); in pmac_memory()

123