Lines Matching defs:test_v2_kp
50 static struct dcrypt_keypair test_v2_kp;
136 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v2_kp.priv);
161 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v2_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
191 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1);
205 struct istream *is_2 = i_stream_create_decrypt(is, test_v2_kp.priv);
242 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1);
256 struct istream *is_2 = i_stream_create_decrypt(is, test_v2_kp.priv);
522 dcrypt_key_unref_private(&test_v2_kp.priv);
523 dcrypt_key_unref_public(&test_v2_kp.pub);
539 test_assert(dcrypt_key_load_private(&test_v2_kp.priv, key_v2_priv, NULL, NULL, NULL));
540 test_assert(dcrypt_key_load_public(&test_v2_kp.pub, key_v2_pub, NULL));