Lines Matching defs:test_v1_kp
49 static struct dcrypt_keypair test_v1_kp;
66 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v1_kp.priv);
101 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v1_kp.priv);
290 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v1_kp.pub, IO_STREAM_ENC_VERSION_1);
300 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
335 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
349 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
388 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
398 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
433 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
443 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
520 dcrypt_key_unref_private(&test_v1_kp.priv);
521 dcrypt_key_unref_public(&test_v1_kp.pub);
537 test_assert(dcrypt_key_load_private(&test_v1_kp.priv, key_v1_priv, NULL, NULL, NULL));
538 test_assert(dcrypt_key_load_public(&test_v1_kp.pub, key_v1_pub, NULL));