Lines Matching refs:size
28 size_t size; member
189 size_t len = aes_cts128_vectors[num].size; in execute_cts128()
196 size_t tail, size; in execute_cts128() local
213 size = fixture->decrypt_block(ciphertext, cleartext, len, in execute_cts128()
216 if (!TEST_true(len == size || len + 16 == size) in execute_cts128()
858 if (A.size == 1) in test_gcm128()
860 if (P.size == 1) in test_gcm128()
862 if (C.size == 1) in test_gcm128()
865 AES_set_encrypt_key(K.data, K.size * 8, &key); in test_gcm128()
868 CRYPTO_gcm128_setiv(&ctx, IV.data, IV.size); in test_gcm128()
869 memset(out, 0, P.size); in test_gcm128()
871 CRYPTO_gcm128_aad(&ctx, A.data, A.size); in test_gcm128()
873 if (!TEST_int_ge(CRYPTO_gcm128_encrypt(&ctx, P.data, out, P.size), 0)) in test_gcm128()
877 && !TEST_mem_eq(out, P.size, C.data, P.size))) in test_gcm128()
880 CRYPTO_gcm128_setiv(&ctx, IV.data, IV.size); in test_gcm128()
881 memset(out, 0, P.size); in test_gcm128()
883 CRYPTO_gcm128_aad(&ctx, A.data, A.size); in test_gcm128()
885 CRYPTO_gcm128_decrypt(&ctx, C.data, out, P.size); in test_gcm128()
888 && !TEST_mem_eq(out, P.size, P.data, P.size))) in test_gcm128()