Searched refs:grp_q (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/OpenSSH-189/openssh/
H A Dschnorr.h46 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 Dschnorr.c117 * 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
178 if ((h = schnorr_hash(grp_p, grp_q, grp_g, evp_md, g_v, g_x,
185 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) {
189 if (BN_mod_sub(r, v, tmp, grp_q, bn_ctx) == -1) {
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_q' and
258 schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, cons 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
583 schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const BIGNUM *x) argument
[all...]

Completed in 69 milliseconds