Searched refs:grp_p (Results 1 - 2 of 2) sorted by relevance
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | schnorr.h | 46 schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 50 schnorr_sign_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 54 schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 58 schnorr_verify_buf(const BIGNUM *grp_p, const BIGNUM *grp_q,
|
H A D | schnorr.c | 117 * in public exponent g^x, under group defined by 'grp_p', 'grp_q' and 'grp_g' 127 schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, argument 143 if (BN_cmp(g_x, grp_p) >= 0) { 164 if ((v = bn_rand_range_gt_one(grp_p)) == NULL) { 171 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) { 178 if ((h = schnorr_hash(grp_p, grp_q, grp_g, evp_md, g_v, g_x, 213 * in public exponent g^x, under group defined by 'grp_p', 'grp_q' and 'grp_g' 221 schnorr_sign_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, argument 228 if (schnorr_sign(grp_p, grp_q, grp_g, EVP_sha256(), 252 * public exponent g_x (g^x) under group defined by 'grp_p', 'grp_ 258 schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen, const BIGNUM *r, const BIGNUM *e) argument 359 schnorr_verify_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const BIGNUM *g_x, const u_char *id, u_int idlen, const u_char *sig, u_int siglen) argument 548 modp_group_from_g_and_safe_p(const char *grp_g, const char *grp_p) argument 583 schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const BIGNUM *x) argument [all...] |
Completed in 70 milliseconds