aboutsummaryrefslogtreecommitdiff
path: root/include/noscrypt.h
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-12 00:34:20 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-12 00:34:20 -0400
commitaa8033d4dbfebeb72b6fd7a0cd218ebde0eb54dd (patch)
treeec4ecbb1702a84b813df23c7c91ced3d39ff6bcb /include/noscrypt.h
parent4e3ead2cf1d3068e77f0959dfdc17e20e9102a0f (diff)
Final overview and test before tag
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