Searched refs:pk (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ecc.c | 1389 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() 1407 if (ecc_point_is_zero(pk)) { in ecc_make_pub_key() 1412 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1413 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1416 ecc_free_point(pk); in ecc_make_pub_key() 1424 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument 1428 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in ecc_is_pubkey_valid_partial() [all …]
|
D | ecc.h | 148 struct ecc_point *pk);
|
/crypto/asymmetric_keys/ |
D | public_key.c | 328 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local 329 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
|