rust/crypto: Add Aes256Xts to SymKey

This type can be used for AES 256 XTS encryption.
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>
This commit is contained in:
Marc Hartmayer
2024-10-14 17:08:49 +00:00
committed by Steffen Eiden
parent fe2946f76c
commit a0a8aa47a8
3 changed files with 14 additions and 0 deletions

View File

@@ -115,6 +115,9 @@ pub enum Error {
Crypto(#[from] openssl::error::ErrorStack),
#[error(transparent)]
Curl(#[from] curl::Error),
#[error("No Authenticated Encryption with Associated Data (AEAD) key")]
NoAeadKey,
}
// used in macros