Home
last modified time | relevance | path

Searched refs:len_a (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
52 len_a = mp_unsigned_bin_size(a); in ecc_export_openssl()
53 …if (len_a > sizeof(bin_a)) { err = CRYPT_BUFFER_OVERFLOW; goto e… in ecc_export_openssl()
55 if (len_a == 0) { len_a = 1; bin_a[0] = 0; } /* handle case a == 0 */ in ecc_export_openssl()
117 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, len_a); 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
76 len_a = seq_curve[0].size; in _ecc_import_x509_with_curve()
80 …if ((err = mp_read_unsigned_bin(a, bin_a, len_a)) != 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
92 len_a = seq_curve[0].size; in _ecc_import_private_with_curve()
96 …if ((err = mp_read_unsigned_bin(a, bin_a, len_a)) != CRYPT_OK) { goto er… in _ecc_import_private_with_curve()

Completed in 4 milliseconds