Searched refs:privkey (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/plugins/mail-crypt/
H A Dtest-mail-key.c304 struct dcrypt_private_key *privkey = NULL, *user_key = NULL; local
383 test_assert(dcrypt_key_load_private(&privkey, value, NULL, user_key,
387 test_assert(mail_crypt_private_key_id_match(privkey, test_box_key_id,
389 dcrypt_key_unref_private(&privkey);
402 struct dcrypt_private_key *privkey = NULL; local
426 &privkey, &error) > 0);
433 test_assert(privkey != NULL);
435 if (privkey != NULL) {
437 test_assert(dcrypt_key_id_private_old(privkey, key_id, &error));
439 dcrypt_key_unref_private(&privkey);
[all...]
H A Dmail-crypt-key.h87 struct dcrypt_private_key *privkey,
H A Dmail-crypt-key.c58 struct dcrypt_private_key *privkey,
65 if (privkey != NULL) {
67 ent->pair.priv = privkey;
85 ent->pair.priv = privkey;
792 struct dcrypt_private_key *privkey,
796 if (mail_crypt_user_set_private_key(user, pubid, privkey, error_r) < 0)
806 struct dcrypt_private_key *privkey,
811 if (mail_crypt_box_set_private_key(box, pubid, privkey, user_key,
872 struct dcrypt_private_key *privkey,
901 if (!dcrypt_key_store_private(privkey, DCRYPT_FORMAT_DOVECO
56 mail_crypt_put_key_cache(struct mail_crypt_key_cache_entry **cache, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *pubkey) argument
790 mail_crypt_user_set_keys(struct mail_user *user, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *pubkey, const char **error_r) argument
804 mail_crypt_box_set_keys(struct mailbox *box, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *user_key, struct dcrypt_public_key *pubkey, const char **error_r) argument
870 mail_crypt_box_set_shared_key(struct mailbox_transaction_context *t, const char *pubid, struct dcrypt_private_key *privkey, const char *target_uid, struct dcrypt_public_key *user_key, const char **error_r) argument
[all...]

Completed in 863 milliseconds