Lines Matching defs:key_id
122 buffer_t *key_id = t_str_new(MAIL_CRYPT_HASH_BUF_SIZE);
123 if (!dcrypt_key_id_private(key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id,
126 const char *hash = binary_to_hex(key_id->data, key_id->used);
129 buffer_set_used_size(key_id, 0);
130 if (!dcrypt_key_id_private_old(key, key_id, error_r)) {
133 hash = binary_to_hex(key_id->data, key_id->used);
147 buffer_t *key_id = t_str_new(MAIL_CRYPT_HASH_BUF_SIZE);
148 if (!dcrypt_key_id_public(key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id,
151 const char *hash = binary_to_hex(key_id->data, key_id->used);
154 buffer_set_used_size(key_id, 0);
155 if (!dcrypt_key_id_public_old(key, key_id, error_r)) {
158 hash = binary_to_hex(key_id->data, key_id->used);
975 buffer_t *key_id = t_str_new(MAIL_CRYPT_HASH_BUF_SIZE);
976 if (!dcrypt_key_id_public(pair_r->pub, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id,
982 *pubid_r = binary_to_hex(key_id->data, key_id->used);
1119 buffer_t *key_id = t_str_new(MAIL_CRYPT_HASH_BUF_SIZE);
1126 key_id, error_r) ||
1128 binary_to_hex(key_id->data,
1129 key_id->used),