/Linux-v6.6/include/crypto/ |
D | skcipher.h | 127 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key, 131 int (*init)(struct crypto_skcipher *tfm); 132 void (*exit)(struct crypto_skcipher *tfm); 152 #define SYNC_SKCIPHER_REQUEST_ON_STACK(name, tfm) \ argument 156 (typeof(tfm))1))) \ 191 struct crypto_tfm *tfm) in __crypto_skcipher_cast() argument 193 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast() 217 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() argument 219 return &tfm->base; in crypto_skcipher_tfm() 228 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher() argument [all …]
|
D | hash.h | 166 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 168 int (*init_tfm)(struct crypto_ahash *tfm); 169 void (*exit_tfm)(struct crypto_ahash *tfm); 176 struct crypto_shash *tfm; member 236 int (*setkey)(struct crypto_shash *tfm, const u8 *key, 238 int (*init_tfm)(struct crypto_shash *tfm); 239 void (*exit_tfm)(struct crypto_shash *tfm); 260 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 283 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument 285 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() [all …]
|
D | aead.h | 157 int (*setkey)(struct crypto_aead *tfm, const u8 *key, 159 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize); 162 int (*init)(struct crypto_aead *tfm); 163 void (*exit)(struct crypto_aead *tfm); 183 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() argument 185 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast() 204 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() argument 206 return &tfm->base; in crypto_aead_tfm() 215 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() argument 217 crypto_destroy_tfm(tfm, crypto_aead_tfm(tfm)); in crypto_free_aead() [all …]
|
D | akcipher.h | 122 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key, 124 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key, 126 unsigned int (*max_size)(struct crypto_akcipher *tfm); 127 int (*init)(struct crypto_akcipher *tfm); 128 void (*exit)(struct crypto_akcipher *tfm); 162 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() argument 164 return &tfm->base; in crypto_akcipher_tfm() 173 struct crypto_tfm *tfm) in __crypto_akcipher_tfm() argument 175 return container_of(tfm, struct crypto_akcipher, base); in __crypto_akcipher_tfm() 179 struct crypto_akcipher *tfm) in crypto_akcipher_alg() argument [all …]
|
D | kpp.h | 93 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer, 98 unsigned int (*max_size)(struct crypto_kpp *tfm); 100 int (*init)(struct crypto_kpp *tfm); 101 void (*exit)(struct crypto_kpp *tfm); 133 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() argument 135 return &tfm->base; in crypto_kpp_tfm() 143 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() argument 145 return container_of(tfm, struct crypto_kpp, base); in __crypto_kpp_tfm() 148 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() argument 150 return __crypto_kpp_alg(crypto_kpp_tfm(tfm)->__crt_alg); in crypto_kpp_alg() [all …]
|
D | rng.h | 59 int (*generate)(struct crypto_rng *tfm, 62 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 63 void (*set_ent)(struct crypto_rng *tfm, const u8 *data, 113 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() argument 115 return &tfm->base; in crypto_rng_tfm() 131 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() argument 133 return __crypto_rng_alg(crypto_rng_tfm(tfm)->__crt_alg); in crypto_rng_alg() 142 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() argument 144 crypto_destroy_tfm(tfm, crypto_rng_tfm(tfm)); in crypto_free_rng() 181 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() argument [all …]
|
D | acompress.h | 130 static inline struct crypto_tfm *crypto_acomp_tfm(struct crypto_acomp *tfm) in crypto_acomp_tfm() argument 132 return &tfm->base; in crypto_acomp_tfm() 141 static inline struct crypto_acomp *__crypto_acomp_tfm(struct crypto_tfm *tfm) in __crypto_acomp_tfm() argument 143 return container_of(tfm, struct crypto_acomp, base); in __crypto_acomp_tfm() 147 struct crypto_acomp *tfm) in crypto_comp_alg_common() argument 149 return __crypto_comp_alg_common(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_comp_alg_common() 152 static inline unsigned int crypto_acomp_reqsize(struct crypto_acomp *tfm) in crypto_acomp_reqsize() argument 154 return tfm->reqsize; in crypto_acomp_reqsize() 158 struct crypto_acomp *tfm) in acomp_request_set_tfm() argument 160 req->base.tfm = crypto_acomp_tfm(tfm); in acomp_request_set_tfm() [all …]
|
D | cryptd.h | 29 struct crypto_skcipher *cryptd_skcipher_child(struct cryptd_skcipher *tfm); 31 bool cryptd_skcipher_queued(struct cryptd_skcipher *tfm); 32 void cryptd_free_skcipher(struct cryptd_skcipher *tfm); 39 struct crypto_ahash *tfm) in __cryptd_ahash_cast() argument 41 return (struct cryptd_ahash *)tfm; in __cryptd_ahash_cast() 47 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm); 50 bool cryptd_ahash_queued(struct cryptd_ahash *tfm); 51 void cryptd_free_ahash(struct cryptd_ahash *tfm); 58 struct crypto_aead *tfm) in __cryptd_aead_cast() argument 60 return (struct cryptd_aead *)tfm; in __cryptd_aead_cast() [all …]
|
D | sig.h | 45 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm) in crypto_sig_tfm() argument 47 return &tfm->base; in crypto_sig_tfm() 57 static inline void crypto_free_sig(struct crypto_sig *tfm) in crypto_free_sig() argument 59 crypto_destroy_tfm(tfm, crypto_sig_tfm(tfm)); in crypto_free_sig() 72 int crypto_sig_maxsize(struct crypto_sig *tfm); 87 int crypto_sig_sign(struct crypto_sig *tfm, 105 int crypto_sig_verify(struct crypto_sig *tfm, 122 int crypto_sig_set_pubkey(struct crypto_sig *tfm, 138 int crypto_sig_set_privkey(struct crypto_sig *tfm,
|
/Linux-v6.6/include/crypto/internal/ |
D | scompress.h | 35 void *(*alloc_ctx)(struct crypto_scomp *tfm); 36 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx); 37 int (*compress)(struct crypto_scomp *tfm, const u8 *src, 40 int (*decompress)(struct crypto_scomp *tfm, const u8 *src, 55 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() argument 57 return container_of(tfm, struct crypto_scomp, base); in __crypto_scomp_tfm() 60 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() argument 62 return &tfm->base; in crypto_scomp_tfm() 65 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() argument 67 crypto_destroy_tfm(tfm, crypto_scomp_tfm(tfm)); in crypto_free_scomp() [all …]
|
D | cipher.h | 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() argument 39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() argument 68 return &tfm->base; in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() argument 77 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() argument 111 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() argument 116 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask() [all …]
|
/Linux-v6.6/include/linux/ |
D | crypto.h | 176 struct crypto_tfm *tfm; member 238 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 240 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 241 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 256 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src, 258 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src, 365 int (*cra_init)(struct crypto_tfm *tfm); 366 void (*cra_exit)(struct crypto_tfm *tfm); 429 void (*exit)(struct crypto_tfm *tfm); 445 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm); [all …]
|
/Linux-v6.6/security/integrity/ima/ |
D | ima_crypto.c | 61 struct crypto_shash *tfm; member 93 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() local 100 return tfm; in ima_alloc_tfm() 103 if (ima_algo_array[i].tfm && ima_algo_array[i].algo == algo) in ima_alloc_tfm() 104 return ima_algo_array[i].tfm; in ima_alloc_tfm() 106 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm() 107 if (IS_ERR(tfm)) { in ima_alloc_tfm() 108 rc = PTR_ERR(tfm); in ima_alloc_tfm() 112 return tfm; in ima_alloc_tfm() 162 ima_algo_array[i].tfm = ima_shash_tfm; in ima_init_crypto() [all …]
|
/Linux-v6.6/crypto/ |
D | shash.c | 34 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() argument 41 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() argument 44 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_setkey_unaligned() 45 unsigned long alignmask = crypto_shash_alignmask(tfm); in shash_setkey_unaligned() 57 err = shash->setkey(tfm, alignbuffer, keylen); in shash_setkey_unaligned() 62 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() argument 65 crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in shash_set_needkey() 68 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() argument 71 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_setkey() 72 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_setkey() [all …]
|
D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() argument 23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned() 24 unsigned long alignmask = crypto_cipher_alignmask(tfm); in setkey_unaligned() 36 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned() 43 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() argument 46 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey() 47 unsigned long alignmask = crypto_cipher_alignmask(tfm); in crypto_cipher_setkey() 53 return setkey_unaligned(tfm, key, keylen); in crypto_cipher_setkey() 55 return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); in crypto_cipher_setkey() 59 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() argument [all …]
|
D | cfb.c | 31 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize() argument 33 return crypto_cipher_blocksize(skcipher_cipher_simple(tfm)); in crypto_cfb_bsize() 36 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one() argument 39 crypto_cipher_encrypt_one(skcipher_cipher_simple(tfm), dst, src); in crypto_cfb_encrypt_one() 44 struct crypto_skcipher *tfm) in crypto_cfb_final() argument 46 const unsigned long alignmask = crypto_skcipher_alignmask(tfm); in crypto_cfb_final() 54 crypto_cfb_encrypt_one(tfm, iv, stream); in crypto_cfb_final() 59 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment() argument 61 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_segment() 68 crypto_cfb_encrypt_one(tfm, iv, dst); in crypto_cfb_encrypt_segment() [all …]
|
D | jitterentropy-kcapi.c | 99 SHASH_DESC_ON_STACK(desc, hash_state_desc->tfm); in jent_hash_time() 104 desc->tfm = hash_state_desc->tfm; in jent_hash_time() 106 if (sizeof(intermediary) != crypto_shash_digestsize(desc->tfm)) { in jent_hash_time() 186 struct crypto_shash *tfm; member 190 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup() argument 192 struct jitterentropy *rng = crypto_tfm_ctx(tfm); in jent_kcapi_cleanup() 202 if (rng->tfm) in jent_kcapi_cleanup() 203 crypto_free_shash(rng->tfm); in jent_kcapi_cleanup() 204 rng->tfm = NULL; in jent_kcapi_cleanup() 212 static int jent_kcapi_init(struct crypto_tfm *tfm) in jent_kcapi_init() argument [all …]
|
D | cryptd.c | 141 refcnt = crypto_tfm_ctx(request->tfm); in cryptd_enqueue_request() 187 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() argument 189 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue() 270 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_complete() local 271 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_complete() 285 crypto_free_skcipher(tfm); in cryptd_skcipher_complete() 316 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_enqueue() local 320 queue = cryptd_get_queue(crypto_skcipher_tfm(tfm)); in cryptd_skcipher_enqueue() 339 static int cryptd_skcipher_init_tfm(struct crypto_skcipher *tfm) in cryptd_skcipher_init_tfm() argument 341 struct skcipher_instance *inst = skcipher_alg_instance(tfm); in cryptd_skcipher_init_tfm() [all …]
|
D | api.c | 348 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() argument 350 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops() 352 if (type && tfm->exit) in crypto_exit_ops() 353 tfm->exit(tfm); in crypto_exit_ops() 392 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfmgfp() local 396 tfm_size = sizeof(*tfm) + crypto_ctxsize(alg, type, mask); in __crypto_alloc_tfmgfp() 397 tfm = kzalloc(tfm_size, gfp); in __crypto_alloc_tfmgfp() 398 if (tfm == NULL) in __crypto_alloc_tfmgfp() 401 tfm->__crt_alg = alg; in __crypto_alloc_tfmgfp() 402 refcount_set(&tfm->refcnt, 1); in __crypto_alloc_tfmgfp() [all …]
|
D | ahash.c | 130 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned() argument 133 unsigned long alignmask = crypto_ahash_alignmask(tfm); in ahash_setkey_unaligned() 145 ret = tfm->setkey(tfm, alignbuffer, keylen); in ahash_setkey_unaligned() 150 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey() argument 156 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey() argument 158 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() 160 if (tfm->setkey != ahash_nosetkey && in ahash_set_needkey() 162 crypto_ahash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in ahash_set_needkey() 165 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey() argument 168 unsigned long alignmask = crypto_ahash_alignmask(tfm); in crypto_ahash_setkey() [all …]
|
D | simd.c | 50 static int simd_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in simd_skcipher_setkey() argument 53 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_setkey() 57 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & in simd_skcipher_setkey() 64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_encrypt() local 65 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_encrypt() 85 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_decrypt() local 86 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_decrypt() 104 static void simd_skcipher_exit(struct crypto_skcipher *tfm) in simd_skcipher_exit() argument 106 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_exit() 111 static int simd_skcipher_init(struct crypto_skcipher *tfm) in simd_skcipher_init() argument [all …]
|
/Linux-v6.6/net/mac80211/ |
D | aes_cmac.c | 25 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac() argument 28 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac() 32 desc->tfm = tfm; in ieee80211_aes_cmac() 49 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac_256() argument 52 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac_256() 55 desc->tfm = tfm; in ieee80211_aes_cmac_256() 74 struct crypto_shash *tfm; in ieee80211_aes_cmac_key_setup() local 76 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup() 77 if (!IS_ERR(tfm)) { in ieee80211_aes_cmac_key_setup() 78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup() [all …]
|
D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument 21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt() 24 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_encrypt() 40 aead_request_set_tfm(aead_req, tfm); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument 53 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt() 56 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_decrypt() 75 aead_request_set_tfm(aead_req, tfm); in aead_decrypt() 89 struct crypto_aead *tfm; in aead_key_setup_encrypt() local 92 tfm = crypto_alloc_aead(alg, 0, CRYPTO_ALG_ASYNC); in aead_key_setup_encrypt() [all …]
|
/Linux-v6.6/fs/verity/ |
D | hash_algs.c | 46 struct crypto_shash *tfm; in fsverity_get_hash_alg() local 57 if (likely(smp_load_acquire(&alg->tfm) != NULL)) in fsverity_get_hash_alg() 62 if (alg->tfm != NULL) in fsverity_get_hash_alg() 65 tfm = crypto_alloc_shash(alg->name, 0, 0); in fsverity_get_hash_alg() 66 if (IS_ERR(tfm)) { in fsverity_get_hash_alg() 67 if (PTR_ERR(tfm) == -ENOENT) { in fsverity_get_hash_alg() 76 alg->name, PTR_ERR(tfm)); in fsverity_get_hash_alg() 77 alg = ERR_CAST(tfm); in fsverity_get_hash_alg() 82 if (WARN_ON_ONCE(alg->digest_size != crypto_shash_digestsize(tfm))) in fsverity_get_hash_alg() 84 if (WARN_ON_ONCE(alg->block_size != crypto_shash_blocksize(tfm))) in fsverity_get_hash_alg() [all …]
|
/Linux-v6.6/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local 375 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey() 405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local 406 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_setkey() 682 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req() 920 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result() 1001 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 1012 req->cryptlen + crypto_aead_authsize(tfm), in safexcel_aead_handle_result() 1022 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_send_inv() 1040 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_skcipher_send() [all …]
|