]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Add concept of authentication tag to cipher algorithms
authorMichael Brown <mcb30@ipxe.org>
Mon, 24 Oct 2022 18:20:41 +0000 (19:20 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 25 Oct 2022 12:21:30 +0000 (13:21 +0100)
commitda81214cec87201dc18c0ce71224367e13a6edfb
tree85952ee981f3c970cb95b2f72a5c342c748a9e0c
parent0c383bf00afbef1a9cfe02829d1bc6ee46e1c16b
[crypto] Add concept of authentication tag to cipher algorithms

Some ciphers (such as GCM) support the concept of a tag that can be
used to authenticate the encrypted data.  Add a cipher method for
generating an authentication tag.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/aes.c
src/crypto/arc4.c
src/crypto/crypto_null.c
src/include/ipxe/cbc.h
src/include/ipxe/crypto.h
src/include/ipxe/ecb.h
src/tests/aes_test.c
src/tests/cipher_test.c
src/tests/cipher_test.h