Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/utils/
H 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/
H A Dskipjack.c85 w4 = w3; w3 = w2; \
86 w2 = tmp;
91 w3 = w1 ^ w2 ^ x; \
92 w1 = tmp1; w2 = tmp;
95 tmp = w1 ^ w2 ^ x; \
96 w1 = ig_func(w2, &kp, skey->skipjack.key); \
97 w2 = w3; w3 = w4; w4 = tmp;
100 tmp = ig_func(w2, &kp, skey->skipjack.key); \
101 w2 = tmp ^ w3 ^ x; \
141 unsigned w1,w2,w3,w4,tmp,tmp1; in s_skipjack_ecb_encrypt() local
[all …]
/optee_os/lib/libutils/ext/arch/arm/
H 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/
H A Dspin_lock_a64.S64 mov w2, #SPINLOCK_LOCK
69 stxr w1, w2, [x0]
77 mov w2, #SPINLOCK_LOCK
80 stxr w0, w2, [x1]
H A Dthread_spmc_a64.S214 and w2, w2, #THREAD_FLAGS_FFA_ONLY
215 cbnz w2, thread_ffa_interrupt
H A Darch_scall_a64.S127 mov w2, w2
H A Dcache_helpers_a64.S126 lsl w17, w8, w2 // w17 = set number loop decrement
133 lsl w7, w6, w2 // w7 = aligned max set number
H A Dentry_a64.S223 ldr w2, [x1] /* struct boot_embdata::total_len */
304 mov w2, #0
305 1: strb w2, [x0], #1
331 mov w2, #THREAD_CLF_TMP
332 str w2, [x1, #THREAD_CORE_LOCAL_FLAGS]
662 ldp w2, w3, [x6, #BOOT_EMBDATA_RELOC_OFFSET]
H A Dthread_spmc.c155 uint32_t src_dst, uint32_t w2, uint32_t w3, uint32_t w4, in spmc_set_args() argument
161 .a2 = w2, in spmc_set_args()
524 static bool is_nil_uuid(uint32_t w0, uint32_t w1, uint32_t w2, uint32_t w3) in is_nil_uuid() argument
526 return !w0 && !w1 && !w2 && !w3; in is_nil_uuid()
853 uint32_t w2 = FFA_NOT_SUPPORTED; in handle_framework_direct_request() local
864 w2 = FFA_MSG_FLAG_FRAMEWORK | FFA_MSG_RESP_VM_CREATED; in handle_framework_direct_request()
880 w2 = FFA_MSG_FLAG_FRAMEWORK | FFA_MSG_RESP_VM_DESTROYED; in handle_framework_direct_request()
890 w2 = FFA_MSG_FLAG_FRAMEWORK | FFA_MSG_VERSION_RESP; in handle_framework_direct_request()
896 spmc_set_args(args, w0, w1, w2, w3, FFA_PARAM_MBZ, FFA_PARAM_MBZ); in handle_framework_direct_request()
1724 uint32_t w2 = FFA_INVALID_PARAMETERS; in handle_notification_get() local
[all …]
H A Dthread_optee_smc_a64.S250 mov w2, #0
H A Dthread_a64.S206 str w2, [x5]
1208 mov w2, w20 /* flags */
/optee_os/core/arch/arm/plat-rcar/
H A Dcore_pos_a64.S64 1: mov w2, #PRR_PRODUCT_M3W
66 cmp w2, w3
/optee_os/core/arch/arm/crypto/
H A Dsha512_armv8a_ce_a64.S117 sub w2, w2, #1
196 cbnz w2, 0b
200 mov w0, w2
H A Dsha256_armv8a_ce_a64.S69 sub w2, w2, #1
105 cbnz w2, 0b
H A Dsha1_armv8a_ce_a64.S74 sub w2, w2, #1
112 cbnz w2, 0b
H A Dsm3_armv8a_ce_a64.S89 sub w2, w2, #1
125 cbnz w2, 0b
H A Dsha3_armv8a_ce_a64.S56 0: sub w2, w2, #1
206 cbnz w2, 0b
216 mov w0, w2
H A Dghash-ce-core_a64.S625 enc_block v0, w2
/optee_os/lib/libmbedtls/mbedtls/library/
H A Daria.c359 uint32_t w[4][4], *w2; in mbedtls_aria_setkey_enc() local
391 w2 = w[(i + 1) & 3]; in mbedtls_aria_setkey_enc()
392 aria_rot128(ctx->rk[i], w[i], w2, 128 - 19); in mbedtls_aria_setkey_enc()
393 aria_rot128(ctx->rk[i + 4], w[i], w2, 128 - 31); in mbedtls_aria_setkey_enc()
394 aria_rot128(ctx->rk[i + 8], w[i], w2, 61); in mbedtls_aria_setkey_enc()
395 aria_rot128(ctx->rk[i + 12], w[i], w2, 31); in mbedtls_aria_setkey_enc()
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
H A Dsosemanuk.c237 WUP(w2, w5, w7, w1, cc + 2); \ in sosemanuk_setup()
238 WUP(w3, w6, w0, w2, cc + 3); \ in sosemanuk_setup()
243 WUP(w5, w0, w2, w4, cc + 1); \ in sosemanuk_setup()
245 WUP(w7, w2, w4, w6, cc + 3); \ in sosemanuk_setup()
249 ulong32 w0, w1, w2, w3, w4, w5, w6, w7; in sosemanuk_setup() local
270 LOAD32L(w2, wbuf + 8); in sosemanuk_setup()
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_utils_sgt.h53 uint64_t w2; /* Final bit, offset and length */ member
/optee_os/core/arch/arm/include/kernel/
H A Dthread_spmc.h43 uint32_t src_dst, uint32_t w2, uint32_t w3, uint32_t w4,