Lines Matching refs:pub
40 * [out] pub: on success, holds the public key, as two big-endian integers
45 int p256_gen_keypair(uint8_t priv[32], uint8_t pub[64]);
52 * [in] pub: the peer's public key, as two big-endian integers
56 * P256_INVALID_PUBKEY if pub is invalid
59 const uint8_t priv[32], const uint8_t pub[64]);
81 * [in] pub: the associated public key, as two big-endian integers
86 * P256_INVALID_PUBKEY if pub is invalid
89 int p256_ecdsa_verify(const uint8_t sig[64], const uint8_t pub[64],
99 * [in] pub: the public key, as two big-endian integers
102 * P256_INVALID_PUBKEY if pub is invalid
104 int p256_validate_pubkey(const uint8_t pub[64]);
123 * [out] pub: the associated public key, as two big-endian integers
129 int p256_public_from_private(uint8_t pub[64], const uint8_t priv[32]);