summaryrefslogtreecommitdiff
path: root/nettle-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-09-26 21:19:51 +0200
committerNiels Möller <nisse@lysator.liu.se>2022-09-26 21:19:51 +0200
commit44308998dbdd4be21c2d1f58c00e68ae6795b9c7 (patch)
tree67318ec12a76c243f71e1303867a585d75d8a015 /nettle-internal.h
parentdec8ac5e6a2a82b93e8418aab7f75a5536ce0efa (diff)
parentbb640c26d3366983443865c7000f003bcfcfa8ff (diff)
downloadnettle-44308998dbdd4be21c2d1f58c00e68ae6795b9c7.tar.gz
Merge Daiki Ueno's wip branch aes-gcm-siv into siv-gcmwip-siv-gcm
Diffstat (limited to 'nettle-internal.h')
-rw-r--r--nettle-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nettle-internal.h b/nettle-internal.h
index 92416400..b7726d68 100644
--- a/nettle-internal.h
+++ b/nettle-internal.h
@@ -80,6 +80,7 @@
#define NETTLE_MAX_HASH_CONTEXT_SIZE (sizeof(struct sha3_224_ctx))
#define NETTLE_MAX_SEXP_ASSOC 17
#define NETTLE_MAX_CIPHER_BLOCK_SIZE 32
+#define NETTLE_MAX_CIPHER_KEY_SIZE 32
/* Doesn't quite fit with the other algorithms, because of the weak
* keys. Weak keys are not reported, the functions will simply crash