Searched refs:dsa_p (Results 1 – 7 of 7) sorted by relevance
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | ssh-dss.c | 48 const BIGNUM *dsa_p; in ssh_dss_size() local 52 DSA_get0_pqg(key->dsa, &dsa_p, NULL, NULL); in ssh_dss_size() 53 return BN_num_bits(dsa_p); in ssh_dss_size() 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() 113 if ((r = sshbuf_put_bignum2(b, dsa_p)) != 0 || in ssh_dss_serialize_public() 166 DSA_get0_pqg(from->dsa, &dsa_p, &dsa_q, &dsa_g); in ssh_dss_copy_public() 168 if ((dsa_p_dup = BN_dup(dsa_p)) == NULL || in ssh_dss_copy_public() 202 if (sshbuf_get_bignum2(b, &dsa_p) != 0 || 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 514 if ((dsa_p = BN_new()) == NULL || in do_convert_private_ssh2() 520 buffer_get_bignum_bits(b, dsa_p); 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/crypto/dsa/ |
H A D | dsa_backend.c | 133 const BIGNUM *dsa_p, *dsa_g; in ossl_dsa_key_from_pkcs8() local 169 dsa_p = DSA_get0_p(dsa); in ossl_dsa_key_from_pkcs8() 172 if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) { in ossl_dsa_key_from_pkcs8()
|
/netbsd/crypto/external/bsd/openssl/dist/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramfromdata.c | 31 p = BN_bin2bn(dsa_p, sizeof(dsa_p), NULL); in main()
|
H A D | dsa.inc | 14 static const unsigned char dsa_p[] = {
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | evp_extra_test2.c | 819 static const unsigned char dsa_p[] = { variable 975 || !do_check_bn(to_params, OSSL_PKEY_PARAM_FFC_P, dsa_p, sizeof(dsa_p)) in test_dsa_todata()
|
/netbsd/crypto/external/bsd/openssl/dist/providers/fips/ |
H A D | self_test_data.inc | 1435 static const unsigned char dsa_p[] = { 1551 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_FFC_P, dsa_p),
|