diff options
author | vnugent <public@vaughnnugent.com> | 2024-08-04 15:27:06 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-08-04 15:27:06 -0400 |
commit | a60a3e1ca1d99d655c0cfc96e3952c371e8a8677 (patch) | |
tree | e09cb5fee8888152232c4e7f64f0bcdbe87d7ffd /src | |
parent | 2aa7f4b6cdb2e0e8990e7177476f4104fd2e2b17 (diff) |
cleanup comments + return codes
Diffstat (limited to 'src')
-rw-r--r-- | src/noscryptutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/noscryptutil.c b/src/noscryptutil.c index 6b4a157..4cee2c3 100644 --- a/src/noscryptutil.c +++ b/src/noscryptutil.c @@ -469,7 +469,6 @@ static NCResult _nip44EncryptCompleteCore( /* zero hmac key before returning */ ZERO_FILL(hmacKeyOut, sizeof(hmacKeyOut)); - /* Notify the caller how many bytes were written */ return NC_SUCCESS; } @@ -598,7 +597,7 @@ static NCResult _nip44DecryptCompleteCore( DEBUG_ASSERT(ncSpanGetSizeC(state->buffer.actualOutput) < cipherText.size); - return result; + return NC_SUCCESS; } NC_EXPORT NCResult NC_CC NCUtilGetEncryptionPaddedSize(uint32_t encVersion, uint32_t plaintextSize) |