Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/crypto/
Dtcrypt.c47 #define DECRYPT 0 macro
2047 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test()
2051 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test()
2055 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test()
2059 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test()
2063 test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0, in do_test()
2067 test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0, in do_test()
2071 test_cipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0, in do_test()
2079 test_cipher_speed("ecb(des3_ede)", DECRYPT, sec, in do_test()
2085 test_cipher_speed("cbc(des3_ede)", DECRYPT, sec, in do_test()
[all …]
Dtestmgr.c81 #define DECRYPT 0 macro
2361 err = test_aead_vec_cfg(ctx->driver, DECRYPT, &ctx->vec, in test_aead_inauthentic_inputs()
2464 err = test_aead_vec_cfg(driver, DECRYPT, &ctx->vec, in test_aead_vs_generic_impl()
2599 err = test_aead(driver, DECRYPT, suite, req, tsgls); in alg_test_aead()
3084 err = test_skcipher_vec_cfg(driver, DECRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl()
3170 err = test_skcipher(driver, DECRYPT, suite, req, tsgls); in alg_test_skcipher()
3536 err = test_cipher(tfm, DECRYPT, suite->vecs, suite->count); in alg_test_cipher()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg_qi.c267 if (ctx->drv_ctx[DECRYPT]) { in aead_setkey()
268 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey()
391 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
392 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
499 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
500 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
605 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
606 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
652 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey()
653 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey()
[all …]
Dqi.h38 DECRYPT, enumerator
Dcaamalg_qi2.h165 DECRYPT, enumerator
Dcaamalg_qi2.c260 flc = &ctx->flc[DECRYPT]; in aead_set_sh_desc()
267 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in aead_set_sh_desc()
605 flc = &ctx->flc[DECRYPT]; in chachapoly_set_sh_desc()
610 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in chachapoly_set_sh_desc()
691 flc = &ctx->flc[DECRYPT]; in gcm_set_sh_desc()
695 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in gcm_set_sh_desc()
784 flc = &ctx->flc[DECRYPT]; in rfc4106_set_sh_desc()
789 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4106_set_sh_desc()
885 flc = &ctx->flc[DECRYPT]; in rfc4543_set_sh_desc()
890 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4543_set_sh_desc()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c272 rctx->ctrl_arg = DECRYPT; in nitrox_aes_gcm_dec()
491 aead_rctx->ctrl_arg = DECRYPT; in nitrox_rfc4106_dec()
Dnitrox_req.h86 #define DECRYPT 1 macro
Dnitrox_skcipher.c264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt()
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/
Dtpm2.py293 DECRYPT = (1 << 17) variable in Public
550 Public.DECRYPT
/kernel/linux/linux-5.10/fs/ecryptfs/
Dcrypto.c29 #define DECRYPT 0 macro
534 extent_offset, DECRYPT); in ecryptfs_decrypt_page()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch1007 + if (ctx->drv_ctx[DECRYPT]) {
1008 + ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT],
1133 + drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT);
1624 + flc = &ctx->flc[DECRYPT];
1629 + dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT],
1789 + return aead_crypt(req, DECRYPT);
1829 - caam_req->flc = &ctx->flc[DECRYPT];
1830 - caam_req->flc_dma = ctx->flc_dma[DECRYPT];
1859 + return tls_crypt(req, DECRYPT);
1984 - caam_req->flc = &ctx->flc[DECRYPT];
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0003_linux_crypto.patch406 + err = test_tls(tfm, DECRYPT, desc->suite.tls.dec.vecs,
/kernel/linux/linux-5.10/Documentation/security/keys/
Dcore.rst943 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}
1777 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}