Searched refs:tmplen (Results 1 – 6 of 6) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_export.c | 55 unsigned long tmplen, *ptmplen; in rsa_export() local 59 tmplen = (unsigned long)(mp_count_bits(key->N) / 8) * 2 + 8; in rsa_export() 60 tmp = XMALLOC(tmplen); in rsa_export() 61 ptmplen = &tmplen; in rsa_export() 81 LTC_OID_RSA, tmp, tmplen, LTC_ASN1_NULL, NULL, 0); in rsa_export()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/ |
A D | der_encode_integer.c | 23 unsigned long tmplen, y, len; in der_encode_integer() local 31 if ((err = der_length_integer(num, &tmplen)) != CRYPT_OK) { in der_encode_integer() 35 if (*outlen < tmplen) { in der_encode_integer() 36 *outlen = tmplen; in der_encode_integer() 101 *outlen = tmplen; in der_encode_integer()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/utctime/ |
A D | der_encode_utctime.c | 28 unsigned long x, tmplen; in der_encode_utctime() local 35 if ((err = der_length_utctime(utctime, &tmplen)) != CRYPT_OK) { in der_encode_utctime() 38 if (tmplen > *outlen) { in der_encode_utctime() 39 *outlen = tmplen; in der_encode_utctime()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/generalizedtime/ |
A D | der_encode_generalizedtime.c | 37 unsigned long x, tmplen; in der_encode_generalizedtime() local 44 if ((err = der_length_generalizedtime(gtime, &tmplen)) != CRYPT_OK) { in der_encode_generalizedtime() 47 if (tmplen > *outlen) { in der_encode_generalizedtime() 48 *outlen = tmplen; in der_encode_generalizedtime()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_export.c | 61 unsigned long tmplen = (unsigned long)(mp_count_bits(key->y) / 8) + 8; in dsa_export() local 62 unsigned char* tmp = XMALLOC(tmplen); in dsa_export() 69 err = der_encode_integer(key->y, tmp, &tmplen); in dsa_export() 79 tmplen, LTC_ASN1_SEQUENCE, int_list, in dsa_export()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/ |
A D | x509_decode_subject_public_key_info.c | 39 unsigned long len, alg_id_num, tmplen; in x509_decode_subject_public_key_info() local 53 tmplen = 0; in x509_decode_subject_public_key_info() 54 _parameters_len = &tmplen; in x509_decode_subject_public_key_info()
|
Completed in 5 milliseconds