Lines Matching refs:ciphertext1
1867 string ciphertext1 = EncryptMessage(string(message), KM_PAD_NONE); in TEST_P() local
1868 EXPECT_EQ(256U / 8, ciphertext1.size()); in TEST_P()
1874 EXPECT_EQ(ciphertext1, ciphertext2); in TEST_P()
1966 string ciphertext1 = EncryptMessage(string(message), KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local
1967 EXPECT_EQ(key_size / 8, ciphertext1.size()); in TEST_P()
1973 EXPECT_NE(ciphertext1, ciphertext2); in TEST_P()
1987 string ciphertext1 = EncryptMessage(string(message), KM_DIGEST_SHA_2_224, KM_PAD_RSA_OAEP); in TEST_P() local
1988 EXPECT_EQ(key_size / 8, ciphertext1.size()); in TEST_P()
1994 EXPECT_NE(ciphertext1, ciphertext2); in TEST_P()
2152 string ciphertext1 = EncryptMessage(message, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() local
2153 EXPECT_EQ(512U / 8, ciphertext1.size()); in TEST_P()
2159 EXPECT_NE(ciphertext1, ciphertext2); in TEST_P()
2300 string ciphertext1 = EncryptMessage(message, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() local
2301 EXPECT_EQ(message.size(), ciphertext1.size()); in TEST_P()
2307 EXPECT_EQ(ciphertext1, ciphertext2); in TEST_P()
2309 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); in TEST_P()
2416 string ciphertext1 = EncryptMessage(message, KM_MODE_CTR, KM_PAD_NONE, &iv1); in TEST_P() local
2417 EXPECT_EQ(message.size(), ciphertext1.size()); in TEST_P()
2427 EXPECT_NE(ciphertext1, ciphertext2); in TEST_P()
2429 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CTR, KM_PAD_NONE, iv1); in TEST_P()
2563 string ciphertext1 = EncryptMessage(message, KM_MODE_CBC, KM_PAD_NONE, &iv1); in TEST_P() local
2564 EXPECT_EQ(message.size(), ciphertext1.size()); in TEST_P()
2572 EXPECT_NE(ciphertext1, ciphertext2); in TEST_P()
2574 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); in TEST_P()
2589 string ciphertext1 = EncryptMessage(message, KM_MODE_CBC, KM_PAD_NONE, &iv1); in TEST_P() local
2590 EXPECT_EQ(message.size(), ciphertext1.size()); in TEST_P()
2593 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); in TEST_P()
2632 string ciphertext1 = EncryptMessage(message, KM_MODE_CBC, KM_PAD_NONE, &iv1); in TEST_P() local
2633 EXPECT_EQ(message.size(), ciphertext1.size()); in TEST_P()
2636 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); in TEST_P()
3187 string ciphertext1 = EncryptMessage(message, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() local
3208 string ciphertext1 = EncryptMessage(message, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() local