diff options
author | Pauli <paul.dale@oracle.com> | 2019-04-03 16:03:46 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-04-03 16:03:46 +1000 |
commit | 5516c19b0314ef9416c5b02ae6347c4f52209e6a (patch) | |
tree | 501fca9691e7b8ed5827b5d8e03cc14827841f2a /include/openssl/evperr.h | |
parent | 705a27f7e07c006b167b59070ff635a61f8e0407 (diff) | |
download | openssl-new-5516c19b0314ef9416c5b02ae6347c4f52209e6a.tar.gz |
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)
Diffstat (limited to 'include/openssl/evperr.h')
-rw-r--r-- | include/openssl/evperr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/evperr.h b/include/openssl/evperr.h index 598930af32..d60402cdc2 100644 --- a/include/openssl/evperr.h +++ b/include/openssl/evperr.h @@ -30,6 +30,7 @@ int ERR_load_EVP_strings(void); # define EVP_F_AES_OCB_CIPHER 169 # define EVP_F_AES_T4_INIT_KEY 178 # define EVP_F_AES_WRAP_CIPHER 170 +# define EVP_F_AES_XTS_CIPHER 229 # define EVP_F_ALG_MODULE_INIT 177 # define EVP_F_ARIA_CCM_INIT_KEY 175 # define EVP_F_ARIA_GCM_CTRL 197 @@ -225,5 +226,6 @@ int ERR_load_EVP_strings(void); # define EVP_R_UPDATE_ERROR 189 # define EVP_R_WRAP_MODE_NOT_ALLOWED 170 # define EVP_R_WRONG_FINAL_BLOCK_LENGTH 109 +# define EVP_R_XTS_DATA_UNIT_IS_TOO_LARGE 191 #endif |