Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_export_openssl.c28 unsigned char bin_a[256], bin_b[256], bin_k[256], bin_g[512], bin_xy[512]; in ecc_export_openssl() local
59 …if (len_b > sizeof(bin_b)) { err = CRYPT_BUFFER_OVERFLOW; goto e… in ecc_export_openssl()
60 if ((err = mp_to_unsigned_bin(b, bin_b)) != CRYPT_OK) { goto error; } 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.c44 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE]; in _ecc_import_x509_with_curve() local
67 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); 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.c53 unsigned char bin_a[ECC_MAXSIZE], bin_b[ECC_MAXSIZE], bin_k[ECC_MAXSIZE]; in _ecc_import_private_with_curve() local
85 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); 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 4 milliseconds