/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_x509.c | 35 void *prime, *order, *a, *b, *gx, *gy; in s_ecc_import_x509_with_curve() local 43 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, LTC_NULL)) != CRYPT_OK) { in s_ecc_import_x509_with_curve() 75 …if ((err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto er… in s_ecc_import_x509_with_curve() 77 …if ((err = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto… in s_ecc_import_x509_with_curve() 82 mp_clear_multi(prime, order, a, b, gx, gy, LTC_NULL); in s_ecc_import_x509_with_curve()
|
A D | ecc_import_openssl.c | 44 void *prime, *order, *a, *b, *gx, *gy; in s_ecc_import_private_with_curve() local 52 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, LTC_NULL)) != CRYPT_OK) { in s_ecc_import_private_with_curve() 91 …if ((err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto er… in s_ecc_import_private_with_curve() 93 …if ((err = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto… in s_ecc_import_private_with_curve() 98 mp_clear_multi(prime, order, a, b, gx, gy, LTC_NULL); in s_ecc_import_private_with_curve()
|
A D | ecc_import_pkcs8.c | 44 void *a, *b, *gx, *gy; in ecc_import_pkcs8() local 63 err = mp_init_multi(&a, &b, &gx, &gy, LTC_NULL); in ecc_import_pkcs8() 142 …if ((err = ltc_ecc_import_point(point_g->data, point_g->size, prime->data, a, b, gx, gy)) != CRYPT… in ecc_import_pkcs8() 145 …if ((err = ecc_set_curve_from_mpis(a, b, prime->data, order->data, gx, gy, cofactor, key)) != CRYP… in ecc_import_pkcs8() 180 mp_clear_multi(a, b, gx, gy, LTC_NULL); in ecc_import_pkcs8()
|
A D | ecc_export_openssl.c | 20 void *prime, *order, *a, *b, *gx, *gy; in ecc_export_openssl() local 51 gx = key->dp.base.x; in ecc_export_openssl() 69 err = ltc_ecc_export_point(bin_g, &len_g, gx, gy, key->dp.size, flag_com); in ecc_export_openssl()
|
A D | ecc_set_curve_internal.c | 79 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 88 LTC_ARGCHK(gx != NULL); in ecc_set_curve_from_mpis() 103 if ((err = mp_copy(gx, key->dp.base.x)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ecp_curves.c | 609 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-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 283 int ecc_set_curve_from_mpis(void *a, void *b, void *prime, void *order, void *gx, void *gy, unsigne…
|