-
- Downloads
crypto/helper: Add test for crypto_secure_wipe
The test added for crypto_secure_wipe wipes a buffer with a secret in it. Only the last byte is kept as it was. The last byte is used to check that the function doesn't write outside the supplied buffer.
Showing
- tests/unittests/tests-crypto/tests-crypto-helper.c 38 additions, 0 deletionstests/unittests/tests-crypto/tests-crypto-helper.c
- tests/unittests/tests-crypto/tests-crypto.c 1 addition, 0 deletionstests/unittests/tests-crypto/tests-crypto.c
- tests/unittests/tests-crypto/tests-crypto.h 6 additions, 0 deletionstests/unittests/tests-crypto/tests-crypto.h
Loading
Please register or sign in to comment