Home
last modified time | relevance | path

Searched refs:in_pub (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/include/libecc/sig/
H A Deddsa.h122 ATTRIBUTE_WARN_UNUSED_RET int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen);
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c203 ATTRIBUTE_WARN_UNUSED_RET static int eddsa_pub_key_sanity_check(const ec_pub_key *in_pub) in eddsa_pub_key_sanity_check() argument
208 ret = pub_key_check_initialized(in_pub); EG(ret, err); in eddsa_pub_key_sanity_check()
209 ret = eddsa_key_type_check_curve(in_pub->key_type, in eddsa_pub_key_sanity_check()
210 in_pub->params->curve_type); in eddsa_pub_key_sanity_check()
973 int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen)
986 ret = pub_key_check_initialized(in_pub); EG(ret, err);
990 shortw_curve = &(in_pub->params->ec_curve);
991 alpha_montgomery = &(in_pub->params->ec_alpha_montgomery);
992 gamma_montgomery = &(in_pub->params->ec_gamma_montgomery);
993 alpha_edwards = &(in_pub->params->ec_alpha_edwards);
[all …]