Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Daes_256_xts.cpp28 const uint8_t tweak[kAesBlockSize]) { in DoXtsMasking()
31 memcpy(mask, tweak, kAesBlockSize); in DoXtsMasking()
74 uint8_t tweak[kAesBlockSize]; in DoEncrypt() local
80 if (EVP_EncryptUpdate(ctx.get(), tweak, &outl, iv, kAesBlockSize) != 1 || in DoEncrypt()
90 DoXtsMasking(dst, nbytes / kAesBlockSize, tweak); in DoEncrypt()
104 DoXtsMasking(dst, nbytes / kAesBlockSize, tweak); in DoEncrypt()