Home
last modified time | relevance | path

Searched refs:aestweak (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c346 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()
[all …]