Home
last modified time | relevance | path

Searched refs:ENCRYPT (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/crypto/
Dtcrypt.c46 #define ENCRYPT 1 macro
153 if (enc == ENCRYPT) in do_mult_aead_op()
265 if (enc == ENCRYPT) in test_mb_aead_speed()
546 if (enc == ENCRYPT) in test_aead_speed()
970 if (enc == ENCRYPT) in do_mult_acipher_op()
1070 if (enc == ENCRYPT) in test_mb_skcipher_speed()
1312 if (enc == ENCRYPT) in test_skcipher_speed()
1857 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1861 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1865 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
[all …]
Dtestmgr.c80 #define ENCRYPT 1 macro
2500 err = test_aead_vec_cfg(ENCRYPT, &ctx->vec, in test_aead_vs_generic_impl()
2634 err = test_aead(ENCRYPT, suite, req, tsgls); in alg_test_aead()
2666 if (enc == ENCRYPT) in test_cipher()
3118 err = test_skcipher_vec_cfg(ENCRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl()
3202 err = test_skcipher(ENCRYPT, suite, req, tsgls); in alg_test_skcipher()
3598 err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); in alg_test_cipher()
/Linux-v6.1/drivers/crypto/caam/
Dcaamalg_qi.c258 if (ctx->drv_ctx[ENCRYPT]) { in aead_setkey()
259 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in aead_setkey()
382 if (ctx->drv_ctx[ENCRYPT]) { in gcm_setkey()
383 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in gcm_setkey()
490 if (ctx->drv_ctx[ENCRYPT]) { in rfc4106_setkey()
491 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4106_setkey()
596 if (ctx->drv_ctx[ENCRYPT]) { in rfc4543_setkey()
597 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4543_setkey()
643 if (ctx->drv_ctx[ENCRYPT]) { in skcipher_setkey()
644 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in skcipher_setkey()
[all …]
Dqi.h37 ENCRYPT, enumerator
Dcaamalg_qi2.h164 ENCRYPT = 0, enumerator
Dcaamalg_qi2.c235 flc = &ctx->flc[ENCRYPT]; in aead_set_sh_desc()
249 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc()
599 flc = &ctx->flc[ENCRYPT]; in chachapoly_set_sh_desc()
604 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc()
674 flc = &ctx->flc[ENCRYPT]; in gcm_set_sh_desc()
678 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc()
767 flc = &ctx->flc[ENCRYPT]; in rfc4106_set_sh_desc()
772 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc()
868 flc = &ctx->flc[ENCRYPT]; in rfc4543_set_sh_desc()
873 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc()
[all …]
/Linux-v6.1/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback()
264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt()
Dnitrox_aead.c237 rctx->ctrl_arg = ENCRYPT; in nitrox_aes_gcm_enc()
457 aead_rctx->ctrl_arg = ENCRYPT; in nitrox_rfc4106_enc()
Dnitrox_req.h85 #define ENCRYPT 0 macro
/Linux-v6.1/fs/ecryptfs/
Dcrypto.c30 #define ENCRYPT 1 macro
335 rc = op == ENCRYPT ? crypto_skcipher_encrypt(req) : in crypt_scatterlist()
379 pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; in crypt_extent()
459 extent_offset, ENCRYPT); in ecryptfs_encrypt_page()
/Linux-v6.1/fs/ext4/
Dext4.h577 CHECK_FLAG_VALUE(ENCRYPT); in ext4_check_flag_values()
2140 EXT4_FEATURE_INCOMPAT_FUNCS(encrypt, ENCRYPT) in EXT4_FEATURE_COMPAT_FUNCS()
/Linux-v6.1/fs/f2fs/
Dsysfs.c1046 F2FS_SB_FEATURE_RO_ATTR(encryption, ENCRYPT);
Df2fs.h4379 F2FS_FEATURE_FUNCS(encrypt, ENCRYPT);
/Linux-v6.1/Documentation/security/keys/
Dcore.rst943 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}
1777 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}