Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 16 of 16) sorted by relevance

/arch/powerpc/mm/
Dtlb_nohash.c60 .enc = BOOK3E_PAGESZ_4K,
64 .enc = BOOK3E_PAGESZ_2M,
68 .enc = BOOK3E_PAGESZ_4M,
72 .enc = BOOK3E_PAGESZ_16M,
76 .enc = BOOK3E_PAGESZ_64M,
80 .enc = BOOK3E_PAGESZ_256M,
84 .enc = BOOK3E_PAGESZ_1GB,
92 .enc = BOOK3E_PAGESZ_4K,
96 .enc = BOOK3E_PAGESZ_16K,
101 .enc = BOOK3E_PAGESZ_64K,
[all …]
Dinit_64.c204 BUG_ON(mmu_psize_defs[mmu_vmemmap_psize].enc > 0xf); in vmemmap_create_mapping()
207 flags |= mmu_psize_defs[mmu_vmemmap_psize].enc << 8; in vmemmap_create_mapping()
Dhugetlbpage-book3e.c51 return mmu_psize_defs[psize].enc; in mmu_get_tsize()
/arch/arm64/crypto/
Daes-ce.S66 .macro round_Nx, enc, k, i0, i1, i2, i3
67 .ifc \enc, e
95 .macro do_block_Nx, enc, rounds, i0, i1, i2, i3
99 round_Nx \enc, v17, \i0, \i1, \i2, \i3
100 round_Nx \enc, v18, \i0, \i1, \i2, \i3
101 1111: round_Nx \enc, v19, \i0, \i1, \i2, \i3
102 round_Nx \enc, v20, \i0, \i1, \i2, \i3
104 round_Nx \enc, \key, \i0, \i1, \i2, \i3
106 fin_round_Nx \enc, v30, v31, \i0, \i1, \i2, \i3
Daes-ce-ccm-core.S127 .macro aes_ccm_do_crypt,enc argument
170 .if \enc == 1
192 .if \enc == 1
Daes-neon.S85 .macro do_block, enc, in, rounds, rk, rkp, i
95 .if \enc == 1
231 .macro do_block_2x, enc, in0, in1 rounds, rk, rkp, i
243 .if \enc == 1
256 .macro do_block_4x, enc, in0, in1, in2, in3, rounds, rk, rkp, i
272 .if \enc == 1
/arch/arm/crypto/
Daesbs-glue.c43 struct AES_KEY enc; member
48 struct BS_KEY enc; member
52 struct BS_KEY enc; member
63 if (private_AES_set_encrypt_key(in_key, bits, &ctx->enc)) { in aesbs_cbc_set_key()
67 ctx->dec.rk = ctx->enc; in aesbs_cbc_set_key()
79 if (private_AES_set_encrypt_key(in_key, bits, &ctx->enc.rk)) { in aesbs_ctr_set_key()
83 ctx->enc.converted = 0; in aesbs_ctr_set_key()
93 if (private_AES_set_encrypt_key(in_key, bits, &ctx->enc.rk)) { in aesbs_xts_set_key()
97 ctx->dec.rk = ctx->enc.rk; in aesbs_xts_set_key()
100 ctx->enc.converted = ctx->dec.converted = 0; in aesbs_xts_set_key()
[all …]
Daesbs-core.S_shipped1071 @ it is up to the caller to make sure we are called with enc == 0
/arch/s390/crypto/
Daes_s390.c41 long enc; member
61 long enc; member
299 sctx->enc = KM_AES_128_ENCRYPT; in ecb_aes_set_key()
303 sctx->enc = KM_AES_192_ENCRYPT; in ecb_aes_set_key()
307 sctx->enc = KM_AES_256_ENCRYPT; in ecb_aes_set_key()
349 return ecb_aes_crypt(desc, sctx->enc, sctx->key, &walk); in ecb_aes_encrypt()
428 sctx->enc = KMC_AES_128_ENCRYPT; in cbc_aes_set_key()
432 sctx->enc = KMC_AES_192_ENCRYPT; in cbc_aes_set_key()
436 sctx->enc = KMC_AES_256_ENCRYPT; in cbc_aes_set_key()
490 return cbc_aes_crypt(desc, sctx->enc, &walk); in cbc_aes_encrypt()
[all …]
/arch/x86/crypto/
Dcast5_avx_glue.c61 bool enc) in ecb_crypt() argument
70 fn = (enc) ? cast5_ecb_enc_16way : cast5_ecb_dec_16way; in ecb_crypt()
95 fn = (enc) ? __cast5_encrypt : __cast5_decrypt; in ecb_crypt()
Daesni-intel_asm.S57 enc: .octa 0x2 label
1578 %xmm1, %xmm2, %xmm3, %xmm4, %xmm8, %xmm5, %xmm6, 5, 678, enc
1583 %xmm1, %xmm2, %xmm3, %xmm4, %xmm8, %xmm5, %xmm6, 6, 78, enc
1588 %xmm1, %xmm2, %xmm3, %xmm4, %xmm8, %xmm5, %xmm6, 7, 8, enc
1593 %xmm1, %xmm2, %xmm3, %xmm4, %xmm8, %xmm5, %xmm6, 8, 0, enc
1604 %xmm14, %xmm0, %xmm1, %xmm2, %xmm3, %xmm4, %xmm5, %xmm6, %xmm7, %xmm8, enc
Daesni-intel_glue.c115 const u8 *in, bool enc, u8 *iv);
/arch/powerpc/include/asm/
Dmmu-book3e.h252 unsigned int enc; /* PTE encoding */ member
/arch/sparc/kernel/
Dperf_event.c820 u64 enc, val, mask = mask_for_index(idx); in sparc_pmu_enable_event() local
826 enc = perf_event_get_enc(cpuc->events[idx]); in sparc_pmu_enable_event()
830 val |= event_encoding(enc, idx); in sparc_pmu_enable_event()
944 u64 enc; in calculate_single_pcr() local
952 enc = perf_event_get_enc(cpuc->events[i]); in calculate_single_pcr()
957 cpuc->pcr[0] |= event_encoding(enc, idx); in calculate_single_pcr()
/arch/powerpc/kvm/
Dbook3s_pr.c1619 info->sps[0].enc[0].page_shift = 12; in kvm_vm_ioctl_get_smmu_info_pr()
1620 info->sps[0].enc[0].pte_enc = 0; in kvm_vm_ioctl_get_smmu_info_pr()
1637 info->sps[i].enc[0].page_shift = 16; in kvm_vm_ioctl_get_smmu_info_pr()
1638 info->sps[i].enc[0].pte_enc = 1; in kvm_vm_ioctl_get_smmu_info_pr()
1645 info->sps[i].enc[0].page_shift = 24; in kvm_vm_ioctl_get_smmu_info_pr()
1646 info->sps[i].enc[0].pte_enc = 0; in kvm_vm_ioctl_get_smmu_info_pr()
Dbook3s_hv.c2167 (*sps)->enc[0].page_shift = def->shift; in kvmppc_add_seg_page_size()
2168 (*sps)->enc[0].pte_enc = def->penc[linux_psize]; in kvmppc_add_seg_page_size()
2173 (*sps)->enc[1].page_shift = 24; in kvmppc_add_seg_page_size()
2174 (*sps)->enc[1].pte_enc = def->penc[MMU_PAGE_16M]; in kvmppc_add_seg_page_size()