Lines Matching defs:key_id
52 buffer_t *key_id = t_buffer_create(128);
77 buffer_set_used_size(key_id, 0);
78 test_assert(dcrypt_key_id_public(keys.public_key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id, &error) == TRUE);
79 test_assert(strcmp(binary_to_hex(key_id->data, key_id->used), pubid1) == 0);
84 buffer_set_used_size(key_id, 0);
85 test_assert(dcrypt_key_id_private(key->key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id, &error) == TRUE);
86 test_assert(strcmp(binary_to_hex(key_id->data, key_id->used), pubid1) == 0);
89 buffer_set_used_size(key_id, 0);
90 test_assert(dcrypt_key_id_private(key->key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id, &error) == TRUE);
91 test_assert(strcmp(binary_to_hex(key_id->data, key_id->used), pubid2) == 0);