/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_decode_sequence_flexi.c | 16 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element() 21 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element() 133 l->data = XCALLOC(1, sizeof(int)); in s_der_decode_sequence_flexi() 176 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi() 199 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi() 271 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in s_der_decode_sequence_flexi() 294 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi() 317 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi() 340 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi() 363 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in s_der_decode_sequence_flexi() [all …]
|
A D | der_encode_sequence_multi.c | 84 list = XCALLOC(sizeof(*list), x); in der_encode_sequence_multi()
|
A D | der_decode_sequence_multi.c | 81 list = XCALLOC(sizeof(*list), x); in s_der_decode_sequence_va()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 70 buf = XCALLOC(1, *outlen); in der_encode_setof() 82 edges = XCALLOC(inlen, sizeof(*edges)); in der_encode_setof()
|
A D | der_encode_set.c | 50 copy = XCALLOC(inlen, sizeof(*copy)); in der_encode_set()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/f9/ |
A D | f9_memory.c | 40 f9 = XCALLOC(1, sizeof(*f9)); in f9_memory()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/xcbc/ |
A D | xcbc_memory.c | 40 xcbc = XCALLOC(1, sizeof(*xcbc)); in xcbc_memory()
|
A D | xcbc_init.c | 58 skey = XCALLOC(1, sizeof(*skey)); in xcbc_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | rand_prime.c | 40 buf = XCALLOC(1, len); in rand_prime()
|
A D | rand_bn.c | 25 if ((buf = XCALLOC(1, bytes)) == NULL) return CRYPT_MEM; in rand_bn_bits()
|
A D | ltm_desc.c | 48 *a = XCALLOC(1, sizeof(mp_int)); in init_mpi() 402 *b = XCALLOC(1, sizeof(mp_digit)); in montgomery_setup()
|
A D | tfm_desc.c | 40 *a = XCALLOC(1, sizeof(fp_int)); in init() 366 *b = XCALLOC(1, sizeof(fp_digit)); in montgomery_setup()
|
A D | gmp_desc.c | 16 *a = XCALLOC(1, sizeof(__mpz_struct)); in init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_points.c | 20 p = XCALLOC(1, sizeof(*p)); in ltc_ecc_new_point()
|
A D | ltc_ecc_mul2add.c | 47 tA = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add() 51 tB = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/ |
A D | x509_decode_subject_public_key_info.c | 66 tmpbuf = XCALLOC(1, inlen); in x509_decode_subject_public_key_info()
|
A D | x509_decode_public_key_from_certificate.c | 47 tmpbuf = XCALLOC(1, tmpbuf_len); in x509_decode_public_key_from_certificate()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_import.c | 102 tmpbuf = XCALLOC(1, tmpbuf_len); in rsa_import()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_import.c | 93 tmpbuf = XCALLOC(1, tmpbuf_len); in dsa_import()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_custom.h | 14 #ifndef XCALLOC 15 #define XCALLOC calloc macro
|
A D | tomcrypt_cfg.h | 29 LTC_EXPORT void * LTC_CALL XCALLOC(size_t n, size_t s);
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 1431 cache_entry = XCALLOC(FP_ENTRIES*(2*(1U<<FP_LUT)+4)+3, sizeof(ltc_asn1_list)); in ltc_ecc_fp_save_state() 1523 if ((asn1_list = XCALLOC(3+num_entries*(4+2*(1<<FP_LUT))+1, sizeof(ltc_asn1_list))) == NULL) { in ltc_ecc_fp_restore_state() 1542 ecc_point *p = XCALLOC(1, sizeof(*p)); in ltc_ecc_fp_restore_state()
|