diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-03 14:59:25 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-03 14:59:25 -0500 |
commit | 490dfee4ef22479009627435c6ad728c3cbbab54 (patch) | |
tree | b081f9ccae15037372bfd906767247bbd58c2907 /src/noscrypt.h | |
parent | efa97490b7ed47f4e2f05bee52e2b33e14e439e6 (diff) |
test: #3 tests for encryption/description and Macs
Diffstat (limited to 'src/noscrypt.h')
-rw-r--r-- | src/noscrypt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noscrypt.h b/src/noscrypt.h index 677843f..f7265ad 100644 --- a/src/noscrypt.h +++ b/src/noscrypt.h @@ -175,10 +175,10 @@ typedef struct nc_encryption_struct { typedef struct nc_mac_verify { /* The message authentication code certifying the Nip44 payload */ - const uint8_t mac[NC_ENCRYPTION_MAC_SIZE]; + uint8_t mac[NC_ENCRYPTION_MAC_SIZE]; /* The nonce used for the original message encryption */ - const uint8_t nonce[NC_ENCRYPTION_NONCE_SIZE]; + uint8_t nonce[NC_ENCRYPTION_NONCE_SIZE]; /* The message payload data */ const uint8_t* payload; |