From aa8033d4dbfebeb72b6fd7a0cd218ebde0eb54dd Mon Sep 17 00:00:00 2001 From: vnugent Date: Sun, 12 May 2024 00:34:20 -0400 Subject: Final overview and test before tag --- Taskfile.yaml | 2 +- include/noscrypt.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 2fbda5a..2dae66e 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -32,7 +32,7 @@ tasks: build-internal: internal: true cmds: - - cmake -S . -B{{.CMAKE_BUILD_DIR}} -DCMAKE_BUILD_TYPE={{.BUILD_CONFIG}} -DNC_BUILD_TESTS={{ .CMAKE_TEST_STATUS }} {{.USER_ARGS}} + - cmake -S . -B{{.CMAKE_BUILD_DIR}} -DCMAKE_BUILD_TYPE={{.BUILD_CONFIG}} -DNC_BUILD_TESTS={{ .CMAKE_TEST_STATUS }} {{.CLI_ARGS}} - cmake --build {{.CMAKE_BUILD_DIR}} --config {{.BUILD_CONFIG}} - cmd: echo "Build complete. Your files can be found in the {{.CMAKE_BUILD_DIR}} directory" silent: true 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 -- cgit