Searched refs:dsa_g (Results 1 – 11 of 11) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | ssh-dss.c | 109 const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; in ssh_dss_serialize_public() local 113 DSA_get0_pqg(key->dsa, &dsa_p, &dsa_q, &dsa_g); in ssh_dss_serialize_public() 116 dsa_g == NULL || dsa_pub_key == NULL) in ssh_dss_serialize_public() 120 (r = sshbuf_put_bignum2(b, dsa_g)) != 0 || in ssh_dss_serialize_public() 166 const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; in ssh_dss_copy_public() local 171 DSA_get0_pqg(from->dsa, &dsa_p, &dsa_q, &dsa_g); in ssh_dss_copy_public() 175 (dsa_g_dup = BN_dup(dsa_g)) == NULL || in ssh_dss_copy_public() 205 BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL, *dsa_pub_key = NULL; in ssh_dss_deserialize_public() local 209 sshbuf_get_bignum2(b, &dsa_g) != 0 || in ssh_dss_deserialize_public() 214 if (!DSA_set0_pqg(key->dsa, dsa_p, dsa_q, dsa_g)) { in ssh_dss_deserialize_public() [all …]
|
H A D | ssh-keygen.c | 488 BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL; in do_convert_private_ssh2() local 537 (dsa_g = BN_new()) == NULL || in do_convert_private_ssh2() 542 buffer_get_bignum_bits(b, dsa_g); in do_convert_private_ssh2() 546 if (!DSA_set0_pqg(key->dsa, dsa_p, dsa_q, dsa_g)) in do_convert_private_ssh2() 548 dsa_p = dsa_q = dsa_g = NULL; /* transferred */ in do_convert_private_ssh2()
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_backend.c | 133 const BIGNUM *dsa_p, *dsa_g; in ossl_dsa_key_from_pkcs8() local 170 dsa_g = DSA_get0_g(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()
|
/freebsd/crypto/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramfromdata.c | 33 g = BN_bin2bn(dsa_g, sizeof(dsa_g), NULL); in main()
|
H A D | dsa.inc | 56 static const unsigned char dsa_g[] = {
|
/freebsd/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.h | 22 const BIGNUM *dsa_g(struct sshkey *k);
|
H A D | common.c | 131 dsa_g(struct sshkey *k) in dsa_g() function
|
H A D | test_sshkey.c | 286 ASSERT_PTR_NE(dsa_g(kd), NULL); in sshkey_tests() 334 ASSERT_PTR_NE(dsa_g(k1), NULL); in sshkey_tests()
|
H A D | test_file.c | 177 ASSERT_BIGNUM_EQ(dsa_g(k1), a); in sshkey_file_tests()
|
/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test2.c | 843 static const unsigned char dsa_g[] = { variable 977 || !do_check_bn(to_params, OSSL_PKEY_PARAM_FFC_G, dsa_g, sizeof(dsa_g)) in test_dsa_todata()
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_data.inc | 1475 static const unsigned char dsa_g[] = { 1553 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_FFC_G, dsa_g),
|