Home
last modified time | relevance | path

Searched refs:gy (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_import_x509.c35 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()
H A Decc_import_openssl.c44 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()
H A Decc_import_pkcs8.c44 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 …err = ltc_ecc_import_point(point_g->data, point_g->size, prime->data, a, b, gx, gy)) != CRYPT_OK) { 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()
H A Decc_export_openssl.c20 void *prime, *order, *a, *b, *gx, *gy; in ecc_export_openssl() local
52 gy = key->dp.base.y; 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()
H A Decc_set_curve_internal.c79 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
89 LTC_ARGCHK(gy != NULL); in ecc_set_curve_from_mpis()
104 if ((err = mp_copy(gy, key->dp.base.y)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_ecc.c385 uint8_t *gx, uint8_t *gy, in hpre_ecc_curve_to_hpre_bin() argument
425 if (gy) { in hpre_ecc_curve_to_hpre_bin()
426 ret = hpre_bin_from_crypto_bin(gy, gy, key_bytes, curve_bytes); in hpre_ecc_curve_to_hpre_bin()
1029 uint8_t *gy = gx + msg->key_bytes; in hpre_ecc_sign_params_fill() local
1041 memcpy(gy, curve->y, msg->curve_bytes); in hpre_ecc_sign_params_fill()
1050 ret = hpre_ecc_curve_to_hpre_bin(p, a, b, n, gx, gy, msg->curve_bytes, in hpre_ecc_sign_params_fill()
1234 uint8_t *gy = gx + msg->key_bytes; in hpre_ecc_verify_transfer_key() local
1235 uint8_t *pubx = gy + msg->key_bytes; in hpre_ecc_verify_transfer_key()
1239 ret = hpre_ecc_curve_to_hpre_bin(p, a, b, n, gx, gy, msg->curve_bytes, in hpre_ecc_verify_transfer_key()
1302 uint8_t *gy = gx + msg->key_bytes; in hpre_ecc_verify_params_fill() local
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_private.h308 int ecc_set_curve_from_mpis(void *a, void *b, void *prime, void *order, void *gx, void *gy, unsigne…
/optee_os/
H A DMAINTAINERS350 R: GY Hwang <gy.hwang@telechips.com> [@hwang-telechips]
/optee_os/lib/libmbedtls/mbedtls/library/
H A Decp_curves.c4561 const mbedtls_mpi_uint *gy, size_t gylen, in ecp_group_load() argument
4573 ecp_mpi_load(&grp->G.Y, gy, gylen); in ecp_group_load()
H A Decp_curves_new.c4529 const mbedtls_mpi_uint *gy, size_t gylen, in ecp_group_load() argument
4541 ecp_mpi_load(&grp->G.Y, gy, gylen); in ecp_group_load()