Searched refs:ephemeral_key (Results 1 - 2 of 2) sorted by relevance
/dovecot/src/lib-dcrypt/ |
H A D | ostream-encrypt.c | 135 buffer_t *encrypted_key, *ephemeral_key, *secret, *res, buf; local 159 ephemeral_key = t_buffer_create(256); 163 if (!dcrypt_ecdh_derive_secret_peer(stream->pub, ephemeral_key, secret, &error)) { 220 s = htons(ephemeral_key->used); 222 buffer_append(res, ephemeral_key->data, ephemeral_key->used); 248 buffer_t *encrypted_key, *ephemeral_key, *temp_key; local 250 ephemeral_key = t_buffer_create(256); 267 if (!dcrypt_ecdh_derive_secret_peer(pubkey, ephemeral_key, secret, &error)) { 273 if (!dcrypt_pbkdf2(secret->data, secret->used, ephemeral_key [all...] |
H A D | istream-decrypt.c | 70 buffer_t ephemeral_key; local 96 buffer_create_from_const_data(&ephemeral_key, data, len); 161 if (!dcrypt_ecdh_derive_secret_local(stream->priv_key, &ephemeral_key, secret, &error)) { 349 const unsigned char *ephemeral_key; local 359 ephemeral_key = data; 385 buffer_create_from_const_data(&peer_key, ephemeral_key, ep_key_len); 413 /* we use ephemeral_key for IV */
|
Completed in 14 milliseconds