Lines Matching refs:ciphertext
227 unsigned char ciphertext[BIG_TEST_SIZE]; in test_ige_enc_dec() local
232 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, AES_ENCRYPT); in test_ige_enc_dec()
236 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT); in test_ige_enc_dec()
245 unsigned char ciphertext[BIG_TEST_SIZE]; in test_ige_enc_chaining() local
250 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, in test_ige_enc_chaining()
253 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2, in test_ige_enc_chaining()
258 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT); in test_ige_enc_chaining()
267 unsigned char ciphertext[BIG_TEST_SIZE]; in test_ige_dec_chaining() local
272 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, in test_ige_dec_chaining()
275 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2, in test_ige_dec_chaining()
280 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE / 2, &key, iv, in test_ige_dec_chaining()
282 AES_ige_encrypt(ciphertext + TEST_SIZE / 2, in test_ige_dec_chaining()
293 unsigned char ciphertext[BIG_TEST_SIZE]; in test_ige_garble_forwards() local
302 AES_ige_encrypt(plaintext, ciphertext, sizeof(plaintext), &key, iv, in test_ige_garble_forwards()
306 ++ciphertext[sizeof(ciphertext) / 2]; in test_ige_garble_forwards()
309 AES_ige_encrypt(ciphertext, checktext, sizeof(checktext), &key, iv, in test_ige_garble_forwards()
331 unsigned char ciphertext[BIG_TEST_SIZE]; in test_bi_ige_enc_dec() local
337 AES_bi_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, &key2, iv, in test_bi_ige_enc_dec()
342 AES_bi_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, &key2, iv, in test_bi_ige_enc_dec()
352 unsigned char ciphertext[BIG_TEST_SIZE]; in test_bi_ige_garble1() local
360 AES_ige_encrypt(plaintext, ciphertext, sizeof(plaintext), &key, iv, in test_bi_ige_garble1()
364 ++ciphertext[sizeof(ciphertext) / 2]; in test_bi_ige_garble1()
367 AES_ige_encrypt(ciphertext, checktext, sizeof(checktext), &key, iv, in test_bi_ige_garble1()
383 unsigned char ciphertext[BIG_TEST_SIZE]; in test_bi_ige_garble2() local
391 AES_ige_encrypt(plaintext, ciphertext, sizeof(plaintext), &key, iv, in test_bi_ige_garble2()
395 ++ciphertext[sizeof(ciphertext) - 1]; in test_bi_ige_garble2()
398 AES_ige_encrypt(ciphertext, checktext, sizeof(checktext), &key, iv, in test_bi_ige_garble2()
414 unsigned char ciphertext[BIG_TEST_SIZE]; in test_bi_ige_garble3() local
422 AES_ige_encrypt(plaintext, ciphertext, sizeof(plaintext), &key, iv, in test_bi_ige_garble3()
426 ++ciphertext[0]; in test_bi_ige_garble3()
429 AES_ige_encrypt(ciphertext, checktext, sizeof(checktext), &key, iv, in test_bi_ige_garble3()