AES-XTS block limit.
authorPauli <paul.dale@oracle.com>
Wed, 3 Apr 2019 06:03:46 +0000 (16:03 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 3 Apr 2019 06:03:46 +0000 (16:03 +1000)
commit5516c19b0314ef9416c5b02ae6347c4f52209e6a
tree501fca9691e7b8ed5827b5d8e03cc14827841f2a
parent705a27f7e07c006b167b59070ff635a61f8e0407
AES-XTS block limit.

Limit the number of AES blocks in a data unit to 2^20 or less.
This corresponds to the mandates in IEEE Std 1619-2018 and NIST SP 800-38E.

Note: that this is a change from IEEE Std 1619-2007 which only recommended
this limit.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8627)
CHANGES
crypto/err/openssl.txt
crypto/evp/e_aes.c
crypto/evp/evp_err.c
crypto/modes/modes_lcl.h
include/openssl/evperr.h