Searched refs:XMALLOC (Results 1 - 25 of 84) sorted by relevance

1234

/external/dropbear/libtomcrypt/src/mac/pelican/
H A Dpelican_memory.c36 pel = XMALLOC(sizeof(*pel));
/external/dropbear/libtommath/
H A Dbn_mp_init.c24 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * MP_PREC);
H A Dbn_mp_init_size.c27 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * size);
H A Dbn_mp_fwrite.c27 buf = OPT_CAST(char) XMALLOC (len);
/external/dropbear/libtomcrypt/src/encauth/eax/
H A Deax_decrypt_verify_memory.c61 buf = XMALLOC(taglen);
62 eax = XMALLOC(sizeof(*eax));
H A Deax_done.c38 headermac = XMALLOC(MAXBLOCKSIZE);
39 ctmac = XMALLOC(MAXBLOCKSIZE);
H A Deax_encrypt_authenticate_memory.c53 eax = XMALLOC(sizeof(*eax));
/external/dropbear/libtomcrypt/src/encauth/gcm/
H A Dgcm_memory.c69 orig = gcm = XMALLOC(sizeof(*gcm));
71 orig = gcm = XMALLOC(sizeof(*gcm) + 16);
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_custom.h8 #ifndef XMALLOC
12 #define XMALLOC malloc macro
/external/dropbear/libtomcrypt/src/misc/pkcs5/
H A Dpkcs_5_1.c50 md = XMALLOC(sizeof(hash_state));
51 buf = XMALLOC(MAXBLOCKSIZE);
H A Dpkcs_5_2.c52 buf[0] = XMALLOC(MAXBLOCKSIZE * 2);
53 hmac = XMALLOC(sizeof(hmac_state));
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_mgf1.c51 md = XMALLOC(sizeof(hash_state));
52 buf = XMALLOC(hLen);
H A Dpkcs_1_oaep_encode.c67 DB = XMALLOC(modulus_len);
68 mask = XMALLOC(modulus_len);
69 seed = XMALLOC(hLen);
H A Dpkcs_1_pss_decode.c63 DB = XMALLOC(modulus_len);
64 mask = XMALLOC(modulus_len);
65 salt = XMALLOC(modulus_len);
66 hash = XMALLOC(modulus_len);
H A Dpkcs_1_pss_encode.c65 DB = XMALLOC(modulus_len);
66 mask = XMALLOC(modulus_len);
67 salt = XMALLOC(modulus_len);
68 hash = XMALLOC(modulus_len);
/external/dropbear/libtomcrypt/src/encauth/ocb/
H A Ds_ocb_done.c60 Z = XMALLOC(MAXBLOCKSIZE);
61 Y = XMALLOC(MAXBLOCKSIZE);
62 X = XMALLOC(MAXBLOCKSIZE);
H A Docb_done_decrypt.c50 tagbuf = XMALLOC(MAXBLOCKSIZE);
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_decrypt_key.c70 pub_expt = XMALLOC(ECC_BUF_SIZE);
71 ecc_shared = XMALLOC(ECC_BUF_SIZE);
72 skey = XMALLOC(MAXBLOCKSIZE);
H A Decc_encrypt_key.c71 pub_expt = XMALLOC(ECC_BUF_SIZE);
72 ecc_shared = XMALLOC(ECC_BUF_SIZE);
73 skey = XMALLOC(MAXBLOCKSIZE);
/external/dropbear/libtomcrypt/src/hashes/helper/
H A Dhash_memory.c45 md = XMALLOC(sizeof(hash_state));
/external/dropbear/libtomcrypt/src/mac/hmac/
H A Dhmac_memory.c56 hmac = XMALLOC(sizeof(hmac_state));
H A Dhmac_done.c48 buf = XMALLOC(HMAC_BLOCKSIZE);
49 isha = XMALLOC(hashsize);
H A Dhmac_init.c53 buf = XMALLOC(HMAC_BLOCKSIZE);
59 hmac->key = XMALLOC(HMAC_BLOCKSIZE);
/external/dropbear/libtomcrypt/src/mac/omac/
H A Domac_memory.c55 omac = XMALLOC(sizeof(omac_state));
/external/dropbear/libtomcrypt/src/mac/pmac/
H A Dpmac_memory.c45 pmac = XMALLOC(sizeof(pmac_state));

Completed in 229 milliseconds

1234