starter48
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/aead.c
|
@ -596,7 +596,7 @@ aead_chunk_decrypt(cipher_ctx_t *ctx, uint8_t *p, uint8_t *c, uint8_t *n, |
|
|
return CRYPTO_ERROR; |
|
|
return CRYPTO_ERROR; |
|
|
assert(*plen == CHUNK_SIZE_LEN); |
|
|
assert(*plen == CHUNK_SIZE_LEN); |
|
|
|
|
|
|
|
|
mlen = load16_be(len_buf); |
|
|
|
|
|
|
|
|
mlen = ntohs(*(uint16_t*)len_buf); |
|
|
mlen = mlen & CHUNK_SIZE_MASK; |
|
|
mlen = mlen & CHUNK_SIZE_MASK; |
|
|
|
|
|
|
|
|
if (mlen == 0) |
|
|
if (mlen == 0) |
|
|