mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
crypto: doc - cover new AEAD interface
The patch updates the DocBook to cover the new AEAD interface implementation. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b64a2d9552
commit
addfda2fc2
2 changed files with 21 additions and 7 deletions
|
@ -50,6 +50,7 @@
|
|||
/**
|
||||
* struct aead_request - AEAD request
|
||||
* @base: Common attributes for async crypto requests
|
||||
* @old: Boolean whether the old or new AEAD API is used
|
||||
* @assoclen: Length in bytes of associated data for authentication
|
||||
* @cryptlen: Length of data to be encrypted or decrypted
|
||||
* @iv: Initialisation vector
|
||||
|
@ -467,7 +468,9 @@ static inline void aead_request_set_callback(struct aead_request *req,
|
|||
* @iv: IV for the cipher operation which must comply with the IV size defined
|
||||
* by crypto_aead_ivsize()
|
||||
*
|
||||
* Setting the source data and destination data scatter / gather lists.
|
||||
* Setting the source data and destination data scatter / gather lists which
|
||||
* hold the associated data concatenated with the plaintext or ciphertext. See
|
||||
* below for the authentication tag.
|
||||
*
|
||||
* For encryption, the source is treated as the plaintext and the
|
||||
* destination is the ciphertext. For a decryption operation, the use is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue