diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-10-24 18:49:43 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-10-25 13:21:30 +0100 |
commit | 0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b (patch) | |
tree | ac5e0bca148bd881a6e01fdb55591d5fb8ba9447 /src/crypto/arc4.c | |
parent | 8e478e648fb68ac6f07e4e5cd80a5c1fefcb1cf5 (diff) | |
download | ipxe-0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b.tar.gz |
[crypto] Add concept of additional data to cipher algorithms
Some ciphers (such as GCM) support the concept of additional
authenticated data, which does not appear in the ciphertext but may
affect the operation of the cipher.
Allow cipher_encrypt() and cipher_decrypt() to be called with a NULL
destination buffer in order to pass additional data.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions