Skip to content

Commit

Permalink
Some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Nov 18, 2023
1 parent 5b08cd7 commit 1692ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/crypto/symmetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ pgp_cipher_aead_finish(pgp_crypt_t *crypt, uint8_t *out, const uint8_t *in, size
if (crypt->aead.decrypt) {
size_t datalen = len - crypt->aead.taglen;
/* for decryption we should have tag for the final update call */
printf("===> crypt->aead.obj=%p, out=%p, datalen=%zd, in=%p, len=%zd", crypt->aead.obj, out, datalen, in, len);
res =
botan_cipher_update(crypt->aead.obj, flags, out, datalen, &outwr, in, len, &inread);
if (res != 0) {
Expand Down

0 comments on commit 1692ea2

Please sign in to comment.