/optee_os-3.20.0/core/drivers/crypto/caam/utils/ |
A D | utils_sgt_v2.c | 20 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-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | skipjack.c | 85 w4 = w3; w3 = w2; \ 86 w2 = tmp; 91 w3 = w1 ^ w2 ^ x; \ 92 w1 = tmp1; w2 = tmp; 97 w2 = w3; w3 = w4; w4 = tmp; 141 unsigned w1,w2,w3,w4,tmp,tmp1; in s_skipjack_ecb_encrypt() local 150 w2 = ((unsigned)pt[2]<<8)|pt[3]; in s_skipjack_ecb_encrypt() 176 ct[2] = (w2>>8)&255; ct[3] = w2&255; in s_skipjack_ecb_encrypt() 205 unsigned w1,w2,w3,w4,tmp; in s_skipjack_ecb_decrypt() local 214 w2 = ((unsigned)ct[2]<<8)|ct[3]; in s_skipjack_ecb_decrypt() [all …]
|
/optee_os-3.20.0/lib/libutils/ext/arch/arm/ |
A D | atomic_a64.S | 13 stxr w2, w1, [x0] 14 cmp w2, #0 24 stxr w2, w1, [x0] 25 cmp w2, #0
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | spin_lock_a64.S | 64 mov w2, #SPINLOCK_LOCK 69 stxr w1, w2, [x0] 77 mov w2, #SPINLOCK_LOCK 80 stxr w0, w2, [x1]
|
A D | thread_spmc_a64.S | 94 mov w2, w22 145 mov w2, #FFA_PARAM_MBZ
|
A D | cache_helpers_a64.S | 126 lsl w17, w8, w2 // w17 = set number loop decrement 133 lsl w7, w6, w2 // w7 = aligned max set number
|
A D | thread_spmc.c | 87 uint32_t w2, uint32_t w3, uint32_t w4, uint32_t w5) in spmc_set_args() argument 91 .a2 = w2, in spmc_set_args() 311 static bool is_nil_uuid(uint32_t w0, uint32_t w1, uint32_t w2, uint32_t w3) in is_nil_uuid() argument 313 return !w0 && !w1 && !w2 && !w3; in is_nil_uuid() 316 static bool is_my_uuid(uint32_t w0, uint32_t w1, uint32_t w2, uint32_t w3) in is_my_uuid() argument 326 w2 == 0x02005ebc && w3 == 0x1bc5d5a5; in is_my_uuid()
|
A D | thread_optee_smc_a64.S | 254 mov w2, #0
|
A D | entry_a64.S | 207 ldr w2, [x1] /* struct boot_embdata::total_len */ 421 ldp w2, w3, [x6, #BOOT_EMBDATA_RELOC_OFFSET]
|
A D | thread_a64.S | 198 str w2, [x5]
|
/optee_os-3.20.0/core/arch/arm/plat-rcar/ |
A D | core_pos_a64.S | 64 1: mov w2, #PRR_PRODUCT_M3W 66 cmp w2, w3
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | sha512_armv8a_ce_a64.S | 117 sub w2, w2, #1 196 cbnz w2, 0b 200 mov w0, w2
|
A D | sha256_armv8a_ce_a64.S | 69 sub w2, w2, #1 105 cbnz w2, 0b
|
A D | sha1_armv8a_ce_a64.S | 74 sub w2, w2, #1 112 cbnz w2, 0b
|
A D | sm3_armv8a_ce_a64.S | 89 sub w2, w2, #1 125 cbnz w2, 0b
|
A D | ghash-ce-core_a64.S | 623 enc_block v0, w2
|
/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | thread_spmc.h | 28 uint32_t w2, uint32_t w3, uint32_t w4, uint32_t w5);
|
/optee_os-3.20.0/core/arch/arm/tee/ |
A D | arch_svc_a64.S | 127 mov w2, w2
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | aria.c | 429 uint32_t w[4][4], *w2; in mbedtls_aria_setkey_enc() local 465 w2 = w[(i + 1) & 3]; in mbedtls_aria_setkey_enc() 466 aria_rot128( ctx->rk[i ], w[i], w2, 128 - 19 ); in mbedtls_aria_setkey_enc() 467 aria_rot128( ctx->rk[i + 4], w[i], w2, 128 - 31 ); in mbedtls_aria_setkey_enc() 468 aria_rot128( ctx->rk[i + 8], w[i], w2, 61 ); in mbedtls_aria_setkey_enc() 469 aria_rot128( ctx->rk[i + 12], w[i], w2, 31 ); in mbedtls_aria_setkey_enc()
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_utils_sgt.h | 53 uint64_t w2; /* Final bit, offset and length */ member
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 237 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()
|