]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Allow for arbitrary-length initialisation vectors
authorMichael Brown <mcb30@ipxe.org>
Mon, 7 Nov 2022 23:42:02 +0000 (23:42 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 8 Nov 2022 15:14:04 +0000 (15:14 +0000)
commit634a86093af9a6d134be8662f25616f4edfec683
tree3f14462272fe936ce39ff5c506e653bae1b6f599
parentc453b4c284dbedb5de0663f6b30878b425a7a3e8
[tls] Allow for arbitrary-length initialisation vectors

Restructure the encryption and decryption operations to allow for the
use of ciphers where the initialisation vector is constructed by
concatenating the fixed IV (derived as part of key expansion) with a
record IV (prepended to the ciphertext).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/crypto.h
src/net/tls.c