/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_decode_sequence_flexi.c | 23 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element() 28 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element() 139 l->data = XCALLOC(1, sizeof(int)); in der_decode_sequence_flexi() 182 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi() 205 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi() 277 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in der_decode_sequence_flexi() 300 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi() 323 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi() 346 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi() 369 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in der_decode_sequence_flexi() [all …]
|
A D | der_encode_sequence_multi.c | 90 list = XCALLOC(sizeof(*list), x); in der_encode_sequence_multi()
|
A D | der_decode_sequence_multi.c | 87 list = XCALLOC(sizeof(*list), x); in _der_decode_sequence_va()
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 77 buf = XCALLOC(1, *outlen); in der_encode_setof() 89 edges = XCALLOC(inlen, sizeof(*edges)); in der_encode_setof()
|
A D | der_encode_set.c | 57 copy = XCALLOC(inlen, sizeof(*copy)); in der_encode_set()
|
/optee_os/core/lib/libtomcrypt/src/mac/xcbc/ |
A D | xcbc_memory.c | 47 xcbc = XCALLOC(1, sizeof(*xcbc)); in xcbc_memory()
|
A D | xcbc_init.c | 65 skey = XCALLOC(1, sizeof(*skey)); in xcbc_init()
|
/optee_os/core/lib/libtomcrypt/src/mac/f9/ |
A D | f9_memory.c | 47 f9 = XCALLOC(1, sizeof(*f9)); in f9_memory()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_mul2add.c | 54 tA = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add() 58 tB = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
|
A D | ltc_ecc_points.c | 27 p = XCALLOC(1, sizeof(*p)); in ltc_ecc_new_point()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | rand_prime.c | 47 buf = XCALLOC(1, len); in rand_prime()
|
A D | rand_bn.c | 32 if ((buf = XCALLOC(1, bytes)) == NULL) return CRYPT_MEM; in rand_bn_bits()
|
A D | ltm_desc.c | 49 *a = XCALLOC(1, sizeof(mp_int)); in init() 378 *b = XCALLOC(1, sizeof(mp_digit)); in montgomery_setup()
|
A D | tfm_desc.c | 47 *a = XCALLOC(1, sizeof(fp_int)); in init() 373 *b = XCALLOC(1, sizeof(fp_digit)); in montgomery_setup()
|
A D | gmp_desc.c | 23 *a = XCALLOC(1, sizeof(__mpz_struct)); in init()
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/x509/ |
A D | x509_decode_subject_public_key_info.c | 73 tmpbuf = XCALLOC(1, inlen); in x509_decode_subject_public_key_info()
|
A D | x509_decode_public_key_from_certificate.c | 53 tmpbuf = XCALLOC(1, tmpbuf_len); in x509_decode_public_key_from_certificate()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_custom.h | 21 #ifndef XCALLOC 22 #define XCALLOC calloc macro
|
A D | tomcrypt_cfg.h | 36 LTC_EXPORT void * LTC_CALL XCALLOC(size_t n, size_t s);
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_import.c | 45 tmpbuf = XCALLOC(1, tmpbuf_len); in rsa_import()
|
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_import.c | 100 tmpbuf = XCALLOC(1, tmpbuf_len); in dsa_import()
|
/optee_os/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 1438 cache_entry = XCALLOC(FP_ENTRIES*(2*(1U<<FP_LUT)+4)+3, sizeof(ltc_asn1_list)); in ltc_ecc_fp_save_state() 1530 if ((asn1_list = XCALLOC(3+num_entries*(4+2*(1<<FP_LUT))+1, sizeof(ltc_asn1_list))) == NULL) { in ltc_ecc_fp_restore_state() 1549 ecc_point *p = XCALLOC(1, sizeof(*p)); in ltc_ecc_fp_restore_state()
|