Home
last modified time | relevance | path

Searched refs:gx (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_x509.c42 void *prime, *order, *a, *b, *gx, *gy; in _ecc_import_x509_with_curve() local
50 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, NULL)) != CRYPT_OK) { 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()
84 …if ((err = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto… in _ecc_import_x509_with_curve()
89 mp_clear_multi(prime, order, a, b, gx, gy, NULL); in _ecc_import_x509_with_curve()
A Decc_import_openssl.c51 void *prime, *order, *a, *b, *gx, *gy; in _ecc_import_private_with_curve() local
59 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, NULL)) != CRYPT_OK) { 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()
100 …if ((err = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto… in _ecc_import_private_with_curve()
105 mp_clear_multi(prime, order, a, b, gx, gy, NULL); in _ecc_import_private_with_curve()
A Decc_import_pkcs8.c51 void *a, *b, *gx, *gy; in ecc_import_pkcs8() local
70 err = mp_init_multi(&a, &b, &gx, &gy, NULL); in ecc_import_pkcs8()
149 …if ((err = ltc_ecc_import_point(point_g->data, point_g->size, prime->data, a, b, gx, gy)) != CRYPT… in ecc_import_pkcs8()
152 …if ((err = ecc_set_curve_from_mpis(a, b, prime->data, order->data, gx, gy, cofactor, key)) != CRYP… in ecc_import_pkcs8()
187 mp_clear_multi(a, b, gx, gy, NULL); in ecc_import_pkcs8()
A Decc_export_openssl.c27 void *prime, *order, *a, *b, *gx, *gy; in ecc_export_openssl() local
48 gx = key->dp.base.x; 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()
A Decc_set_curve_internal.c86 int ecc_set_curve_from_mpis(void *a, void *b, void *prime, void *order, void *gx, void *gy, unsigne… in ecc_set_curve_from_mpis() argument
95 LTC_ARGCHK(gx != NULL); in ecc_set_curve_from_mpis()
110 if ((err = mp_copy(gx, key->dp.base.x)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
/optee_os/lib/libmbedtls/mbedtls/library/
A Decp_curves.c609 const mbedtls_mpi_uint *gx, size_t gxlen, in ecp_group_load() argument
619 ecp_mpi_load( &grp->G.X, gx, gxlen ); in ecp_group_load()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h255 int ecc_set_curve_from_mpis(void *a, void *b, void *prime, void *order, void *gx, void *gy, unsigne…

Completed in 13 milliseconds