/kernel/linux/linux-6.6/crypto/ |
H A D | tcrypt.c | 49 #define ENCRYPT 1 macro 156 if (enc == ENCRYPT) in do_mult_aead_op() 268 if (enc == ENCRYPT) in test_mb_aead_speed() 549 if (enc == ENCRYPT) in test_aead_speed() 973 if (enc == ENCRYPT) in do_mult_acipher_op() 1073 if (enc == ENCRYPT) in test_mb_skcipher_speed() 1306 if (enc == ENCRYPT) in test_skcipher_speed() 1859 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1863 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1867 test_cipher_speed("lrw(aes)", ENCRYPT, se in do_test() [all...] |
H A D | testmgr.c | 80 #define ENCRYPT 1 macro 2570 err = test_aead_vec_cfg(ENCRYPT, &ctx->vec, in test_aead_vs_generic_impl() 2705 err = test_aead(ENCRYPT, suite, req, tsgls); in alg_test_aead() 2737 if (enc == ENCRYPT) in test_cipher() 3198 err = test_skcipher_vec_cfg(ENCRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl() 3282 err = test_skcipher(ENCRYPT, suite, req, tsgls); in alg_test_skcipher() 3678 err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); in alg_test_cipher()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | tcrypt.c | 46 #define ENCRYPT 1 macro 164 if (enc == ENCRYPT) in do_mult_aead_op() 276 if (enc == ENCRYPT) in test_mb_aead_speed() 550 if (enc == ENCRYPT) in test_aead_speed() 1162 if (enc == ENCRYPT) in do_mult_acipher_op() 1262 if (enc == ENCRYPT) in test_mb_skcipher_speed() 1494 if (enc == ENCRYPT) in test_skcipher_speed() 2045 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test() 2049 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test() 2053 test_cipher_speed("lrw(aes)", ENCRYPT, se in do_test() [all...] |
H A D | testmgr.c | 80 #define ENCRYPT 1 macro 2457 err = test_aead_vec_cfg(driver, ENCRYPT, &ctx->vec, in test_aead_vs_generic_impl() 2595 err = test_aead(driver, ENCRYPT, suite, req, tsgls); in alg_test_aead() 2627 if (enc == ENCRYPT) in test_cipher() 3080 err = test_skcipher_vec_cfg(driver, ENCRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl() 3166 err = test_skcipher(driver, ENCRYPT, suite, req, tsgls); in alg_test_skcipher() 3534 err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); in alg_test_cipher()
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caamalg_qi.c | 258 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...] |
H A D | qi.h | 37 ENCRYPT, enumerator
|
H A D | caamalg_qi2.h | 164 ENCRYPT = 0, enumerator
|
H A D | caamalg_qi2.c | 232 flc = &ctx->flc[ENCRYPT]; in aead_set_sh_desc() 246 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc() 596 flc = &ctx->flc[ENCRYPT]; in chachapoly_set_sh_desc() 601 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc() 672 flc = &ctx->flc[ENCRYPT]; in gcm_set_sh_desc() 676 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc() 765 flc = &ctx->flc[ENCRYPT]; in rfc4106_set_sh_desc() 770 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc() 866 flc = &ctx->flc[ENCRYPT]; in rfc4543_set_sh_desc() 871 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caamalg_qi.c | 263 if (ctx->drv_ctx[ENCRYPT]) { in aead_setkey() 264 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in aead_setkey() 387 if (ctx->drv_ctx[ENCRYPT]) { in gcm_setkey() 388 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in gcm_setkey() 495 if (ctx->drv_ctx[ENCRYPT]) { in rfc4106_setkey() 496 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4106_setkey() 601 if (ctx->drv_ctx[ENCRYPT]) { in rfc4543_setkey() 602 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4543_setkey() 648 if (ctx->drv_ctx[ENCRYPT]) { in skcipher_setkey() 649 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in skcipher_setkey() [all...] |
H A D | qi.h | 39 ENCRYPT, enumerator
|
H A D | caamalg_qi2.h | 162 ENCRYPT = 0, enumerator
|
H A D | caamalg_qi2.c | 237 flc = &ctx->flc[ENCRYPT]; in aead_set_sh_desc() 251 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc() 601 flc = &ctx->flc[ENCRYPT]; in chachapoly_set_sh_desc() 606 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc() 677 flc = &ctx->flc[ENCRYPT]; in gcm_set_sh_desc() 681 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc() 770 flc = &ctx->flc[ENCRYPT]; in rfc4106_set_sh_desc() 775 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc() 871 flc = &ctx->flc[ENCRYPT]; in rfc4543_set_sh_desc() 876 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_skcipher.c | 92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback() 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt()
|
H A D | nitrox_aead.c | 238 rctx->ctrl_arg = ENCRYPT; in nitrox_aes_gcm_enc() 458 aead_rctx->ctrl_arg = ENCRYPT; in nitrox_rfc4106_enc()
|
H A D | nitrox_req.h | 85 #define ENCRYPT 0 macro 231 * @ctrl_arg: Identifies the request type (ENCRYPT/DECRYPT)
|
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_skcipher.c | 92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback() 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt()
|
H A D | nitrox_aead.c | 237 rctx->ctrl_arg = ENCRYPT; in nitrox_aes_gcm_enc() 457 aead_rctx->ctrl_arg = ENCRYPT; in nitrox_rfc4106_enc()
|
H A D | nitrox_req.h | 85 #define ENCRYPT 0 macro 232 * @ctrl_arg: Identifies the request type (ENCRYPT/DECRYPT)
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | crypto.c | 30 #define ENCRYPT 1 macro 286 * @op: ENCRYPT or DECRYPT to indicate the desired operation 337 rc = op == ENCRYPT ? crypto_skcipher_encrypt(req) : in crypt_scatterlist() 370 * @op: ENCRYPT or DECRYPT to indicate the desired operation 381 pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; in crypt_extent() 461 extent_offset, ENCRYPT); in ecryptfs_encrypt_page()
|
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | crypto.c | 30 #define ENCRYPT 1 macro 270 * @op: ENCRYPT or DECRYPT to indicate the desired operation 317 rc = op == ENCRYPT ? crypto_skcipher_encrypt(req) : in crypt_scatterlist() 344 * @op: ENCRYPT or DECRYPT to indicate the desired operation 355 pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; in crypt_extent() 435 extent_offset, ENCRYPT); in ecryptfs_encrypt_page()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ext4.h | 572 CHECK_FLAG_VALUE(ENCRYPT); in ext4_check_flag_values() 2044 EXT4_FEATURE_INCOMPAT_FUNCS(encrypt, ENCRYPT)
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | ext4.h | 630 CHECK_FLAG_VALUE(ENCRYPT); in ext4_check_flag_values() 2140 EXT4_FEATURE_INCOMPAT_FUNCS(encrypt, ENCRYPT)
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | sysfs.c | 1207 F2FS_SB_FEATURE_RO_ATTR(encryption, ENCRYPT);
|
H A D | f2fs.h | 4434 F2FS_FEATURE_FUNCS(encrypt, ENCRYPT);
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | f2fs.h | 4018 F2FS_FEATURE_FUNCS(encrypt, ENCRYPT);
|