Home
last modified time | relevance | path

Searched refs:dh_gen_key (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/heimdal/kdc/
H A Dpkinit.c208 unsigned char *dh_gen_key = NULL; in generate_dh_keyblock() local
232 dh_gen_key = malloc(size); in generate_dh_keyblock()
233 if (dh_gen_key == NULL) { in generate_dh_keyblock()
239 dh_gen_keylen = DH_compute_key(dh_gen_key,client_params->u.dh.public_key, client_params->u.dh.key); in generate_dh_keyblock()
248 memmove(dh_gen_key + size, dh_gen_key, dh_gen_keylen); in generate_dh_keyblock()
249 memset(dh_gen_key, 0, size); in generate_dh_keyblock()
275 dh_gen_key = malloc(size); in generate_dh_keyblock()
276 if (dh_gen_key == NULL) { in generate_dh_keyblock()
283 dh_gen_keylen = ECDH_compute_key(dh_gen_key, size, in generate_dh_keyblock()
297 dh_gen_key, dh_gen_keylen, in generate_dh_keyblock()
[all …]
/freebsd/crypto/openssh/
H A Ddh.h46 int dh_gen_key(DH *, int);
H A Dkexdh.c69 return (dh_gen_key(kex->dh, kex->we_need * 8)); in kex_dh_keygen()
H A Dkexgexs.c116 if ((r = dh_gen_key(kex->dh, kex->we_need * 8)) != 0) in input_kex_dh_gex_request()
H A Dkexgexc.c121 if ((r = dh_gen_key(kex->dh, kex->we_need * 8)) != 0) in input_kex_dh_gex_group()
H A Ddh.c284 dh_gen_key(DH *dh, int need) in dh_gen_key() function
H A Dssh_namespace.h251 #define dh_gen_key Fssh_dh_gen_key macro
/freebsd/crypto/heimdal/lib/krb5/
H A Dpkinit.c1416 unsigned char *dh_gen_key = NULL; in pk_rd_pa_reply_dh() local
1526 dh_gen_key = malloc(size); in pk_rd_pa_reply_dh()
1527 if (dh_gen_key == NULL) { in pk_rd_pa_reply_dh()
1533 dh_gen_keylen = DH_compute_key(dh_gen_key, kdc_dh_pubkey, ctx->u.dh); in pk_rd_pa_reply_dh()
1543 memmove(dh_gen_key + size, dh_gen_key, dh_gen_keylen); in pk_rd_pa_reply_dh()
1544 memset(dh_gen_key, 0, size); in pk_rd_pa_reply_dh()
1574 dh_gen_key = malloc(size); in pk_rd_pa_reply_dh()
1575 if (dh_gen_key == NULL) { in pk_rd_pa_reply_dh()
1582 dh_gen_keylen = ECDH_compute_key(dh_gen_key, size, in pk_rd_pa_reply_dh()
1615 dh_gen_key, dh_gen_keylen, in pk_rd_pa_reply_dh()
[all …]