Home
last modified time | relevance | path

Searched refs:XCALLOC (Results 1 – 21 of 21) sorted by relevance

/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/
Dder_decode_sequence_flexi.c90 l = XCALLOC(1, sizeof(*l)); in der_decode_sequence_flexi()
96 l->next = XCALLOC(1, sizeof(*l)); in der_decode_sequence_flexi()
110 l->data = XCALLOC(1, sizeof(int)); in der_decode_sequence_flexi()
145 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
165 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
201 if ((l->data = XCALLOC(len, sizeof(unsigned long))) == NULL) { in der_decode_sequence_flexi()
228 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in der_decode_sequence_flexi()
248 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
268 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
288 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in der_decode_sequence_flexi()
Dder_encode_sequence_multi.c82 list = XCALLOC(sizeof(*list), x); in der_encode_sequence_multi()
Dder_decode_sequence_multi.c82 list = XCALLOC(sizeof(*list), x); in der_decode_sequence_multi()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_custom.h20 #ifndef XCALLOC
24 #define XCALLOC calloc macro
Dtomcrypt_cfg.h28 LTC_EXPORT void * LTC_CALL XCALLOC(size_t n, size_t s);
/external/dropbear/libtomcrypt/src/pk/asn1/der/set/
Dder_encode_setof.c77 buf = XCALLOC(1, *outlen); in der_encode_setof()
89 edges = XCALLOC(inlen, sizeof(*edges)); in der_encode_setof()
Dder_encode_set.c75 copy = XCALLOC(inlen, sizeof(*copy)); in der_encode_set()
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_points.c33 p = XCALLOC(1, sizeof(*p)); in ltc_ecc_new_point()
Dltc_ecc_mul2add.c57 tA = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
61 tB = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
/external/dropbear/libtomcrypt/src/mac/f9/
Df9_memory.c48 f9 = XCALLOC(1, sizeof(*f9)); in f9_memory()
/external/dropbear/libtomcrypt/src/mac/xcbc/
Dxcbc_memory.c48 xcbc = XCALLOC(1, sizeof(*xcbc)); in xcbc_memory()
Dxcbc_init.c47 skey = XCALLOC(1, sizeof(*skey)); in xcbc_init()
/external/dropbear/libtomcrypt/src/math/
Drand_prime.c46 buf = XCALLOC(1, len); in rand_prime()
Dltm_desc.c50 *a = XCALLOC(1, sizeof(mp_int)); in init()
343 *b = XCALLOC(1, sizeof(mp_digit)); in montgomery_setup()
Dtfm_desc.c48 *a = XCALLOC(1, sizeof(fp_int)); in init()
354 *b = XCALLOC(1, sizeof(fp_digit)); in montgomery_setup()
Dgmp_desc.c24 *a = XCALLOC(1, sizeof(__mpz_struct)); in init()
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_import.c47 tmpbuf = XCALLOC(1, MAX_RSA_SIZE*8); in rsa_import()
/external/bison/lib/
Dxalloc.h90 #define XCALLOC(n, t) \ macro
/external/dropbear/libtommath/
Dtommath.h114 #define XCALLOC calloc macro
119 extern void *XCALLOC(size_t n, size_t s);
/external/dropbear/libtomcrypt/
Dcrypt.tex5216 \index{XMALLOC}\index{XCALLOC}\index{XREALLOC}\index{XFREE}
5217 At the top of tomcrypt\_custom.h are a series of macros denoted as XMALLOC, XCALLOC, XREALLOC, XFRE…
/external/bison/
DChangeLog-201214017 All uses of XCALLOC, XMALLOC, and XREALLOC changed to use these
22780 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,