/Linux-v5.10/crypto/ |
D | tcrypt.c | 47 #define DECRYPT 0 macro 2056 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test() 2060 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test() 2064 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test() 2068 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test() 2072 test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0, in do_test() 2076 test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0, in do_test() 2080 test_cipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0, in do_test() 2088 test_cipher_speed("ecb(des3_ede)", DECRYPT, sec, in do_test() 2094 test_cipher_speed("cbc(des3_ede)", DECRYPT, sec, in do_test() [all …]
|
D | chacha_generic.c | 84 .decrypt = crypto_chacha_crypt, 99 .decrypt = crypto_xchacha_crypt, 114 .decrypt = crypto_xchacha_crypt,
|
/Linux-v5.10/drivers/crypto/caam/ |
D | caamalg_qi.c | 267 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() 636 /* skcipher encrypt, decrypt shared descriptors */ in skcipher_setkey() 652 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey() [all …]
|
D | caamalg.c | 1870 .decrypt = skcipher_decrypt, 1886 .decrypt = skcipher_decrypt, 1902 .decrypt = skcipher_decrypt, 1918 .decrypt = skcipher_decrypt, 1936 .decrypt = skcipher_decrypt, 1960 .decrypt = skcipher_decrypt, 1976 .decrypt = skcipher_decrypt, 1991 .decrypt = skcipher_decrypt, 2006 .decrypt = skcipher_decrypt, 2025 .decrypt = ipsec_gcm_decrypt, [all …]
|
D | caamalg_qi2.c | 260 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 …]
|
/Linux-v5.10/drivers/crypto/ |
D | padlock-aes.c | 67 struct cword decrypt; member 133 ctx->cword.decrypt.encdec = 1; in aes_set_key() 135 ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds; in aes_set_key() 137 ctx->cword.decrypt.ksize = ctx->cword.encrypt.ksize; in aes_set_key() 145 ctx->cword.decrypt.keygen = 1; in aes_set_key() 156 &ctx->cword.decrypt == per_cpu(paes_last_cword, cpu)) in aes_set_key() 320 ecb_crypt(in, out, ctx->D, &ctx->cword.decrypt, 1); in padlock_aes_decrypt() 377 padlock_reset_key(&ctx->cword.decrypt); in ecb_aes_decrypt() 383 ctx->D, &ctx->cword.decrypt, in ecb_aes_decrypt() 406 .decrypt = ecb_aes_decrypt, [all …]
|
D | ixp4xx_crypto.c | 177 struct ix_sa_dir decrypt; member 402 *(u32*)ctx->decrypt.npe_ctx &= cpu_to_be32(~CIPH_ENCR); in one_packet() 568 ret = init_sa_dir(&ctx->decrypt); in init_tfm() 591 free_sa_dir(&ctx->decrypt); in exit_tfm() 671 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in setup_auth() 711 struct ix_sa_dir *dir = &ctx->decrypt; in gen_rev_aes_key() 745 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in setup_cipher() 829 reset_sa_dir(&ctx->decrypt); in ablk_setkey() 832 ctx->decrypt.npe_mode = NPE_OP_HMAC_DISABLE; in ablk_setkey() 887 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in ablk_perform() [all …]
|
/Linux-v5.10/fs/crypto/ |
D | crypto.c | 92 /* Encrypt or decrypt a single filesystem block of file contents */ 231 * fscrypt_decrypt_pagecache_blocks() - Decrypt filesystem blocks in a 233 * @page: The locked pagecache page containing the block(s) to decrypt 234 * @len: Total size of the block(s) to decrypt. Must be a nonzero 236 * @offs: Byte offset within @page of the first block to decrypt. Must be 275 * fscrypt_decrypt_block_inplace() - Decrypt a filesystem block in-place 277 * @page: The page containing the block to decrypt 278 * @len: Size of block to decrypt. Doesn't need to be a multiple of the 280 * @offs: Byte offset within @page at which the block to decrypt begins 284 * Decrypt a possibly-compressed filesystem block that is located in an
|
/Linux-v5.10/drivers/crypto/ccree/ |
D | cc_cipher.c | 895 "Encrypt" : "Decrypt"), req, iv, nbytes); in cc_cipher_process() 1014 .decrypt = cc_cipher_decrypt, 1032 .decrypt = cc_cipher_decrypt, 1050 .decrypt = cc_cipher_decrypt, 1068 .decrypt = cc_cipher_decrypt, 1086 .decrypt = cc_cipher_decrypt, 1104 .decrypt = cc_cipher_decrypt, 1122 .decrypt = cc_cipher_decrypt, 1144 .decrypt = cc_cipher_decrypt, 1161 .decrypt = cc_cipher_decrypt, [all …]
|
/Linux-v5.10/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 70 const unsigned int ivlen, bool decrypt, in crypto4xx_crypt() argument 84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt() 325 bool is_ccm, bool decrypt) in crypto4xx_aead_need_fallback() argument 441 static int crypto4xx_crypt_aes_ccm(struct aead_request *req, bool decrypt) in crypto4xx_crypt_aes_ccm() argument 451 if (decrypt) in crypto4xx_crypt_aes_ccm() 454 if (crypto4xx_aead_need_fallback(req, len, true, decrypt)) in crypto4xx_crypt_aes_ccm() 455 return crypto4xx_aead_fallback(req, ctx, decrypt); in crypto4xx_crypt_aes_ccm() 457 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4); in crypto4xx_crypt_aes_ccm() 588 bool decrypt) in crypto4xx_crypt_aes_gcm() argument 595 if (decrypt) in crypto4xx_crypt_aes_gcm() [all …]
|
/Linux-v5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_skcipher.c | 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt() 402 .decrypt = nitrox_cbc_decrypt, 421 .decrypt = nitrox_aes_decrypt, 440 .decrypt = nitrox_aes_decrypt, 459 .decrypt = nitrox_aes_decrypt, 480 .decrypt = nitrox_aes_decrypt, 497 .decrypt = nitrox_aes_decrypt, 516 .decrypt = nitrox_cbc_decrypt, 535 .decrypt = nitrox_3des_decrypt,
|
/Linux-v5.10/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 695 * removed from the output for decrypt! in safexcel_send_req() 711 * Save IV from last crypto input word for CBC modes in decrypt in safexcel_send_req() 858 * Special case: AEAD decrypt with only AAD data. in safexcel_send_req() 1036 * Save input IV in case of CBC decrypt mode in safexcel_skcipher_send() 1277 .decrypt = safexcel_decrypt, 1314 .decrypt = safexcel_decrypt, 1352 .decrypt = safexcel_decrypt, 1390 .decrypt = safexcel_decrypt, 1464 .decrypt = safexcel_decrypt, 1526 .decrypt = safexcel_decrypt, [all …]
|
/Linux-v5.10/arch/sparc/crypto/ |
D | aes_glue.c | 37 void (*decrypt)(const u64 *key, const u32 *input, u32 *output); member 131 .decrypt = aes_sparc64_decrypt_128, 143 .decrypt = aes_sparc64_decrypt_192, 155 .decrypt = aes_sparc64_decrypt_256, 216 ctx->ops->decrypt(&ctx->key[0], (const u32 *) src, (u32 *) dst); in crypto_aes_decrypt() 395 .decrypt = ecb_decrypt, 409 .decrypt = cbc_decrypt, 423 .decrypt = ctr_crypt,
|
/Linux-v5.10/arch/arm/crypto/ |
D | chacha-glue.c | 209 .decrypt = chacha_arm, 224 .decrypt = xchacha_arm, 239 .decrypt = xchacha_arm, 259 .decrypt = chacha_neon, 275 .decrypt = xchacha_neon, 291 .decrypt = xchacha_neon,
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | s390-pv-boot.rst | 17 KVM to decrypt the protected virtual machine. 21 PVM, decrypt the components and verify the data and address list 57 decrypt and verify the PV, as well as control flags and a start PSW.
|
/Linux-v5.10/include/crypto/ |
D | skcipher.h | 17 * @cryptlen: Number of bytes to encrypt or decrypt 80 * @decrypt: Decrypt a single block. This is a reverse counterpart to @encrypt 94 * IV of exactly that size to perform the encrypt or decrypt operation. 108 int (*decrypt)(struct skcipher_request *req); member 420 * crypto_skcipher_decrypt() - decrypt ciphertext 424 * Decrypt ciphertext data using the skcipher_request handle. That data 486 * encrypt and decrypt API calls. During the allocation, the provided skcipher
|
D | akcipher.h | 66 * @decrypt: Function performs a decrypt operation as defined by public key 96 int (*decrypt)(struct akcipher_request *req); member 300 * crypto_akcipher_decrypt() - Invoke public key decrypt operation 302 * Function invokes the specific public key decrypt operation for a given 318 ret = alg->decrypt(req); in crypto_akcipher_decrypt()
|
/Linux-v5.10/arch/x86/crypto/ |
D | serpent_avx2_glue.c | 193 .decrypt = ecb_decrypt, 207 .decrypt = cbc_decrypt, 222 .decrypt = ctr_crypt, 236 .decrypt = xts_decrypt,
|
D | camellia_aesni_avx2_glue.c | 204 .decrypt = ecb_decrypt, 218 .decrypt = cbc_decrypt, 233 .decrypt = ctr_crypt, 247 .decrypt = xts_decrypt,
|
D | cast6_avx_glue.c | 222 .decrypt = ecb_decrypt, 236 .decrypt = cbc_decrypt, 251 .decrypt = ctr_crypt, 265 .decrypt = xts_decrypt,
|
D | camellia_aesni_avx_glue.c | 226 .decrypt = ecb_decrypt, 240 .decrypt = cbc_decrypt, 255 .decrypt = ctr_crypt, 269 .decrypt = xts_decrypt,
|
/Linux-v5.10/arch/mips/crypto/ |
D | chacha-glue.c | 95 .decrypt = chacha_mips, 110 .decrypt = xchacha_mips, 125 .decrypt = xchacha_mips,
|
/Linux-v5.10/arch/s390/crypto/ |
D | des_s390.c | 157 .decrypt = ecb_des_decrypt, 182 .decrypt = cbc_des_decrypt, 275 .decrypt = ecb_des3_decrypt, 300 .decrypt = cbc_des3_decrypt, 373 .decrypt = ctr_des_crypt, 394 .decrypt = ctr_des3_crypt,
|
/Linux-v5.10/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 359 .decrypt = cvm_decrypt, 377 .decrypt = cvm_decrypt, 394 .decrypt = cvm_decrypt, 412 .decrypt = cvm_decrypt, 430 .decrypt = cvm_decrypt, 448 .decrypt = cvm_decrypt,
|
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-core.c | 93 .decrypt = sun4i_ss_cbc_aes_decrypt, 115 .decrypt = sun4i_ss_ecb_aes_decrypt, 136 .decrypt = sun4i_ss_cbc_des_decrypt, 158 .decrypt = sun4i_ss_ecb_des_decrypt, 179 .decrypt = sun4i_ss_cbc_des3_decrypt, 201 .decrypt = sun4i_ss_ecb_des3_decrypt,
|