| /src/crypto/external/bsd/openssl.old/dist/crypto/dsa/ |
| dsa_key.c | 29 BIGNUM *pub_key = NULL, *priv_key = NULL; local 45 if (dsa->pub_key == NULL) { 46 if ((pub_key = BN_new()) == NULL) 49 pub_key = dsa->pub_key; 58 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx)) { 67 dsa->pub_key = pub_key; 71 if (pub_key != dsa->pub_key) [all...] |
| dsa_key.c | 29 BIGNUM *pub_key = NULL, *priv_key = NULL; local 45 if (dsa->pub_key == NULL) { 46 if ((pub_key = BN_new()) == NULL) 49 pub_key = dsa->pub_key; 58 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx)) { 67 dsa->pub_key = pub_key; 71 if (pub_key != dsa->pub_key) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/dsa/ |
| dsa_check.c | 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) 71 return ossl_ffc_validate_public_key(&dsa->params, pub_key, ret) 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) 85 return ossl_ffc_validate_public_key_partial(&dsa->params, pub_key, ret) 107 BIGNUM *pub_key = NULL; local 114 || dsa->pub_key == NULL) 120 pub_key = BN_new(); 121 if (pub_key == NULL) 125 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key)) 128 ret = BN_cmp(pub_key, dsa->pub_key) == 0 [all...] |
| dsa_check.c | 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) 71 return ossl_ffc_validate_public_key(&dsa->params, pub_key, ret) 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) 85 return ossl_ffc_validate_public_key_partial(&dsa->params, pub_key, ret) 107 BIGNUM *pub_key = NULL; local 114 || dsa->pub_key == NULL) 120 pub_key = BN_new(); 121 if (pub_key == NULL) 125 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key)) 128 ret = BN_cmp(pub_key, dsa->pub_key) == 0 [all...] |
| dsa_backend.c | 34 BIGNUM *priv_key = NULL, *pub_key = NULL; local 48 if (param_pub_key != NULL && !OSSL_PARAM_get_BN(param_pub_key, &pub_key)) 53 if (!DSA_set0_key(dsa, pub_key, priv_key)) 60 BN_free(pub_key); 99 || !dsa_bn_dup_check(&dupkey->pub_key, dsa->pub_key)))
|
| /src/crypto/external/apache2/openssl/dist/util/perl/TLSProxy/ |
| ServerKeyExchange.pm | 43 $self->{pub_key} = ""; 73 my $pub_key = substr($self->data, $ptr, $pub_key_len); 96 $self->pub_key($pub_key); 112 $data .= pack('n', length($self->pub_key)); 113 $data .= $self->pub_key; 141 sub pub_key subroutine 145 $self->{pub_key} = shift; 147 return $self->{pub_key};
|
| ServerKeyExchange.pm | 43 $self->{pub_key} = ""; 73 my $pub_key = substr($self->data, $ptr, $pub_key_len); 96 $self->pub_key($pub_key); 112 $data .= pack('n', length($self->pub_key)); 113 $data .= $self->pub_key; 141 sub pub_key subroutine 145 $self->{pub_key} = shift; 147 return $self->{pub_key};
|
| /src/crypto/external/bsd/openssl/dist/crypto/dsa/ |
| dsa_check.c | 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) 71 return ossl_ffc_validate_public_key(&dsa->params, pub_key, ret) 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) 85 return ossl_ffc_validate_public_key_partial(&dsa->params, pub_key, ret) 107 BIGNUM *pub_key = NULL; local 114 || dsa->pub_key == NULL) 120 pub_key = BN_new(); 121 if (pub_key == NULL) 125 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key)) 128 ret = BN_cmp(pub_key, dsa->pub_key) == 0 [all...] |
| dsa_check.c | 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) 71 return ossl_ffc_validate_public_key(&dsa->params, pub_key, ret) 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) 85 return ossl_ffc_validate_public_key_partial(&dsa->params, pub_key, ret) 107 BIGNUM *pub_key = NULL; local 114 || dsa->pub_key == NULL) 120 pub_key = BN_new(); 121 if (pub_key == NULL) 125 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key)) 128 ret = BN_cmp(pub_key, dsa->pub_key) == 0 [all...] |
| dsa_key.c | 44 const BIGNUM *priv_key, BIGNUM *pub_key) 53 /* pub_key = g ^ priv_key mod p */ 54 if (!BN_mod_exp(pub_key, dsa->params.g, prk, dsa->params.p, ctx)) 66 BIGNUM *pub_key = NULL, *priv_key = NULL; local 93 if (dsa->pub_key == NULL) { 94 if ((pub_key = BN_new()) == NULL) 97 pub_key = dsa->pub_key; 100 if (!ossl_dsa_generate_public_key(ctx, dsa, priv_key, pub_key)) 104 dsa->pub_key = pub_key [all...] |
| dsa_key.c | 44 const BIGNUM *priv_key, BIGNUM *pub_key) 53 /* pub_key = g ^ priv_key mod p */ 54 if (!BN_mod_exp(pub_key, dsa->params.g, prk, dsa->params.p, ctx)) 66 BIGNUM *pub_key = NULL, *priv_key = NULL; local 93 if (dsa->pub_key == NULL) { 94 if ((pub_key = BN_new()) == NULL) 97 pub_key = dsa->pub_key; 100 if (!ossl_dsa_generate_public_key(ctx, dsa, priv_key, pub_key)) 104 dsa->pub_key = pub_key [all...] |
| /src/crypto/external/bsd/openssl/dist/util/perl/TLSProxy/ |
| ServerKeyExchange.pm | 35 $self->{pub_key} = ""; 65 my $pub_key = substr($self->data, $ptr, $pub_key_len); 88 $self->pub_key($pub_key); 104 $data .= pack('n', length($self->pub_key)); 105 $data .= $self->pub_key; 133 sub pub_key subroutine 137 $self->{pub_key} = shift; 139 return $self->{pub_key};
|
| ServerKeyExchange.pm | 35 $self->{pub_key} = ""; 65 my $pub_key = substr($self->data, $ptr, $pub_key_len); 88 $self->pub_key($pub_key); 104 $data .= pack('n', length($self->pub_key)); 105 $data .= $self->pub_key; 133 sub pub_key subroutine 137 $self->{pub_key} = shift; 139 return $self->{pub_key};
|
| /src/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/ |
| ServerKeyExchange.pm | 35 $self->{pub_key} = ""; 65 my $pub_key = substr($self->data, $ptr, $pub_key_len); 88 $self->pub_key($pub_key); 104 $data .= pack('n', length($self->pub_key)); 105 $data .= $self->pub_key; 133 sub pub_key subroutine 137 $self->{pub_key} = shift; 139 return $self->{pub_key};
|
| ServerKeyExchange.pm | 35 $self->{pub_key} = ""; 65 my $pub_key = substr($self->data, $ptr, $pub_key_len); 88 $self->pub_key($pub_key); 104 $data .= pack('n', length($self->pub_key)); 105 $data .= $self->pub_key; 133 sub pub_key subroutine 137 $self->{pub_key} = shift; 139 return $self->{pub_key};
|
| /src/crypto/external/bsd/openssh/dist/ |
| kexdh.c | 117 const BIGNUM *pub_key; local 123 DH_get0_key(kex->dh, &pub_key, NULL); 126 if ((r = sshbuf_put_bignum2(buf, pub_key)) != 0 || 132 BN_print_fp(stderr, pub_key); 146 const BIGNUM *pub_key; local 155 DH_get0_key(kex->dh, &pub_key, NULL); 160 if ((r = sshbuf_put_bignum2(server_blob, pub_key)) != 0 ||
|
| kexecdh.c | 97 const EC_POINT *pub_key; local 119 pub_key = EC_KEY_get0_public_key(server_key); 124 if ((r = sshbuf_put_ec(server_blob, pub_key, group)) != 0 ||
|
| kexdh.c | 117 const BIGNUM *pub_key; local 123 DH_get0_key(kex->dh, &pub_key, NULL); 126 if ((r = sshbuf_put_bignum2(buf, pub_key)) != 0 || 132 BN_print_fp(stderr, pub_key); 146 const BIGNUM *pub_key; local 155 DH_get0_key(kex->dh, &pub_key, NULL); 160 if ((r = sshbuf_put_bignum2(server_blob, pub_key)) != 0 ||
|
| kexecdh.c | 97 const EC_POINT *pub_key; local 119 pub_key = EC_KEY_get0_public_key(server_key); 124 if ((r = sshbuf_put_ec(server_blob, pub_key, group)) != 0 ||
|
| kexgexs.c | 130 const BIGNUM *pub_key, *dh_p, *dh_g; local 164 DH_get0_key(kex->dh, &pub_key, NULL); 177 pub_key, 190 (r = sshpkt_put_bignum2(ssh, pub_key)) != 0 || /* f */
|
| kexgexs.c | 130 const BIGNUM *pub_key, *dh_p, *dh_g; local 164 DH_get0_key(kex->dh, &pub_key, NULL); 177 pub_key, 190 (r = sshpkt_put_bignum2(ssh, pub_key)) != 0 || /* f */
|
| /src/crypto/external/bsd/openssl/dist/crypto/dh/ |
| dh_check.c | 230 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) 234 if (!DH_check_pub_key(dh, pub_key, &errflags)) 250 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) 264 return ossl_ffc_validate_public_key(&dh->params, pub_key, ret); 272 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) 274 return ossl_ffc_validate_public_key_partial(&dh->params, pub_key, ret) 336 BIGNUM *pub_key = NULL; local 341 || dh->pub_key == NULL) 347 pub_key = BN_new(); 348 if (pub_key == NULL [all...] |
| dh_check.c | 230 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) 234 if (!DH_check_pub_key(dh, pub_key, &errflags)) 250 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) 264 return ossl_ffc_validate_public_key(&dh->params, pub_key, ret); 272 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) 274 return ossl_ffc_validate_public_key_partial(&dh->params, pub_key, ret) 336 BIGNUM *pub_key = NULL; local 341 || dh->pub_key == NULL) 347 pub_key = BN_new(); 348 if (pub_key == NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/dh/ |
| dh_check.c | 231 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) 235 if (!DH_check_pub_key(dh, pub_key, &errflags)) 251 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) 265 return ossl_ffc_validate_public_key(&dh->params, pub_key, ret); 273 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) 275 return ossl_ffc_validate_public_key_partial(&dh->params, pub_key, ret) 337 BIGNUM *pub_key = NULL; local 345 || dh->pub_key == NULL) 358 pub_key = BN_new(); 359 if (pub_key == NULL [all...] |
| dh_local.h | 26 BIGNUM *pub_key; /* g^x % p */ member in struct:dh_st 47 int (*compute_key)(unsigned char *key, const BIGNUM *pub_key, DH *dh);
|