OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dh_pub
(Results
1 - 4
of
4
) sorted by null
/external/dropbear/
kex.h
36
void gen_kexdh_vals(mp_int *
dh_pub
, mp_int *dh_priv);
common-kex.c
473
/*
dh_pub
and dh_priv MUST be already initialised */
474
void gen_kexdh_vals(mp_int *
dh_pub
, mp_int *dh_priv) {
504
if (mp_exptmod(&dh_g, dh_priv, &dh_p,
dh_pub
) != MP_OKAY) {
/external/openssh/
dh.c
193
dh_pub_is_valid(DH *dh, BIGNUM *
dh_pub
)
196
int n = BN_num_bits(
dh_pub
);
200
if (
dh_pub
->neg) {
204
if (BN_cmp(
dh_pub
, BN_value_one()) != 1) { /* pub_exp <= 1 */
214
BN_cmp(
dh_pub
, tmp) != -1) { /* pub_exp > p-2 */
222
if (BN_is_bit_set(
dh_pub
, i))
226
/* if g==2 and bits_set==1 then computing log_g(
dh_pub
) is trivial */
/external/ipsec-tools/src/racoon/
crypto_openssl.c
2480
BIGNUM *
dh_pub
= NULL;
local
[
all
...]
Completed in 78 milliseconds