Lines Matching refs:ciphertext
20 // DES known ciphertext (64-bits).
25 uint8 ciphertext[8];
26 memset(ciphertext, 0xaf, sizeof(ciphertext));
28 DESEncrypt(des_known_key, des_ecb_known_plaintext, ciphertext);
29 EXPECT_EQ(0, memcmp(ciphertext, des_ecb_known_ciphertext, 8));
43 uint8 ciphertext[8];
44 memset(ciphertext, 0xaf, sizeof(ciphertext));
46 DESEncrypt(key, plaintext, ciphertext);
47 EXPECT_EQ(0, memcmp(ciphertext, known_ciphertext, 8));