Home
last modified time | relevance | path

Searched refs:eck (Results 1 - 3 of 3) sorted by relevance

/third_party/mbedtls/library/
H A Dpk_ecc.c75 mbedtls_ecp_keypair *eck = mbedtls_pk_ec_rw(*pk); in mbedtls_pk_ecc_set_key()
76 int ret = mbedtls_ecp_read_key(eck->grp.id, eck, key, key_len); in mbedtls_pk_ecc_set_key()
106 mbedtls_ecp_keypair *eck = (mbedtls_ecp_keypair *) pk->pk_ctx; in mbedtls_pk_ecc_set_pubkey_from_prv()
108 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(eck->grp.id, &curve_bits); in mbedtls_pk_ecc_set_pubkey_from_prv()
132 return mbedtls_ecp_point_read_binary(&eck->grp, &eck->Q, pub, pub_len); in mbedtls_pk_ecc_set_pubkey_from_prv()
139 mbedtls_ecp_keypair *eck = (mbedtls_ecp_keypair *) pk->pk_ctx; in mbedtls_pk_ecc_set_pubkey_from_prv()
140 return mbedtls_ecp_mul(&eck->grp, &eck in mbedtls_pk_ecc_set_pubkey_from_prv()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c639 EC_KEY *eck = key; in common_get_params() local
647 ecg = EC_KEY_get0_group(eck); in common_get_params()
653 libctx = ossl_ec_key_get_libctx(eck); in common_get_params()
654 propq = ossl_ec_key_get0_propq(eck); in common_get_params()
662 && !OSSL_PARAM_set_int(p, ECDSA_size(eck))) in common_get_params()
708 int explicitparams = EC_KEY_decoded_from_explicit_params(eck); in common_get_params()
732 (EC_KEY_get_flags(eck) & EC_FLAG_COFACTOR_ECDH) ? 1 : 0; in common_get_params()
756 && key_to_params(eck, NULL, params, 1, &pub_key) in common_get_params()
757 && otherparams_to_params(eck, NULL, params); in common_get_params()
827 EC_KEY *eck in ec_set_params() local
899 const EC_KEY *eck = keydata; sm2_validate() local
938 const EC_KEY *eck = keydata; ec_validate() local
[all...]
/third_party/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c639 EC_KEY *eck = key; in common_get_params() local
647 ecg = EC_KEY_get0_group(eck); in common_get_params()
653 libctx = ossl_ec_key_get_libctx(eck); in common_get_params()
654 propq = ossl_ec_key_get0_propq(eck); in common_get_params()
662 && !OSSL_PARAM_set_int(p, ECDSA_size(eck))) in common_get_params()
708 int explicitparams = EC_KEY_decoded_from_explicit_params(eck); in common_get_params()
732 (EC_KEY_get_flags(eck) & EC_FLAG_COFACTOR_ECDH) ? 1 : 0; in common_get_params()
756 && key_to_params(eck, NULL, params, 1, &pub_key) in common_get_params()
757 && otherparams_to_params(eck, NULL, params); in common_get_params()
827 EC_KEY *eck in ec_set_params() local
899 const EC_KEY *eck = keydata; sm2_validate() local
938 const EC_KEY *eck = keydata; ec_validate() local
[all...]

Completed in 4 milliseconds