Lines Matching full:cipher

18  * DOC: Authenticated Encryption With Associated Data (AEAD) Cipher API
20 * The AEAD cipher API is used with the ciphers of type CRYPTO_ALG_TYPE_AEAD
25 * with the following cipher string:
27 * authenc(keyed message digest, block cipher)
31 * The example code provided for the symmetric key cipher operation applies
36 * decryption operation. Another deviation from the asynchronous block cipher
40 * code is the key bonus an AEAD cipher has over "standard" block chaining
105 * struct aead_alg - AEAD cipher definition
135 * @base: Definition of a generic crypto cipher algorithm.
168 * crypto_alloc_aead() - allocate AEAD cipher handle
170 * AEAD cipher
171 * @type: specifies the type of the cipher
172 * @mask: specifies the mask for the cipher
174 * Allocate a cipher handle for an AEAD. The returned struct
175 * crypto_aead is the cipher handle that is required for any subsequent
178 * Return: allocated cipher handle in case of success; IS_ERR() is true in case
190 * @tfm: cipher handle to be freed
229 * @tfm: cipher handle
231 * The size of the IV for the aead referenced by the cipher handle is
232 * returned. This IV size may be zero if the cipher does not need an IV.
243 * @tfm: cipher handle
245 * The maximum size of the authentication data for the AEAD cipher referenced
246 * by the AEAD cipher handle is returned. The authentication data size may be
247 * zero if the cipher implements a hard-coded maximum.
269 * crypto_aead_blocksize() - obtain block size of cipher
270 * @tfm: cipher handle
272 * The block size for the AEAD referenced with the cipher handle is returned.
276 * Return: block size of cipher
304 * crypto_aead_setkey() - set key for cipher
305 * @tfm: cipher handle
309 * The caller provided key is set for the AEAD referenced by the cipher
312 * Note, the key length determines the cipher type. Many block ciphers implement
313 * different cipher modes depending on the key size, such as AES-128 vs AES-192
314 * vs. AES-256. When providing a 16 byte key for an AES cipher handle, AES-128
324 * @tfm: cipher handle
342 * needed to perform the cipher operation
351 * block cipher blocks + the size defined by the
356 * Return: 0 if the cipher operation was successful; < 0 if an error occurred
363 * needed to perform the cipher operation
375 * Return: 0 if the cipher operation was successful; -EBADMSG: The AEAD
376 * cipher operation performs the authentication of the data during the
388 * the AEAD cipher operation. This includes the cipher handle (which can be
397 * @tfm: cipher handle
407 * aead_request_set_tfm() - update cipher handle reference in request
409 * @tfm: cipher handle that shall be added to the request handle
422 * @tfm: cipher handle to be registered with the request
446 * @req: request data structure cipher handle to be freed
470 * Setting the callback function that is triggered once the cipher operation
494 * @iv: IV for the cipher operation which must comply with the IV size defined
505 * The memory structure for cipher operation has the following structure:
515 * use an in-place cipher operation (i.e. same memory location for