Searched refs:dsa_q (Results 1 – 6 of 6) sorted by relevance
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | ssh-dss.c | 104 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 D | ssh-keygen.c | 471 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 D | EVP_PKEY_DSA_paramfromdata.c | 32 q = BN_bin2bn(dsa_q, sizeof(dsa_q), NULL); in main()
|
H A D | dsa.inc | 49 static const unsigned char dsa_q[] = {
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | evp_extra_test2.c | 839 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 D | self_test_data.inc | 1469 static const unsigned char dsa_q[] = { 1552 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_FFC_Q, dsa_q),
|