summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorMichael Brown2022-10-24 19:49:43 +0200
committerMichael Brown2022-10-25 14:21:30 +0200
commit0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b (patch)
treeac5e0bca148bd881a6e01fdb55591d5fb8ba9447 /src/include/assert.h
parent[crypto] Allow initialisation vector length to vary from cipher blocksize (diff)
downloadipxe-0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b.tar.gz
ipxe-0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b.tar.xz
ipxe-0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b.zip
[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/include/assert.h')
0 files changed, 0 insertions, 0 deletions