]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: optional AAD parameter support to aes_gcm_enc/dec
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Oct 2025 18:02:13 +0000 (19:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 31 Oct 2025 11:27:38 +0000 (12:27 +0100)
commit1d859bdaa2ac42193d2cb5f1198d42fe8bae4ba2
treefa65c1fa661429baab0851e0dbd9b8c1fc7c230f
parent73b5d331cc1535da70e4ae3a6bc6859e60684d58
MINOR: sample: optional AAD parameter support to aes_gcm_enc/dec

The aes_gcm_enc() and aes_gcm_dec() sample converters now accept an
optional fifth argument for Additional Authenticated Data (AAD). When
provided, the AAD value is base64-decoded and used during AES-GCM
encryption or decryption. Both string and variable forms are supported.

This enables use cases that require authentication of additional data.
doc/configuration.txt
reg-tests/converter/aes_gcm.vtc [new file with mode: 0644]
src/ssl_sample.c