Home
last modified time | relevance | path

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

/crypto/
Decc.c1389 struct ecc_point *pk; in ecc_make_pub_key() local
1400 pk = ecc_alloc_point(ndigits); in ecc_make_pub_key()
1401 if (!pk) { in ecc_make_pub_key()
1406 ecc_point_mult(pk, &curve->g, priv, NULL, curve, ndigits); in ecc_make_pub_key()
1409 if (ecc_is_pubkey_valid_full(curve, pk)) { in ecc_make_pub_key()
1414 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key()
1415 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key()
1418 ecc_free_point(pk); in ecc_make_pub_key()
1426 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument
1430 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in ecc_is_pubkey_valid_partial()
[all …]
Decc.h148 struct ecc_point *pk);
162 struct ecc_point *pk);
/crypto/asymmetric_keys/
Dpublic_key.c400 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local
401 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()