/linux-master/fs/smb/server/mgmt/ |
H A D | user_session.h | 43 bool enc; member in struct:ksmbd_session
|
/linux-master/arch/riscv/crypto/ |
H A D | aes-macros.S | 149 // Expands to aes_encrypt or aes_decrypt according to \enc, which is 1 or 0. 150 .macro aes_crypt data, enc, keylen 151 .if \enc
|
/linux-master/arch/arm/crypto/ |
H A D | aes-cipher-core.S | 42 .macro __hround, out0, out1, in0, in1, in2, in3, t3, t4, enc, sz, op, oldcpsr 48 .if \enc 63 .if \enc
|
/linux-master/drivers/crypto/nx/ |
H A D | nx-aes-gcm.c | 242 static int gcm_empty(struct aead_request *req, const u8 *iv, int enc) argument 261 if (enc) 307 static int gcm_aes_nx_crypt(struct aead_request *req, int enc, argument 326 rc = gcm_empty(req, rctx->iv, enc); 346 if (enc) { 392 if (enc) {
|
/linux-master/arch/powerpc/crypto/ |
H A D | aes-spe-glue.c | 180 static int ppc_ecb_crypt(struct skcipher_request *req, bool enc) argument 195 if (enc) 219 static int ppc_cbc_crypt(struct skcipher_request *req, bool enc) argument 234 if (enc) 286 static int ppc_xts_crypt(struct skcipher_request *req, bool enc) argument 303 if (enc)
|
/linux-master/crypto/ |
H A D | adiantum.c | 93 bool enc; /* true if encrypting, false if decrypting */ member in struct:adiantum_request_ctx 290 if (!rctx->enc) 296 * enc: C_R = C_M - H_{K_H}(T, C_L) 338 static int adiantum_crypt(struct skcipher_request *req, bool enc) argument 353 rctx->enc = enc; 357 * enc: P_M = P_R + H_{K_H}(T, P_L) 382 if (enc)
|
H A D | algif_aead.c | 58 return ctx->used >= ctx->aead_assoclen + (ctx->enc ? 0 : as); 141 if (ctx->enc) 215 if (ctx->enc) { 298 err = ctx->enc ? crypto_aead_encrypt(&areq->cra_u.aead_req) : 312 err = crypto_wait_req(ctx->enc ?
|
H A D | essiv.c | 141 static int essiv_skcipher_crypt(struct skcipher_request *req, bool enc) argument 155 return enc ? crypto_skcipher_encrypt(subreq) : 183 static int essiv_aead_crypt(struct aead_request *req, bool enc) argument 200 if (req->src == req->dst || !enc) { 252 err = enc ? crypto_aead_encrypt(subreq) :
|
H A D | testmgr.c | 2025 static int test_aead_vec_cfg(int enc, const struct aead_testvec *vec, argument 2037 const char *op = enc ? "encryption" : "decryption"; 2093 input[1].iov_base = enc ? (void *)vec->ptext : (void *)vec->ctext; 2094 input[1].iov_len = enc ? vec->plen : vec->clen; 2096 vec->alen + (enc ? vec->plen : 2098 vec->alen + (enc ? vec->clen : 2111 enc ? vec->plen : vec->clen, iv); 2115 err = enc ? crypto_aead_encrypt(req) : crypto_aead_decrypt(req); 2121 if (req->cryptlen != (enc ? vec->plen : vec->clen) || 2132 if (req->cryptlen != (enc 2209 test_aead_vec(int enc, const struct aead_testvec *vec, unsigned int vec_num, struct aead_request *req, struct cipher_test_sglists *tsgls) argument 2647 test_aead(int enc, const struct aead_test_suite *suite, struct aead_request *req, struct cipher_test_sglists *tsgls) argument 2717 test_cipher(struct crypto_cipher *tfm, int enc, const struct cipher_testvec *template, unsigned int tcount) argument 2804 test_skcipher_vec_cfg(int enc, const struct cipher_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct skcipher_request *req, struct cipher_test_sglists *tsgls) argument 2968 test_skcipher_vec(int enc, const struct cipher_testvec *vec, unsigned int vec_num, struct skcipher_request *req, struct cipher_test_sglists *tsgls) argument 3224 test_skcipher(int enc, const struct cipher_test_suite *suite, struct skcipher_request *req, struct cipher_test_sglists *tsgls) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_link_encoder.h | 86 struct link_encoder *enc,
|
/linux-master/include/video/ |
H A D | imx-ipu-v3.h | 400 enum v4l2_ycbcr_encoding enc; member in struct:ipu_ic_colorspace 407 enum v4l2_ycbcr_encoding enc, 411 ic_cs->enc = enc; 406 ipu_ic_fill_colorspace(struct ipu_ic_colorspace *ic_cs, enum v4l2_ycbcr_encoding enc, enum v4l2_quantization quant, enum ipu_color_space cs) argument
|
/linux-master/drivers/crypto/ |
H A D | mxs-dcp.c | 107 unsigned int enc:1; member in struct:dcp_aes_req_ctx 261 if (rctx->enc) 379 if (rctx->enc) 427 static int mxs_dcp_block_fallback(struct skcipher_request *req, int enc) argument 440 if (enc) 448 static int mxs_dcp_aes_enqueue(struct skcipher_request *req, int enc, int ecb) argument 457 return mxs_dcp_block_fallback(req, enc); 459 rctx->enc = enc;
|
H A D | sa2ul.h | 299 * @enc: struct sa_ctx_info for encryption 308 struct sa_ctx_info enc; member in struct:sa_tfm_ctx
|
/linux-master/arch/arm64/crypto/ |
H A D | aes-ce-ccm-core.S | 47 .macro aes_ccm_do_crypt,enc 66 .if \enc == 1 67 eor v2.16b, v2.16b, v5.16b /* final round enc+mac */ 71 eor v6.16b, v2.16b, v5.16b /* final round enc */ 85 eor v1.16b, v1.16b, v5.16b /* final round enc */
|
H A D | aes-neonbs-glue.c | 65 u32 enc[AES_MAX_KEYLENGTH_U32]; member in struct:aesbs_cbc_ctr_ctx 146 memcpy(ctx->enc, rk.key_enc, sizeof(ctx->enc)); 171 ctx->enc, ctx->key.rounds, blocks, 237 neon_aes_ctr_encrypt(dst, src, ctx->enc, ctx->key.rounds,
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 1276 static int ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument 1282 switch (enc->cmd) { 1285 enc->flags = 0; 1290 enc->flags &= V4L2_ENC_CMD_STOP_AT_GOP_END; 1291 ivtv_stop_capture(id, enc->flags & V4L2_ENC_CMD_STOP_AT_GOP_END); 1296 enc->flags = 0; 1309 enc->flags = 0; 1321 IVTV_DEBUG_IOCTL("Unknown cmd %d\n", enc->cmd); 1328 static int ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument 1332 switch (enc [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_writeback.c | 210 * @enc: handle to the already initialized drm encoder 234 struct drm_writeback_connector *wb_connector, struct drm_encoder *enc, 259 ret = drm_connector_attach_encoder(connector, enc); 233 drm_writeback_connector_init_with_encoder(struct drm_device *dev, struct drm_writeback_connector *wb_connector, struct drm_encoder *enc, const struct drm_connector_funcs *con_funcs, const u32 *formats, int n_formats) argument
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 29 } enc; member in union:qat_rsa_input_params::__anon60 51 } enc; member in union:qat_rsa_output_params::__anon64 523 dma_unmap_single(dev, req->in.rsa.enc.m, req->ctx.rsa->key_sz, 529 dma_unmap_single(dev, req->out.rsa.enc.c, req->ctx.rsa->key_sz, 684 qat_req->in.rsa.enc.e = ctx->dma_e; 685 qat_req->in.rsa.enc.n = ctx->dma_n; 710 qat_req->in.rsa.enc.m = dma_map_single(dev, vaddr, ctx->key_sz, 712 if (unlikely(dma_mapping_error(dev, qat_req->in.rsa.enc.m))) 725 qat_req->out.rsa.enc.c = dma_map_single(dev, vaddr, ctx->key_sz, 727 if (unlikely(dma_mapping_error(dev, qat_req->out.rsa.enc [all...] |
/linux-master/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 116 int enc; member in struct:aspeed_acry_ctx 154 if (ctx->enc) 367 if (ctx->enc) { 420 ctx->enc = 1; 432 ctx->enc = 0;
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.c | 38 #define DPU_DEBUG_ENC(e, fmt, ...) DRM_DEBUG_ATOMIC("enc%d " fmt,\ 41 #define DPU_ERROR_ENC(e, fmt, ...) DPU_ERROR("enc%d " fmt,\ 44 #define DPU_ERROR_ENC_RATELIMITED(e, fmt, ...) DPU_ERROR_RATELIMITED("enc%d " fmt,\ 722 DPU_ERROR("invalid num phys enc %d/%d\n", 1349 DPU_ERROR("enc%d timeout pending\n", drm_enc->base.id); 1902 /* coding only for 2LM, 2enc, 1 dsc config */ 2087 /* coding only for 2LM, 2enc, 1 dsc config */ 2206 DPU_DEBUG("[enc:%d] cdm_disable fmt:%x\n", DRMID(phys_enc->parent), 2240 DPU_ERROR("[enc:%d] unsupported chroma sampling type\n", 2247 DPU_DEBUG("[enc 2307 struct dpu_encoder_phys *enc = NULL; local [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | asmmacro.h | 29 .macro insn32_if_mm enc 31 .hword ((\enc) >> 16) 32 .hword ((\enc) & 0xffff) 35 .macro insn_if_mips enc 38 .macro insn32_if_mm enc 41 .macro insn_if_mips enc 43 .word (\enc)
|
/linux-master/fs/smb/server/ |
H A D | auth.c | 1001 int enc, u8 *key) 1006 if (enc) 1013 ses_enc_key = enc ? sess->smb3encryptionkey : 1105 unsigned int nvec, int enc) 1123 enc, 1126 pr_err("Could not get %scryption key\n", enc ? "en" : "de"); 1168 if (!enc) { 1199 if (enc) 1206 if (enc) 1000 ksmbd_get_encryption_key(struct ksmbd_work *work, __u64 ses_id, int enc, u8 *key) argument 1104 ksmbd_crypt_message(struct ksmbd_work *work, struct kvec *iov, unsigned int nvec, int enc) argument
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-ic-csc.c | 372 switch (csc->out_cs.enc) {
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.h | 125 struct otx_cpt_enc_context enc; member in struct:otx_cpt_fc_ctx
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | crc.c | 394 struct drm_encoder *encoder, *enc; local 396 enc = nv50_head_atom_get_encoder(armh); 397 if (!enc) 400 outp = nv50_real_outp(enc);
|