DOC: config: fix aes_gcm_enc() description text

As reported by Nick Ramirez, it was written "decrypts" instead of
"encrypts". No backport needed.
This commit is contained in:
Willy Tarreau 2024-05-24 12:08:20 +02:00
parent c9af6d5414
commit 77c228f04f
1 changed files with 1 additions and 1 deletions

View File

@ -19250,7 +19250,7 @@ aes_gcm_dec(<bits>,<nonce>,<key>,<aead_tag>)
aes_gcm_dec(128,txn.nonce,Zm9vb2Zvb29mb29wZm9vbw==,txn.aead_tag)] aes_gcm_dec(128,txn.nonce,Zm9vb2Zvb29mb29wZm9vbw==,txn.aead_tag)]
aes_gcm_enc(<bits>,<nonce>,<key>,<aead_tag>) aes_gcm_enc(<bits>,<nonce>,<key>,<aead_tag>)
Decrypts the raw byte input using the AES128-GCM, AES192-GCM or Encrypts the raw byte input using the AES128-GCM, AES192-GCM or
AES256-GCM algorithm, depending on the <bits> parameter. <nonce> and <key> AES256-GCM algorithm, depending on the <bits> parameter. <nonce> and <key>
parameters must be base64 encoded. Last parameter, <aead_tag>, must be a parameters must be base64 encoded. Last parameter, <aead_tag>, must be a
variable. The AEAD tag will be stored base64 encoded into that variable. variable. The AEAD tag will be stored base64 encoded into that variable.