diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-07 10:51:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-07 10:51:53 +0100 |
commit | 07e0daf3a0dc16d2aff09a8aa1814616e7f1dcf3 (patch) | |
tree | 5c46be79ef8e44ca1e9fc2d43979f467e9776633 | |
parent | 8e8af455e90378439b369e589f56e2020cae97a8 (diff) | |
download | rspamd-07e0daf3a0dc16d2aff09a8aa1814616e7f1dcf3.tar.gz rspamd-07e0daf3a0dc16d2aff09a8aa1814616e7f1dcf3.zip |
[CritFix] The max size for signing key is actually 65 bytes for p256
-rw-r--r-- | src/libcryptobox/cryptobox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h index 234da2054..2f68c0ed4 100644 --- a/src/libcryptobox/cryptobox.h +++ b/src/libcryptobox/cryptobox.h @@ -50,7 +50,7 @@ struct rspamd_cryptobox_segment { #define rspamd_cryptobox_HASHKEYBYTES 64 #define rspamd_cryptobox_HASHSTATEBYTES sizeof(crypto_generichash_blake2b_state) + 64 #define rspamd_cryptobox_MAX_SIGSKBYTES 64 -#define rspamd_cryptobox_MAX_SIGPKBYTES 32 +#define rspamd_cryptobox_MAX_SIGPKBYTES 65 #define rspamd_cryptobox_MAX_SIGBYTES 72 #define CPUID_AVX2 0x1 |