Home
last modified time | relevance | path

Searched refs:len_b (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_export_openssl.c29 unsigned long len_a, len_b, len_k, len_g, len_xy; in ecc_export_openssl() local
58 len_b = mp_unsigned_bin_size(b); in ecc_export_openssl()
59 …if (len_b > sizeof(bin_b)) { err = CRYPT_BUFFER_OVERFLOW; goto e… in ecc_export_openssl()
61 if (len_b == 0) { len_b = 1; bin_b[0] = 0; } /* handle case b == 0 */ in ecc_export_openssl()
118 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, len_b); in ecc_export_openssl()
A Decc_import_x509.c46 unsigned long len_a, len_b, len_g, len_xy, len; in _ecc_import_x509_with_curve() local
77 len_b = seq_curve[1].size; in _ecc_import_x509_with_curve()
81 …if ((err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto er… in _ecc_import_x509_with_curve()
A Decc_import_openssl.c55 unsigned long len_a, len_b, len_k, len_g; in _ecc_import_private_with_curve() local
93 len_b = seq_curve[1].size; in _ecc_import_private_with_curve()
97 …if ((err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto er… in _ecc_import_private_with_curve()

Completed in 3 milliseconds