Home
last modified time | relevance | path

Searched refs:tmplen (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_export.c55 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 Dder_encode_integer.c23 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 Dder_encode_utctime.c28 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 Dder_encode_generalizedtime.c37 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 Ddsa_export.c61 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 Dx509_decode_subject_public_key_info.c39 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