crypto: af_alg - add user space interface for AEAD
AEAD requires the caller to specify the following information separate from the data stream. This information allows the AEAD interface handler to identify the AAD, ciphertext/plaintext and the authentication tag: * Associated authentication data of arbitrary length and length * Length of authentication tag for encryption Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
bc84b94a71
commit
af8e80731a
@@ -42,6 +42,7 @@ struct af_alg_completion {
|
||||
struct af_alg_control {
|
||||
struct af_alg_iv *iv;
|
||||
int op;
|
||||
unsigned int aead_assoclen;
|
||||
};
|
||||
|
||||
struct af_alg_type {
|
||||
|
Reference in New Issue
Block a user