Lines Matching refs:aestweak
346 struct TestAES aestweak; in test_xts() local
350 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts()
351 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts()
358 xts_encrypt(&aesdata, &aestweak, in test_xts()
366 xts_decrypt(&aesdata, &aestweak, in test_xts()
382 struct TestAES aestweak; in test_xts_split() local
386 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts_split()
387 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_split()
394 xts_encrypt(&aesdata, &aestweak, in test_xts_split()
398 xts_encrypt(&aesdata, &aestweak, in test_xts_split()
406 xts_decrypt(&aesdata, &aestweak, in test_xts_split()
410 xts_decrypt(&aesdata, &aestweak, in test_xts_split()
427 struct TestAES aestweak; in test_xts_unaligned() local
431 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts_unaligned()
432 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_unaligned()
441 xts_encrypt(&aesdata, &aestweak, in test_xts_unaligned()
451 xts_encrypt(&aesdata, &aestweak, in test_xts_unaligned()
461 xts_encrypt(&aesdata, &aestweak, in test_xts_unaligned()
472 xts_decrypt(&aesdata, &aestweak, in test_xts_unaligned()
482 xts_decrypt(&aesdata, &aestweak, in test_xts_unaligned()
492 xts_decrypt(&aesdata, &aestweak, in test_xts_unaligned()