projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sanity check EVP_CTRL_AEAD_TLS_AAD
[openssl.git]
/
include
/
openssl
/
evp.h
diff --git
a/include/openssl/evp.h
b/include/openssl/evp.h
index 0d26fd31297654dccbf065f148f8e11a5421194f..4df3ce72c1c9ecfb6445bcb302ebc9089db2553f 100644
(file)
--- a/
include/openssl/evp.h
+++ b/
include/openssl/evp.h
@@
-426,6
+426,9
@@
struct evp_cipher_st {
# define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b
# define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c
# define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b
# define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c
+/* RFC 5246 defines additional data to be 13 bytes in length */
+# define EVP_AEAD_TLS1_AAD_LEN 13
+
typedef struct {
unsigned char *out;
const unsigned char *inp;
typedef struct {
unsigned char *out;
const unsigned char *inp;