Home
last modified time | relevance | path

Searched refs:dsa_q (Results 1 – 6 of 6) sorted by relevance

/netbsd/crypto/external/bsd/openssh/dist/
H A Dssh-dss.c104 const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; in ssh_dss_serialize_public() local
108 DSA_get0_pqg(key->dsa, &dsa_p, &dsa_q, &dsa_g); in ssh_dss_serialize_public()
110 if (dsa_p == NULL || dsa_q == NULL || in ssh_dss_serialize_public()
114 (r = sshbuf_put_bignum2(b, dsa_q)) != 0 || in ssh_dss_serialize_public()
161 const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; in ssh_dss_copy_public() local
166 DSA_get0_pqg(from->dsa, &dsa_p, &dsa_q, &dsa_g); in ssh_dss_copy_public()
169 (dsa_q_dup = BN_dup(dsa_q)) == NULL || in ssh_dss_copy_public()
203 sshbuf_get_bignum2(b, &dsa_q) != 0 || in ssh_dss_deserialize_public()
209 if (!DSA_set0_pqg(key->dsa, dsa_p, dsa_q, dsa_g)) { in ssh_dss_deserialize_public()
213 dsa_p = dsa_q = dsa_g = NULL; /* transferred */ in ssh_dss_deserialize_public()
[all …]
H A Dssh-keygen.c471 BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL; in do_convert_private_ssh2() local
515 (dsa_q = BN_new()) == NULL || in do_convert_private_ssh2()
522 buffer_get_bignum_bits(b, dsa_q); in do_convert_private_ssh2()
525 if (!DSA_set0_pqg(key->dsa, dsa_p, dsa_q, dsa_g)) in do_convert_private_ssh2()
527 dsa_p = dsa_q = dsa_g = NULL; /* transferred */ in do_convert_private_ssh2()
/netbsd/crypto/external/bsd/openssl/dist/demos/pkey/
H A DEVP_PKEY_DSA_paramfromdata.c32 q = BN_bin2bn(dsa_q, sizeof(dsa_q), NULL); in main()
H A Ddsa.inc49 static const unsigned char dsa_q[] = {
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Devp_extra_test2.c839 static const unsigned char dsa_q[] = { variable
976 || !do_check_bn(to_params, OSSL_PKEY_PARAM_FFC_Q, dsa_q, sizeof(dsa_q)) in test_dsa_todata()
/netbsd/crypto/external/bsd/openssl/dist/providers/fips/
H A Dself_test_data.inc1469 static const unsigned char dsa_q[] = {
1552 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_FFC_Q, dsa_q),