/openbmc/linux/crypto/ |
H A D | tcrypt.c | 50 #define DECRYPT 0 macro 1861 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test() 1865 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test() 1869 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test() 1873 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test() 1877 test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0, in do_test() 1881 test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0, in do_test() 1885 test_cipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0, in do_test() 1893 test_cipher_speed("ecb(des3_ede)", DECRYPT, sec, in do_test() 1899 test_cipher_speed("cbc(des3_ede)", DECRYPT, sec, in do_test() [all …]
|
H A D | testmgr.c | 81 #define DECRYPT 0 macro 2473 err = test_aead_vec_cfg(DECRYPT, &ctx->vec, in test_aead_inauthentic_inputs() 2577 err = test_aead_vec_cfg(DECRYPT, &ctx->vec, in test_aead_vs_generic_impl() 2709 err = test_aead(DECRYPT, suite, req, tsgls); in alg_test_aead() 3202 err = test_skcipher_vec_cfg(DECRYPT, &vec, vec_name, in test_skcipher_vs_generic_impl() 3286 err = test_skcipher(DECRYPT, suite, req, tsgls); in alg_test_skcipher() 3680 err = test_cipher(tfm, DECRYPT, suite->vecs, suite->count); in alg_test_cipher()
|
/openbmc/qemu/crypto/ |
H A D | cipher-nettle.c.inc | 80 #define DEFINE_ECB(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ 98 DECRYPT(&ctx->key, len, out, in); \ 109 #define DEFINE_CBC(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ 127 cbc_decrypt(&ctx->key, DECRYPT, BLEN, ctx->iv, len, out, in); \ 158 #define DEFINE__XTS(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ 167 DECRYPT((const void *)ctx, length, dst, src); \ 194 #define DEFINE__XTS(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ 213 xts_decrypt_message(&ctx->key, &ctx->key_xts, DECRYPT, ENCRYPT, \ 219 #define DEFINE_XTS(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ 221 DEFINE__XTS(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \ [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamalg_qi.c | 272 if (ctx->drv_ctx[DECRYPT]) { in aead_setkey() 273 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey() 396 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey() 397 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey() 504 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey() 505 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey() 610 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey() 611 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey() 657 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey() 658 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey() [all …]
|
H A D | qi.h | 40 DECRYPT, enumerator
|
H A D | caamalg_qi2.h | 163 DECRYPT, enumerator
|
H A D | caamalg_qi2.c | 265 flc = &ctx->flc[DECRYPT]; in aead_set_sh_desc() 272 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in aead_set_sh_desc() 610 flc = &ctx->flc[DECRYPT]; in chachapoly_set_sh_desc() 615 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in chachapoly_set_sh_desc() 697 flc = &ctx->flc[DECRYPT]; in gcm_set_sh_desc() 701 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in gcm_set_sh_desc() 790 flc = &ctx->flc[DECRYPT]; in rfc4106_set_sh_desc() 795 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4106_set_sh_desc() 891 flc = &ctx->flc[DECRYPT]; in rfc4543_set_sh_desc() 896 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4543_set_sh_desc() [all …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 271 rctx->ctrl_arg = DECRYPT; in nitrox_aes_gcm_dec() 490 aead_rctx->ctrl_arg = DECRYPT; in nitrox_rfc4106_dec()
|
H A D | nitrox_req.h | 86 #define DECRYPT 1 macro
|
H A D | nitrox_skcipher.c | 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt()
|
/openbmc/linux/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 294 DECRYPT = (1 << 17) variable in Public 551 Public.DECRYPT
|
/openbmc/linux/fs/ecryptfs/ |
H A D | crypto.c | 29 #define DECRYPT 0 macro 508 extent_offset, DECRYPT); in ecryptfs_decrypt_page()
|
/openbmc/linux/Documentation/security/keys/ |
H A D | core.rst | 943 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY} 1777 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}
|