diff options
| author | Michael Brown | 2022-11-07 19:34:37 +0100 |
|---|---|---|
| committer | Michael Brown | 2022-11-08 14:48:45 +0100 |
| commit | b6eef1485808093f9dae4fe9d6b685e01a6d65a4 (patch) | |
| tree | 412bf41dea752f04f3cca2cc658aedac5bebac9a /src/include/elf.h | |
| parent | [tls] Ensure cipher alignment size is respected (diff) | |
| download | ipxe-b6eef1485808093f9dae4fe9d6b685e01a6d65a4.tar.gz ipxe-b6eef1485808093f9dae4fe9d6b685e01a6d65a4.tar.xz ipxe-b6eef1485808093f9dae4fe9d6b685e01a6d65a4.zip | |
[tls] Abstract out concept of a TLS authentication header
All TLS cipher types use a common structure for the per-record data
that is authenticated in addition to the plaintext itself. This data
is used as a prefix in the HMAC calculation for stream and block
ciphers, or as additional authenticated data for AEAD ciphers.
Define a "TLS authentication header" structure to hold this data as a
contiguous block, in order to meet the alignment requirement for AEAD
ciphers such as GCM.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/elf.h')
0 files changed, 0 insertions, 0 deletions
