/Linux-v6.1/crypto/ |
D | tcrypt.c | 47 #define DECRYPT 0 macro 1859 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test() 1863 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test() 1867 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test() 1871 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test() 1875 test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0, in do_test() 1879 test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0, in do_test() 1883 test_cipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0, in do_test() 1891 test_cipher_speed("ecb(des3_ede)", DECRYPT, sec, in do_test() 1897 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-v6.1/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 | 1876 .decrypt = skcipher_decrypt, 1892 .decrypt = skcipher_decrypt, 1908 .decrypt = skcipher_decrypt, 1924 .decrypt = skcipher_decrypt, 1942 .decrypt = skcipher_decrypt, 1966 .decrypt = skcipher_decrypt, 1982 .decrypt = skcipher_decrypt, 1997 .decrypt = skcipher_decrypt, 2012 .decrypt = skcipher_decrypt, 2031 .decrypt = ipsec_gcm_decrypt, [all …]
|
D | caamalg_qi2.c | 263 flc = &ctx->flc[DECRYPT]; in aead_set_sh_desc() 270 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in aead_set_sh_desc() 608 flc = &ctx->flc[DECRYPT]; in chachapoly_set_sh_desc() 613 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in chachapoly_set_sh_desc() 694 flc = &ctx->flc[DECRYPT]; in gcm_set_sh_desc() 698 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in gcm_set_sh_desc() 787 flc = &ctx->flc[DECRYPT]; in rfc4106_set_sh_desc() 792 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4106_set_sh_desc() 888 flc = &ctx->flc[DECRYPT]; in rfc4543_set_sh_desc() 893 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4543_set_sh_desc() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/fs/crypto/ |
D | crypto.c | 100 /* Encrypt or decrypt a single filesystem block of file contents */ 239 * fscrypt_decrypt_pagecache_blocks() - Decrypt filesystem blocks in a 241 * @page: The locked pagecache page containing the block(s) to decrypt 242 * @len: Total size of the block(s) to decrypt. Must be a nonzero 244 * @offs: Byte offset within @page of the first block to decrypt. Must be 283 * fscrypt_decrypt_block_inplace() - Decrypt a filesystem block in-place 285 * @page: The page containing the block to decrypt 286 * @len: Size of block to decrypt. This must be a multiple of 288 * @offs: Byte offset within @page at which the block to decrypt begins 292 * Decrypt a possibly-compressed filesystem block that is located in an
|
D | bio.c | 17 * fscrypt_decrypt_bio() - decrypt the contents of a bio 18 * @bio: the bio to decrypt 20 * Decrypt the contents of a "read" bio following successful completion of the 104 * ciphertext blocks which decrypt to the all-zeroes block. The blocks must be
|
/Linux-v6.1/drivers/crypto/ccree/ |
D | cc_cipher.c | 898 "Encrypt" : "Decrypt"), req, iv, nbytes); in cc_cipher_process() 1017 .decrypt = cc_cipher_decrypt, 1035 .decrypt = cc_cipher_decrypt, 1053 .decrypt = cc_cipher_decrypt, 1071 .decrypt = cc_cipher_decrypt, 1089 .decrypt = cc_cipher_decrypt, 1107 .decrypt = cc_cipher_decrypt, 1125 .decrypt = cc_cipher_decrypt, 1147 .decrypt = cc_cipher_decrypt, 1164 .decrypt = cc_cipher_decrypt, [all …]
|
/Linux-v6.1/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-v6.1/drivers/crypto/aspeed/ |
D | aspeed-hace-crypto.c | 587 (cmd & HACE_CMD_ENCRYPT) ? "encrypt" : "decrypt"); in aspeed_aes_crypt() 739 .decrypt = aspeed_aes_ecb_decrypt, 763 .decrypt = aspeed_aes_cbc_decrypt, 787 .decrypt = aspeed_aes_cfb_decrypt, 811 .decrypt = aspeed_aes_ofb_decrypt, 834 .decrypt = aspeed_des_ecb_decrypt, 858 .decrypt = aspeed_des_cbc_decrypt, 882 .decrypt = aspeed_des_cfb_decrypt, 906 .decrypt = aspeed_des_ofb_decrypt, 929 .decrypt = aspeed_tdes_ecb_decrypt, [all …]
|
/Linux-v6.1/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-v6.1/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 701 * removed from the output for decrypt! in safexcel_send_req() 717 * Save IV from last crypto input word for CBC modes in decrypt in safexcel_send_req() 870 * Special case: AEAD decrypt with only AAD data. in safexcel_send_req() 1054 * Save input IV in case of CBC decrypt mode in safexcel_skcipher_send() 1295 .decrypt = safexcel_decrypt, 1332 .decrypt = safexcel_decrypt, 1370 .decrypt = safexcel_decrypt, 1408 .decrypt = safexcel_decrypt, 1482 .decrypt = safexcel_decrypt, 1544 .decrypt = safexcel_decrypt, [all …]
|
/Linux-v6.1/drivers/crypto/keembay/ |
D | keembay-ocs-aes-core.c | 64 * @instruction: Instruction to be executed (encrypt / decrypt). 80 * CCM/GCM decrypt). 82 * used for GCM encrypt / decrypt). 306 * Called by encrypt() / decrypt() skcipher functions. 410 * For CBC decrypt, save last block (iv) to last_ct_blk buffer. in kmb_ocs_sk_prepare_inplace() 420 /* For CTS decrypt, swap last two blocks, if needed. */ in kmb_ocs_sk_prepare_inplace() 491 /* If this is not a CTS decrypt operation with swapping, we are done. */ in kmb_ocs_sk_prepare_notinplace() 578 /* CBC decrypt case. */ in kmb_ocs_sk_run() 605 /* For decrypt crytplen == len(PT) + len(tag). */ in kmb_ocs_aead_validate_input() 633 * Called by encrypt() / decrypt() aead functions. [all …]
|
/Linux-v6.1/arch/x86/crypto/ |
D | sm4_aesni_avx2_glue.c | 72 .decrypt = sm4_avx_ecb_decrypt, 89 .decrypt = cbc_decrypt, 107 .decrypt = cfb_decrypt, 125 .decrypt = ctr_crypt,
|
D | aes_ctrby8_avx-x86_64.S | 522 * routine to do AES128 CTR enc/decrypt "by8" 535 * routine to do AES192 CTR enc/decrypt "by8" 548 * routine to do AES256 CTR enc/decrypt "by8" 561 * routine to do AES128 XCTR enc/decrypt "by8" 574 * routine to do AES192 XCTR enc/decrypt "by8" 587 * routine to do AES256 XCTR enc/decrypt "by8"
|
/Linux-v6.1/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-v6.1/arch/arm/crypto/ |
D | chacha-glue.c | 210 .decrypt = chacha_arm, 225 .decrypt = xchacha_arm, 240 .decrypt = xchacha_arm, 260 .decrypt = chacha_neon, 276 .decrypt = xchacha_neon, 292 .decrypt = xchacha_neon,
|
/Linux-v6.1/Documentation/virt/kvm/s390/ |
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-v6.1/include/crypto/ |
D | akcipher.h | 66 * @decrypt: Function performs a decrypt operation as defined by public key 96 int (*decrypt)(struct akcipher_request *req); member 302 * crypto_akcipher_decrypt() - Invoke public key decrypt operation 304 * Function invokes the specific public key decrypt operation for a given 320 ret = alg->decrypt(req); in crypto_akcipher_decrypt()
|
D | skcipher.h | 21 * @cryptlen: Number of bytes to encrypt or decrypt 84 * @decrypt: Decrypt a single block. This is a reverse counterpart to @encrypt 98 * IV of exactly that size to perform the encrypt or decrypt operation. 112 int (*decrypt)(struct skcipher_request *req); member 426 * crypto_skcipher_decrypt() - decrypt ciphertext 430 * Decrypt ciphertext data using the skcipher_request handle. That data 492 * encrypt and decrypt API calls. During the allocation, the provided skcipher
|
D | sm4.h | 41 * sm4_crypt_block - Encrypt or decrypt a single SM4 block 42 * @rk: The rkey_enc for encrypt or rkey_dec for decrypt
|
/Linux-v6.1/arch/mips/crypto/ |
D | chacha-glue.c | 95 .decrypt = chacha_mips, 110 .decrypt = xchacha_mips, 125 .decrypt = xchacha_mips,
|
/Linux-v6.1/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-v6.1/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,
|