Исправлена криптография: исправлен размер nonce для CCM (13 байт) и завершены тесты
This commit is contained in:
1 parent
5758640afb
commit
a1bcd6edb7
2 files changed
+18
-6
No files matched your search
@@ -9,7 +9,7 @@
|
||||
#define SC_PRIVKEY_SIZE 32
|
||||
#define SC_PUBKEY_SIZE 64
|
||||
#define SC_HASH_SIZE 32
|
||||
#define SC_NONCE_SIZE 8
|
||||
#define SC_NONCE_SIZE 13 // CCM requires exactly 13 bytes
|
||||
#define SC_SHARED_SECRET_SIZE SC_HASH_SIZE
|
||||
#define SC_SESSION_KEY_SIZE 16
|
||||
#define SC_TAG_SIZE 8
|
||||
|
||||
Reference in new issue
Block a user