Home
last modified time | relevance | path

Searched refs:dh_gen_keylen (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/heimdal/lib/krb5/
H A Dpkinit.c1423 int dh_gen_keylen = 0; in pk_rd_pa_reply_dh() local
1533 dh_gen_keylen = DH_compute_key(dh_gen_key, kdc_dh_pubkey, ctx->u.dh); in pk_rd_pa_reply_dh()
1534 if (dh_gen_keylen == -1) { in pk_rd_pa_reply_dh()
1536 dh_gen_keylen = 0; in pk_rd_pa_reply_dh()
1541 if (dh_gen_keylen < (int)size) { in pk_rd_pa_reply_dh()
1542 size -= dh_gen_keylen; in pk_rd_pa_reply_dh()
1543 memmove(dh_gen_key + size, dh_gen_key, dh_gen_keylen); in pk_rd_pa_reply_dh()
1582 dh_gen_keylen = ECDH_compute_key(dh_gen_key, size, in pk_rd_pa_reply_dh()
1585 if (dh_gen_keylen == -1) { in pk_rd_pa_reply_dh()
1587 dh_gen_keylen = 0; in pk_rd_pa_reply_dh()
[all …]
/freebsd/crypto/heimdal/kdc/
H A Dpkinit.c211 size_t dh_gen_keylen, size; in generate_dh_keyblock() local
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()
240 if (dh_gen_keylen == (size_t)-1) { in generate_dh_keyblock()
246 if (dh_gen_keylen < size) { in generate_dh_keyblock()
247 size -= dh_gen_keylen; in generate_dh_keyblock()
248 memmove(dh_gen_key + size, dh_gen_key, dh_gen_keylen); 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()