| /linux/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() 1842 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1846 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1850 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test() [all …]
|
| H A D | testmgr.c | 81 #define ENCRYPT 1 macro 2568 err = test_aead_vec_cfg(ENCRYPT, &ctx->vec, in test_aead_vs_generic_impl() 2697 err = test_aead(ENCRYPT, suite, req, tsgls); in alg_test_aead() 2729 if (enc == ENCRYPT) in test_cipher() 3176 err = test_skcipher_vec_cfg(ENCRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl() 3254 err = test_skcipher(ENCRYPT, suite, req, tsgls); in alg_test_skcipher() 3455 err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); in alg_test_cipher()
|
| /linux/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.c | 238 flc = &ctx->flc[ENCRYPT]; in aead_set_sh_desc() 252 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc() 602 flc = &ctx->flc[ENCRYPT]; in chachapoly_set_sh_desc() 607 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc() 678 flc = &ctx->flc[ENCRYPT]; in gcm_set_sh_desc() 682 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc() 771 flc = &ctx->flc[ENCRYPT]; in rfc4106_set_sh_desc() 776 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc() 872 flc = &ctx->flc[ENCRYPT]; in rfc4543_set_sh_desc() 877 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc() [all...] |
| /linux/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
|
| /linux/fs/ecryptfs/ |
| H A D | crypto.c | 30 #define ENCRYPT 1 macro 264 rc = op == ENCRYPT ? crypto_skcipher_encrypt(req) : in crypt_scatterlist() 377 extent_offset, ENCRYPT); in ecryptfs_encrypt_page()
|
| /linux/fs/ext4/ |
| H A D | ext4.h | 643 CHECK_FLAG_VALUE(ENCRYPT); in ext4_check_flag_values() 2226 EXT4_FEATURE_INCOMPAT_FUNCS(encrypt, ENCRYPT) in EXT4_FEATURE_COMPAT_FUNCS()
|
| /linux/Documentation/security/keys/ |
| H A D | core.rst | 943 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY} 1777 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}
|