From: Matt Caswell Date: Thu, 2 Apr 2020 08:58:59 +0000 (+0100) Subject: Expand the XTS documentation X-Git-Tag: openssl-3.0.0-alpha1~163 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70d80ef9898ddbe03841efd2df2f526b71829d7f;p=oweals%2Fopenssl.git Expand the XTS documentation Explain that XTS does not support streaming, and that the IV value is the tweak. Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/11461) --- diff --git a/doc/man3/EVP_aes_128_gcm.pod b/doc/man3/EVP_aes_128_gcm.pod index 1ca893a738..56ae74040a 100644 --- a/doc/man3/EVP_aes_128_gcm.pod +++ b/doc/man3/EVP_aes_128_gcm.pod @@ -160,6 +160,13 @@ In particular, XTS-AES-128 (B) takes input of a 256-bit key to achieve AES 128-bit security, and XTS-AES-256 (B) takes input of a 512-bit key to achieve AES 256-bit security. +The XTS implementation in OpenSSL does not support streaming. That is there must +only be one L call per L call (and +similarly with the "Decrypt" functions). + +The I parameter to L or L is +the XTS "tweak" value. + =back =head1 RETURN VALUES