Home
last modified time | relevance | path

Searched refs:w2 (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/drivers/crypto/caam/utils/
A Dutils_sgt_v2.c20 SGT_TRACE("SGT[%d]->w2 = %" PRIx64, idx, sgt->sgt[idx].v2.w2); in sgt_entry_trace()
25 uint64_t w2 = 0; in sgt_entry_offset() local
29 w2 = caam_read_val64(&sgt->v2.w2); in sgt_entry_offset()
35 off = SGT_V2_ENTRY_OFFSET(w2); in sgt_entry_offset()
39 len = SGT_V2_ENTRY_AVAIL_LENGTH(w2); in sgt_entry_offset()
43 w2 &= ~(BM_SGT_V2_OFFSET | BM_SGT_V2_AVAIL_LENGTH); in sgt_entry_offset()
46 w2 |= BV_SGT_V2_OFFSET(offset) | BV_SGT_V2_AVAIL_LENGTH(len); in sgt_entry_offset()
48 caam_write_val64(&sgt->v2.w2, w2); in sgt_entry_offset()
54 uint64_t w2 = 0; in caam_sgt_set_entry() local
60 w2 = (final_e ? BM_SGT_V2_F : 0) | BV_SGT_V2_OFFSET(offset) | in caam_sgt_set_entry()
[all …]
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Dskipjack.c92 w4 = w3; w3 = w2; \
93 w2 = tmp;
98 w3 = w1 ^ w2 ^ x; \
99 w1 = tmp1; w2 = tmp;
104 w2 = w3; w3 = w4; w4 = tmp;
148 unsigned w1,w2,w3,w4,tmp,tmp1; in _skipjack_ecb_encrypt() local
157 w2 = ((unsigned)pt[2]<<8)|pt[3]; in _skipjack_ecb_encrypt()
183 ct[2] = (w2>>8)&255; ct[3] = w2&255; in _skipjack_ecb_encrypt()
212 unsigned w1,w2,w3,w4,tmp; in _skipjack_ecb_decrypt() local
221 w2 = ((unsigned)ct[2]<<8)|ct[3]; in _skipjack_ecb_decrypt()
[all …]
/optee_os/lib/libutils/ext/arch/arm/
A Datomic_a64.S13 stxr w2, w1, [x0]
14 cmp w2, #0
24 stxr w2, w1, [x0]
25 cmp w2, #0
/optee_os/core/arch/arm/kernel/
A Dspin_lock_a64.S64 mov w2, #SPINLOCK_LOCK
69 stxr w1, w2, [x0]
77 mov w2, #SPINLOCK_LOCK
80 stxr w0, w2, [x1]
A Dthread_spmc_a64.S95 mov w2, w22
139 mov w2, #FFA_PARAM_MBZ
A Dcache_helpers_a64.S126 lsl w17, w8, w2 // w17 = set number loop decrement
133 lsl w7, w6, w2 // w7 = aligned max set number
A Dthread_spmc.c88 uint32_t w2, uint32_t w3, uint32_t w4, uint32_t w5) in spmc_set_args() argument
92 .a2 = w2, in spmc_set_args()
312 static bool is_nil_uuid(uint32_t w0, uint32_t w1, uint32_t w2, uint32_t w3) in is_nil_uuid() argument
314 return !w0 && !w1 && !w2 && !w3; in is_nil_uuid()
317 static bool is_my_uuid(uint32_t w0, uint32_t w1, uint32_t w2, uint32_t w3) in is_my_uuid() argument
327 w2 == 0x02005ebc && w3 == 0x1bc5d5a5; in is_my_uuid()
A Dentry_a64.S121 ldr w2, [x1] /* struct boot_embdata::total_len */
308 ldp w2, w3, [x6, #BOOT_EMBDATA_RELOC_OFFSET]
A Dthread_optee_smc_a64.S234 mov w2, #0
A Dthread_a64.S154 str w2, [x5]
/optee_os/core/arch/arm/plat-rcar/
A Dcore_pos_a64.S64 1: mov w2, #PRR_PRODUCT_M3W
66 cmp w2, w3
/optee_os/core/arch/arm/crypto/
A Dsha256_armv8a_ce_a64.S69 sub w2, w2, #1
105 cbnz w2, 0b
A Dsha1_armv8a_ce_a64.S74 sub w2, w2, #1
112 cbnz w2, 0b
A Dghash-ce-core_a64.S623 enc_block v0, w2
/optee_os/out/arm/ldelf/
A Dldelf.dmp593 218: 6b01005f cmp w2, w1
1048 6c0: 2a0203e2 mov w2, w2
1931 1004: 1a8212a2 csel w2, w21, w2, ne // ne = any
4365 2a8c: 321e0042 orr w2, w2, #0x4
6917 4574: 0b4206a2 add w2, w21, w2, lsr #1
6925 4588: 12010042 and w2, w2, #0x80000000
6926 458c: 2a050042 orr w2, w2, w5
8191 5324: 51008042 sub w2, w2, #0x20
8402 5568: 12001c42 and w2, w2, #0xff
9655 634c: 1100c042 add w2, w2, #0x30
[all …]
/optee_os/core/arch/arm/tee/
A Darch_svc_a64.S127 mov w2, w2
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c244 WUP(w2, w5, w7, w1, cc + 2); \ in sosemanuk_setup()
245 WUP(w3, w6, w0, w2, cc + 3); \ in sosemanuk_setup()
250 WUP(w5, w0, w2, w4, cc + 1); \ in sosemanuk_setup()
252 WUP(w7, w2, w4, w6, cc + 3); \ in sosemanuk_setup()
256 ulong32 w0, w1, w2, w3, w4, w5, w6, w7; in sosemanuk_setup() local
277 LOAD32L(w2, wbuf + 8); in sosemanuk_setup()
/optee_os/lib/libmbedtls/mbedtls/library/
A Daria.c451 uint32_t w[4][4], *w2; in mbedtls_aria_setkey_enc() local
487 w2 = w[(i + 1) & 3]; in mbedtls_aria_setkey_enc()
488 aria_rot128( ctx->rk[i ], w[i], w2, 128 - 19 ); in mbedtls_aria_setkey_enc()
489 aria_rot128( ctx->rk[i + 4], w[i], w2, 128 - 31 ); in mbedtls_aria_setkey_enc()
490 aria_rot128( ctx->rk[i + 8], w[i], w2, 61 ); in mbedtls_aria_setkey_enc()
491 aria_rot128( ctx->rk[i + 12], w[i], w2, 31 ); in mbedtls_aria_setkey_enc()
/optee_os/core/arch/arm/include/kernel/
A Dthread_spmc.h28 uint32_t w2, uint32_t w3, uint32_t w4, uint32_t w5);
/optee_os/out/arm/core/
A Dtee.dmp10460 e106c5c: 2a0203e2 mov w2, w2
21014 e10d7a0: 2a0203e2 mov w2, w2
26941 e11138c: 5ac00842 rev w2, w2
26952 e1113b0: 5ac00842 rev w2, w2
26962 e1113d4: 5ac00842 rev w2, w2
26972 e1113f8: 5ac00842 rev w2, w2
26982 e11141c: 5ac00842 rev w2, w2
26992 e111440: 5ac00842 rev w2, w2
27002 e111464: 5ac00842 rev w2, w2
27012 e111488: 5ac00842 rev w2, w2
[all …]
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_utils_sgt.h53 uint64_t w2; /* Final bit, offset and length */ member

Completed in 189 milliseconds