Searched refs:bin_a (Results 1 – 3 of 3) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_export_openssl.c | 28 unsigned char bin_a[256], bin_b[256], bin_k[256], bin_g[512], bin_xy[512]; in ecc_export_openssl() local 53 …if (len_a > sizeof(bin_a)) { err = CRYPT_BUFFER_OVERFLOW; goto e… in ecc_export_openssl() 54 if ((err = mp_to_unsigned_bin(a, bin_a)) != CRYPT_OK) { goto error; } 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 D | ecc_import_x509.c | 44 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE]; in _ecc_import_x509_with_curve() local 66 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, sizeof(bin_a)); 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 D | ecc_import_openssl.c | 53 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE], bin_k[ECC_MAXSIZE]; in _ecc_import_private_with_curve() local 84 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, sizeof(bin_a)); 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 3 milliseconds