projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PROV: Add a OP_keymgmt_match() function to our DH, DSA, RSA and EC_KEY impl
[oweals/openssl.git]
/
providers
/
implementations
/
ciphers
/
cipher_aes_xts.c
diff --git
a/providers/implementations/ciphers/cipher_aes_xts.c
b/providers/implementations/ciphers/cipher_aes_xts.c
index d60e08e1944759edbddf19d109e3558e9b08bb5a..1da73c16e3e3ae976b6679a8978e38c84cd1476b 100644
(file)
--- a/
providers/implementations/ciphers/cipher_aes_xts.c
+++ b/
providers/implementations/ciphers/cipher_aes_xts.c
@@
-7,6
+7,13
@@
* https://www.openssl.org/source/license.html
*/
* https://www.openssl.org/source/license.html
*/
+/*
+ * AES low level APIs are deprecated for public use, but still ok for internal
+ * use where we're using them to implement the higher level EVP interface, as is
+ * the case here.
+ */
+#include "internal/deprecated.h"
+
#include "cipher_aes_xts.h"
#include "prov/implementations.h"
#include "prov/providercommonerr.h"
#include "cipher_aes_xts.h"
#include "prov/implementations.h"
#include "prov/providercommonerr.h"
@@
-152,7
+159,7
@@
static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl,
return 0;
/*
return 0;
/*
- * Impose a limit of 2^20 blocks per data unit as specifed by
+ * Impose a limit of 2^20 blocks per data unit as specif
i
ed by
* IEEE Std 1619-2018. The earlier and obsolete IEEE Std 1619-2007
* indicated that this was a SHOULD NOT rather than a MUST NOT.
* NIST SP 800-38E mandates the same limit.
* IEEE Std 1619-2018. The earlier and obsolete IEEE Std 1619-2007
* indicated that this was a SHOULD NOT rather than a MUST NOT.
* NIST SP 800-38E mandates the same limit.