aboutsummaryrefslogtreecommitdiff
path: root/include/noscrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/noscrypt.h')
-rw-r--r--include/noscrypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/noscrypt.h b/include/noscrypt.h
index 4d03b8d..ca958a0 100644
--- a/include/noscrypt.h
+++ b/include/noscrypt.h
@@ -73,6 +73,7 @@
#define NC_HMAC_KEY_SIZE 0x20
#define NC_ENCRYPTION_MAC_SIZE 0x20
#define NC_MESSAGE_KEY_SIZE NIP44_MESSAGE_KEY_SIZE
+#define NC_NIP04_AES_IV_SIZE 0x10 /* AES IV size is 16 bytes (block size) */
/*
* From spec