mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Rename "Authenticated Encryption with Associated Data" (AEAD) encryption/decryption functions and change the result type. This makes the functions easier extendable. In addition, it's now possible to use the functions as following: `encrypt(decrypt(data)) == decrypt(encrypt(data) == data` Add more AES and SHA related constants and use them whenever possible. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>