Home
last modified time | relevance | path

Searched refs:crypto_skcipher_ivsize (Results 1 – 25 of 43) sorted by relevance

12

/linux-5.19.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c462 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
464 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
469 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
471 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
527 if (crypto_skcipher_ivsize(atfm)) { in sec_skcipher_alg_callback()
529 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
761 if (crypto_skcipher_ivsize(atfm)) { in sec_alg_skcipher_crypto()
763 crypto_skcipher_ivsize(atfm), in sec_alg_skcipher_crypto()
844 if (crypto_skcipher_ivsize(atfm)) in sec_alg_skcipher_crypto()
846 crypto_skcipher_ivsize(atfm), in sec_alg_skcipher_crypto()
/linux-5.19.10/crypto/
Dalgif_skcipher.c45 unsigned ivsize = crypto_skcipher_ivsize(tfm); in skcipher_sendmsg()
317 sock_kzfree_s(sk, ctx->iv, crypto_skcipher_ivsize(tfm)); in skcipher_sock_destruct()
334 ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), in skcipher_accept_parent_nokey()
340 memset(ctx->iv, 0, crypto_skcipher_ivsize(tfm)); in skcipher_accept_parent_nokey()
/linux-5.19.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c40 if (areq->cryptlen < crypto_skcipher_ivsize(tfm)) { in sun8i_ce_cipher_need_fallback()
141 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sun8i_ce_cipher_prepare()
190 ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ce_cipher_prepare()
191 if (areq->iv && crypto_skcipher_ivsize(tfm) > 0) { in sun8i_ce_cipher_prepare()
331 ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ce_cipher_unprepare()
/linux-5.19.10/include/crypto/
Dskcipher.h255 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize() function
263 return crypto_skcipher_ivsize(&tfm->base); in crypto_sync_skcipher_ivsize()
/linux-5.19.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c124 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ss_setup_ivs()
201 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sun8i_ss_cipher()
219 ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ss_cipher()
220 if (areq->iv && crypto_skcipher_ivsize(tfm) > 0) { in sun8i_ss_cipher()
/linux-5.19.10/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c206 ivsize = crypto_skcipher_ivsize(cipher); in rk_ablk_hw_init()
250 u32 ivsize = crypto_skcipher_ivsize(tfm); in rk_set_data_start()
298 u32 ivsize = crypto_skcipher_ivsize(tfm); in rk_iv_copyback()
318 u32 ivsize = crypto_skcipher_ivsize(tfm); in rk_update_iv()
/linux-5.19.10/Documentation/crypto/
Dapi-skcipher.rst17 …: crypto_alloc_skcipher crypto_free_skcipher crypto_has_skcipher crypto_skcipher_ivsize crypto_skc…
/linux-5.19.10/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c84 int ivsize = crypto_skcipher_ivsize(cipher); in nitrox_cbc_cipher_callback()
252 int ivsize = crypto_skcipher_ivsize(cipher); in nitrox_skcipher_crypt()
294 int ivsize = crypto_skcipher_ivsize(cipher); in nitrox_cbc_decrypt()
/linux-5.19.10/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c109 rctx->op_dir, crypto_skcipher_ivsize(tfm), in meson_cipher()
129 ivsize = crypto_skcipher_ivsize(tfm); in meson_cipher()
/linux-5.19.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.c102 u32 enc_iv_len = crypto_skcipher_ivsize(tfm); in create_ctx_hdr()
197 u32 enc_iv_len = crypto_skcipher_ivsize(tfm); in cvm_enc_dec()
/linux-5.19.10/tools/testing/crypto/chacha20-s390/
Dtest-cipher.c225 crypto_skcipher_ivsize(sk.tfm), in test_skcipher()
/linux-5.19.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c20 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_opti_poll()
184 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_cipher_poll()
/linux-5.19.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c160 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback()
241 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr()
281 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
345 u32 enc_iv_len = crypto_skcipher_ivsize(stfm); in cpt_enc_dec()
/linux-5.19.10/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c142 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback()
226 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr()
266 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
354 u32 enc_iv_len = crypto_skcipher_ivsize(stfm); in cpt_enc_dec()
/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c259 int iv_size = crypto_skcipher_ivsize(tfm); in kmb_ocs_sk_validate_input()
406 int iv_size = crypto_skcipher_ivsize(tfm); in kmb_ocs_sk_prepare_inplace()
523 int iv_size = crypto_skcipher_ivsize(tfm); in kmb_ocs_sk_run()
/linux-5.19.10/drivers/crypto/caam/
Dcaamalg_qi.c625 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_setkey()
905 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_unmap()
1212 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_done()
1256 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_edesc_alloc()
1399 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in xts_skcipher_ivsize()
Dcaamalg.c737 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_setkey()
961 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_unmap()
1009 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_crypt_done()
1239 int ivsize = crypto_skcipher_ivsize(skcipher); in init_skcipher_job()
1609 int ivsize = crypto_skcipher_ivsize(skcipher); in skcipher_edesc_alloc()
1784 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in xts_skcipher_ivsize()
/linux-5.19.10/drivers/crypto/gemini/
Dsl3516-ce-cipher.c144 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sl3516_ce_cipher()
/linux-5.19.10/fs/crypto/
Dkeysetup.c107 if (WARN_ON(crypto_skcipher_ivsize(tfm) != mode->ivsize)) { in fscrypt_allocate_skcipher()
/linux-5.19.10/drivers/crypto/qce/
Dskcipher.c78 rctx->ivsize = crypto_skcipher_ivsize(skcipher); in qce_skcipher_async_req_handle()
/linux-5.19.10/drivers/crypto/
Datmel-tdes.c563 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_tdes_set_iv_as_last_ciphertext_block()
726 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_tdes_crypt()
Datmel-aes.c491 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_set_iv_as_last_ciphertext_block()
520 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_ctr_update_req_iv()
1150 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_crypt()
/linux-5.19.10/drivers/crypto/virtio/
Dvirtio_crypto_skcipher_algs.c332 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in __virtio_crypto_skcipher_do_req()
/linux-5.19.10/drivers/crypto/ccree/
Dcc_cipher.c865 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_complete()
883 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_process()
/linux-5.19.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c658 crypto_skcipher_ivsize(skcipher), in safexcel_handle_req_result()
660 crypto_skcipher_ivsize(skcipher))); in safexcel_handle_req_result()
717 crypto_skcipher_ivsize(skcipher), in safexcel_send_req()
719 crypto_skcipher_ivsize(skcipher))); in safexcel_send_req()
1040 memcpy(input_iv, req->iv, crypto_skcipher_ivsize(skcipher)); in safexcel_skcipher_send()

12