]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tests] Verify ability to perform in-place encryption and decryption
authorMichael Brown <mcb30@ipxe.org>
Wed, 9 Nov 2022 16:50:01 +0000 (16:50 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 10 Nov 2022 09:58:44 +0000 (09:58 +0000)
commitf5c829b6f8397c4083bb19b00aa147bd7a628e5e
tree264cc13f0eacca1e0948979e8a74406a8859b53a
parent4acded7e574fb18dd653a18f48a7b6066c543712
[tests] Verify ability to perform in-place encryption and decryption

TLS relies upon the ability of ciphers to perform in-place decryption,
in order to avoid allocating additional I/O buffers for received data.

Add verification of in-place encryption and decryption to the cipher
self-tests.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/tests/cipher_test.c