Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_x509.c45 unsigned char bin_g[2*ECC_MAXSIZE+1], bin_xy[2*ECC_MAXSIZE+2], bin_seed[128]; in _ecc_import_x509_with_curve() local
58 LTC_SET_ASN1(seq_ecparams, 3, LTC_ASN1_OCTET_STRING, bin_g, sizeof(bin_g)); in _ecc_import_x509_with_curve()
82 …if ((err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto er… in _ecc_import_x509_with_curve()
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
64 len_g = sizeof(bin_g); in ecc_export_openssl()
65 err = ltc_ecc_export_point(bin_g, &len_g, gx, gy, key->dp.size, flag_com); in ecc_export_openssl()
124 LTC_SET_ASN1(seq_ecparams, 3, LTC_ASN1_OCTET_STRING, bin_g, len_g); in ecc_export_openssl()
A Decc_import_openssl.c54 unsigned char bin_g[2*ECC_MAXSIZE+1], bin_xy[2*ECC_MAXSIZE+2], bin_seed[128]; in _ecc_import_private_with_curve() local
76 LTC_SET_ASN1(seq_ecparams, 3, LTC_ASN1_OCTET_STRING, bin_g, sizeof(bin_g)); in _ecc_import_private_with_curve()
98 …if ((err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto er… in _ecc_import_private_with_curve()

Completed in 3 milliseconds