函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:include\crypto\aead.h Create Date:2022-07-27 07:44:34
首页 Copyright©Brick

367
368
369
370
371
372
373
374
375
376
377
378
379
/**
 * aead_request_set_tfm() - update cipher handle reference in request
 * @req: request handle to be modified
 * @tfm: cipher handle that shall be added to the request handle
 *
 * Allow the caller to replace the existing aead handle in the request
 * data structure with a different one.
 */
static inline void aead_request_set_tfm(struct aead_request *req,
                    struct crypto_aead *tfm)
{
    req->base.tfm = crypto_aead_tfm(tfm);
}