Lines Matching refs:TEST_SIZE
23 # define TEST_SIZE 128 macro
26 # if BIG_TEST_SIZE < TEST_SIZE
27 # error BIG_TEST_SIZE is smaller than TEST_SIZE
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()
238 return TEST_mem_eq(checktext, TEST_SIZE, plaintext, TEST_SIZE); in test_ige_enc_dec()
250 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, in test_ige_enc_chaining()
252 AES_ige_encrypt(plaintext + TEST_SIZE / 2, 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()
260 return TEST_mem_eq(checktext, TEST_SIZE, plaintext, TEST_SIZE); in test_ige_enc_chaining()
272 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, in test_ige_dec_chaining()
274 AES_ige_encrypt(plaintext + TEST_SIZE / 2, 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()
283 checktext + TEST_SIZE / 2, TEST_SIZE / 2, &key, iv, in test_ige_dec_chaining()
286 return TEST_mem_eq(checktext, TEST_SIZE, plaintext, TEST_SIZE); in test_ige_dec_chaining()
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()
345 return TEST_mem_eq(checktext, TEST_SIZE, plaintext, TEST_SIZE); in test_bi_ige_enc_dec()