Searched refs:bin_b (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_export_openssl.c | 21 unsigned char bin_a[256], bin_b[256], bin_k[256], bin_g[512], bin_xy[512]; in ecc_export_openssl() local 63 …if (len_b > sizeof(bin_b)) { err = CRYPT_BUFFER_OVERFLOW; goto e… in ecc_export_openssl() 64 if ((err = mp_to_unsigned_bin(b, bin_b)) != CRYPT_OK) { goto error; } in ecc_export_openssl() 65 if (len_b == 0) { len_b = 1; bin_b[0] = 0; } /* handle case b == 0 */ in ecc_export_openssl() 104 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, len_b); in ecc_export_openssl()
|
A D | ecc_import_x509.c | 37 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE]; in s_ecc_import_x509_with_curve() local 60 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); in s_ecc_import_x509_with_curve() 74 …if ((err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto er… in s_ecc_import_x509_with_curve()
|
A D | ecc_import_openssl.c | 46 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE], bin_k[ECC_MAXSIZE]; in s_ecc_import_private_with_curve() local 78 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); in s_ecc_import_private_with_curve() 90 …if ((err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto er… in s_ecc_import_private_with_curve()
|
Completed in 4 milliseconds