Home
last modified time | relevance | path

Searched refs:w (Results 1 – 19 of 19) sorted by relevance

/optee_os/lib/libutils/isoc/arch/arm/
H A Darm32_aeabi_shift.c8 unsigned long w[2]; member
15 unsigned long hi = dword.w[1]; in __aeabi_llsl()
16 unsigned long lo = dword.w[0]; in __aeabi_llsl()
26 dword.w[1] = hi; in __aeabi_llsl()
27 dword.w[0] = lo; in __aeabi_llsl()
35 unsigned long hi = dword.w[1]; in __aeabi_llsr()
36 unsigned long lo = dword.w[0]; in __aeabi_llsr()
46 dword.w[1] = hi; in __aeabi_llsr()
47 dword.w[0] = lo; in __aeabi_llsr()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Daria.c359 uint32_t w[4][4], *w2; in mbedtls_aria_setkey_enc() local
366 w[0][0] = MBEDTLS_GET_UINT32_LE(key, 0); in mbedtls_aria_setkey_enc()
367 w[0][1] = MBEDTLS_GET_UINT32_LE(key, 4); in mbedtls_aria_setkey_enc()
368 w[0][2] = MBEDTLS_GET_UINT32_LE(key, 8); in mbedtls_aria_setkey_enc()
369 w[0][3] = MBEDTLS_GET_UINT32_LE(key, 12); in mbedtls_aria_setkey_enc()
371 memset(w[1], 0, 16); in mbedtls_aria_setkey_enc()
373 w[1][0] = MBEDTLS_GET_UINT32_LE(key, 16); // 192 bit key in mbedtls_aria_setkey_enc()
374 w[1][1] = MBEDTLS_GET_UINT32_LE(key, 20); in mbedtls_aria_setkey_enc()
377 w[1][2] = MBEDTLS_GET_UINT32_LE(key, 24); // 256 bit key in mbedtls_aria_setkey_enc()
378 w[1][3] = MBEDTLS_GET_UINT32_LE(key, 28); in mbedtls_aria_setkey_enc()
[all …]
H A Decp.c1789 unsigned char w, const mbedtls_mpi *m) in ecp_comb_recode_core() argument
1798 for (j = 0; j < w; j++) { in ecp_comb_recode_core()
1855 unsigned char w, size_t d, in ecp_precompute_comb() argument
1861 const unsigned char T_size = 1U << (w - 1); in ecp_precompute_comb()
1910 for (; j < d * (w - 1); j++) { in ecp_precompute_comb()
2129 unsigned char w, in ecp_comb_recode_scalar() argument
2152 ecp_comb_recode_core(k, d, w, &M); in ecp_comb_recode_scalar()
2173 unsigned char w, in ecp_mul_comb_after_precomp() argument
2194 MBEDTLS_MPI_CHK(ecp_comb_recode_scalar(grp, m, k, d, w, in ecp_mul_comb_after_precomp()
2241 unsigned char w; in ecp_pick_window_size() local
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
H A Ddsa_verify_hash.c27 void *w, *v, *u1, *u2; in dsa_verify_hash_raw() local
39 if ((err = mp_init_multi(&w, &v, &u1, &u2, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash_raw()
53 …if ((err = mp_invmod(s, key->q, w)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
57 …if ((err = mp_mulmod(u1, w, key->q, u1)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
60 …if ((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
75 mp_clear_multi(w, v, u1, u2, LTC_NULL); in dsa_verify_hash_raw()
/optee_os/core/arch/riscv/kernel/
H A Dspinlock.S30 fence rw, w
31 amoswap.w x0, x0, 0(a0)
38 amoswap.w a0, t0, 0(a0)
H A Dentry.S77 fence w, w
136 amoadd.w a3, a2, (a3)
/optee_os/lib/libutils/ext/arch/riscv/
H A Datomic_rv.S11 amoadd.w.aqrl a2, a1, (a0)
19 amoadd.w.aqrl a2, a1, (a0)
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_recover_key.c32 void *r, *s, *v, *w, *t1, *t2, *u1, *u2, *v1, *v2, *e, *x, *y, *a_plus3; in ecc_recover_key() local
49 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, LTC_N… in ecc_recover_key()
195 …if ((err = mp_invmod(r, p, w)) != CRYPT_OK) … in ecc_recover_key()
197 …if ((err = mp_mulmod(s, w, p, v1)) != CRYPT_OK) … in ecc_recover_key()
199 …if ((err = mp_mulmod(e, w, p, v2)) != CRYPT_OK) … in ecc_recover_key()
203 …if ((err = mp_invmod(s, p, w)) != CRYPT_OK) … in ecc_recover_key()
205 …if ((err = mp_mulmod(e, w, p, u1)) != CRYPT_OK) … in ecc_recover_key()
207 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_recover_key()
255 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, LTC_NULL); in ecc_recover_key()
H A Decc_verify_hash.c29 void *r, *s, *v, *w, *u1, *u2, *e, *p, *m, *a, *a_plus3; in ecc_verify_hash_ex() local
45 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_verify_hash_ex()
149 …if ((err = mp_invmod(s, p, w)) != CRYPT_OK) … in ecc_verify_hash_ex()
152 …if ((err = mp_mulmod(e, w, p, u1)) != CRYPT_OK) … in ecc_verify_hash_ex()
155 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_verify_hash_ex()
201 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, LTC_NULL); in ecc_verify_hash_ex()
/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Dskipjack.c104 static unsigned g_func(unsigned w, int *kp, const unsigned char *key) in g_func() argument
108 g1 = (w >> 8) & 255; g2 = w & 255; in g_func()
116 static unsigned ig_func(unsigned w, int *kp, const unsigned char *key) in ig_func() argument
120 g1 = (w >> 8) & 255; g2 = w & 255; in ig_func()
H A Danubis.c1108 ulong32 w = inter[i]; in anubis_crypt() local
1109 ciphertext[pos ] = (unsigned char)(w >> 24); in anubis_crypt()
1110 ciphertext[pos + 1] = (unsigned char)(w >> 16); in anubis_crypt()
1111 ciphertext[pos + 2] = (unsigned char)(w >> 8); in anubis_crypt()
1112 ciphertext[pos + 3] = (unsigned char)(w ); in anubis_crypt()
H A Dcamellia.c192 unsigned x, w, b; in rot_128() local
194 w = count >> 3; in rot_128()
198 out[x] = (in[(x+w)&15] << b) | (in[(x+w+1)&15] >> (8 - b)); in rot_128()
/optee_os/core/arch/arm/include/
H A Darm64_macros.S20 w\reg0, w\reg1, [\base_reg, #\base_offs]
36 w\reg, [\base_reg, #\base_offs]
/optee_os/core/lib/libtomcrypt/src/stream/sober128/
H A Dsober128_stream.c29 static void XORWORD(ulong32 w, const unsigned char *in, unsigned char *out) in XORWORD() argument
33 t ^= w; in XORWORD()
/optee_os/core/drivers/
H A Dstm32_iwdg.c344 long w = 0; in stm32_iwdg_handle_timeouts() local
353 w = ((timeout_sec - IWDG_ETIMEOUT_SEC) / (n + 1)) + in stm32_iwdg_handle_timeouts()
355 iwdg->timeout = w; in stm32_iwdg_handle_timeouts()
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
H A Dsosemanuk.c208 r0 = w ## o0; \ in sosemanuk_setup()
209 r1 = w ## o1; \ in sosemanuk_setup()
210 r2 = w ## o2; \ in sosemanuk_setup()
211 r3 = w ## o3; \ in sosemanuk_setup()
/optee_os/lib/libmbedtls/mbedtls/
H A DSECURITY.md11 center](https://developer.trustedfirmware.org/w/mbed-tls/security-center/).
H A DLICENSE530 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
534 The hypothetical commands `show w' and `show c' should show the appropriate
536 be called something other than `show w' and `show c'; they could even be
/optee_os/core/arch/arm/kernel/
H A Dthread_a64.S18 ldrh w\tmp0, [\core_local, \