Skip to content
Commit 2a98e7cf authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

samples: drivers: crypto: Print correct buffer comparison on failure



When testing whether the CTR mode decrypted the payload properly, a
comparison of `decrypt.out_buf` with the known plain text `plaintext`
is performed, but the buffer comparison that is printed uses
`plaintext` and `encrypt.out_buf` instead.

Coverity-CID: 181847

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 02dc6eb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment