Searched refs:enc_key (Results 1 - 5 of 5) sorted by relevance
/dovecot/src/plugins/mail-crypt/ |
H A D | mail-crypt-key.c | 410 struct dcrypt_public_key *enc_key, 416 i_assert(user_key || shared || enc_key != NULL); 428 if (enc_key != NULL) { 438 pw, enc_key, error_r)) { 473 struct dcrypt_public_key *enc_key = NULL; local 481 dcrypt_key_convert_private_to_public(env_key, &enc_key); 503 if ((ret = mail_crypt_set_private_key(t, TRUE, FALSE, pubid, enc_key, key, 408 mail_crypt_set_private_key(struct mailbox_transaction_context *t, bool user_key, bool shared, const char *pubid, struct dcrypt_public_key *enc_key, struct dcrypt_private_key *key, const char **error_r) argument
|
/dovecot/src/lib-dcrypt/ |
H A D | dcrypt-private.h | 72 const char *password, struct dcrypt_public_key *enc_key, const char **error_r);
|
H A D | dcrypt-openssl.c | 1381 struct dcrypt_public_key *enc_key, buffer_t *destination, const char **error_r) 1404 if (EVP_PKEY_base_id(enc_key->key) == EVP_PKEY_RSA) { 1410 if (!dcrypt_rsa_encrypt(enc_key, secret->data, secret->used, peer_key, error_r)) { 1413 } else if (EVP_PKEY_base_id(enc_key->key) == EVP_PKEY_EC) { 1415 if (!dcrypt_openssl_ecdh_derive_secret_peer(enc_key, peer_key, secret, error_r)) { 1443 if (!dcrypt_openssl_public_key_id(enc_key, "sha256", peer_key, error_r)) 1452 const char *password, struct dcrypt_public_key *enc_key, const char **error_r) 1502 i_assert(enc_key != NULL); 1507 i_assert(enc_key == NULL); 1512 i_assert(enc_key 1380 dcrypt_openssl_encrypt_private_key_dovecot(buffer_t *key, int enctype, const char *cipher, const char *password, struct dcrypt_public_key *enc_key, buffer_t *destination, const char **error_r) argument 1451 dcrypt_openssl_store_private_key_dovecot(struct dcrypt_private_key *key, const char *cipher, buffer_t *destination, const char *password, struct dcrypt_public_key *enc_key, const char **error_r) argument 1695 dcrypt_openssl_store_private_key(struct dcrypt_private_key *key, enum dcrypt_key_format format, const char *cipher, buffer_t *destination, const char *password, struct dcrypt_public_key *enc_key, const char **error_r) argument [all...] |
H A D | dcrypt.c | 250 const char *password, struct dcrypt_public_key *enc_key, const char **error_r) 253 return dcrypt_vfs->store_private_key(key, format, cipher, destination, password, enc_key, error_r); 249 dcrypt_key_store_private(struct dcrypt_private_key *key, enum dcrypt_key_format format, const char *cipher, buffer_t *destination, const char *password, struct dcrypt_public_key *enc_key, const char **error_r) argument
|
H A D | dcrypt.h | 189 buffer_t *destination, const char *password, struct dcrypt_public_key *enc_key, const char **error_r);
|
Completed in 33 milliseconds