Searched refs:pk (Results 1 – 2 of 2) sorted by relevance
| /crypto/ |
| A D | ecc.c | 1570 struct ecc_point *pk; in ecc_make_pub_key() local 1579 if (!pk) { in ecc_make_pub_key() 1596 ecc_free_point(pk); in ecc_make_pub_key() 1604 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument 1612 if (ecc_point_is_zero(pk)) in ecc_is_pubkey_valid_partial() 1616 if (vli_cmp(curve->p, pk->x, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial() 1618 if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial() 1637 struct ecc_point *pk) in ecc_is_pubkey_valid_full() argument 1652 ecc_point_mult(nQ, pk, curve->n, NULL, curve, pk->ndigits); in ecc_is_pubkey_valid_full() 1682 if (!pk) { in crypto_ecdh_shared_secret() [all …]
|
| /crypto/asymmetric_keys/ |
| A D | public_key.c | 445 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local 446 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
|
Completed in 8 milliseconds