Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 95) sorted by relevance

1234

/optee_os/out/arm/core/include/generated/
A Darm32_sysreg.h15 uint32_t v; in read_aidr() local
19 return v; in read_aidr()
25 uint32_t v; in read_ccsidr() local
29 return v; in read_ccsidr()
35 uint32_t v; in read_clidr() local
39 return v; in read_clidr()
49 return v; in read_csselr()
65 return v; in read_ctr()
75 return v; in read_id_afr0()
85 return v; in read_id_dfr0()
[all …]
A Darm32_gicv3_sysreg.h13 uint32_t v; in read_icc_ap0r0() local
17 return v; in read_icc_ap0r0()
27 uint32_t v; in read_icc_ap0r1() local
31 return v; in read_icc_ap0r1()
41 uint32_t v; in read_icc_ap0r2() local
45 return v; in read_icc_ap0r2()
59 return v; in read_icc_ap0r3()
73 return v; in read_icc_ap1r0()
87 return v; in read_icc_ap1r1()
101 return v; in read_icc_ap1r2()
[all …]
/optee_os/lib/libutils/isoc/include/
A Dstdint.h172 #define U(v) v argument
173 #define UL(v) v argument
174 #define ULL(v) v argument
175 #define L(v) v argument
176 #define LL(v) v argument
178 #define U(v) v ## U argument
181 #define L(v) v ## L argument
187 #define INT8_C(v) v argument
188 #define UINT8_C(v) v argument
189 #define INT16_C(v) v argument
[all …]
/optee_os/out/arm/export-ta_arm32/include/
A Dstdint.h172 #define U(v) v argument
173 #define UL(v) v argument
174 #define ULL(v) v argument
175 #define L(v) v argument
176 #define LL(v) v argument
178 #define U(v) v ## U argument
181 #define L(v) v ## L argument
187 #define INT8_C(v) v argument
188 #define UINT8_C(v) v argument
189 #define INT16_C(v) v argument
[all …]
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ argument
50 ~((__typeof__(v))(size) - 1))
52 #define ROUNDUP_OVERFLOW(v, size, res) (__extension__({ \ argument
54 typeof(v) __roundup_mask = (typeof(v))(size) - 1; \
56 ADD_OVERFLOW((v), __roundup_mask, &__roundup_tmp) ? 1 : \
76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) argument
122 #define SHIFT_U32(v, shift) ((v) << (shift)) argument
123 #define SHIFT_U64(v, shift) ((v) << (shift)) argument
127 #define SHIFT_U32(v, shift) ((uint32_t)(v) << (shift)) argument
128 #define SHIFT_U64(v, shift) ((uint64_t)(v) << (shift)) argument
/optee_os/out/arm/export-ta_arm64/include/
A Dstdint.h172 #define U(v) v argument
173 #define UL(v) v argument
174 #define ULL(v) v argument
175 #define L(v) v argument
176 #define LL(v) v argument
178 #define U(v) v ## U argument
181 #define L(v) v ## L argument
187 #define INT8_C(v) v argument
188 #define UINT8_C(v) v argument
189 #define INT16_C(v) v argument
[all …]
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ argument
50 ~((__typeof__(v))(size) - 1))
52 #define ROUNDUP_OVERFLOW(v, size, res) (__extension__({ \ argument
54 typeof(v) __roundup_mask = (typeof(v))(size) - 1; \
56 ADD_OVERFLOW((v), __roundup_mask, &__roundup_tmp) ? 1 : \
76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) argument
122 #define SHIFT_U32(v, shift) ((v) << (shift)) argument
123 #define SHIFT_U64(v, shift) ((v) << (shift)) argument
127 #define SHIFT_U32(v, shift) ((uint32_t)(v) << (shift)) argument
128 #define SHIFT_U64(v, shift) ((uint64_t)(v) << (shift)) argument
/optee_os/core/lib/libtomcrypt/src/hashes/
A Dblake2b.c298 …G(r, 0, v[0], v[4], v[8], v[12]); …
299 …G(r, 1, v[1], v[5], v[9], v[13]); …
300 …G(r, 2, v[2], v[6], v[10], v[14]); …
301 …G(r, 3, v[3], v[7], v[11], v[15]); …
302 …G(r, 4, v[0], v[5], v[10], v[15]); …
303 …G(r, 5, v[1], v[6], v[11], v[12]); …
304 …G(r, 6, v[2], v[7], v[8], v[13]); …
305 …G(r, 7, v[3], v[4], v[9], v[14]); …
315 ulong64 v[16]; in _blake2b_compress() local
326 v[8] = blake2b_IV[0]; in _blake2b_compress()
[all …]
A Dblake2s.c290 …G(r, 0, v[0], v[4], v[8], v[12]); …
291 …G(r, 1, v[1], v[5], v[9], v[13]); …
292 …G(r, 2, v[2], v[6], v[10], v[14]); …
293 …G(r, 3, v[3], v[7], v[11], v[15]); …
294 …G(r, 4, v[0], v[5], v[10], v[15]); …
295 …G(r, 5, v[1], v[6], v[11], v[12]); …
296 …G(r, 6, v[2], v[7], v[8], v[13]); …
297 …G(r, 7, v[3], v[4], v[9], v[14]); …
308 ulong32 v[16]; in _blake2s_compress() local
318 v[8] = blake2s_IV[0]; in _blake2s_compress()
[all …]
/optee_os/out/arm/include/generated/
A Darm32_user_sysreg.h15 uint32_t v; in read_cntfrq() local
17 asm volatile ("mrc p15, 0, %0, c14, c0, 0" : "=r" (v)); in read_cntfrq()
19 return v; in read_cntfrq()
23 static inline __noprof void write_cntfrq(uint32_t v) in write_cntfrq() argument
25 asm volatile ("mcr p15, 0, %0, c14, c0, 0" : : "r" (v)); in write_cntfrq()
31 uint64_t v; in read_cntpct() local
33 asm volatile ("mrrc p15, 0, %Q0, %R0, c14" : "=r" (v)); in read_cntpct()
35 return v; in read_cntpct()
39 static inline __noprof void write_cntpct(uint64_t v) in write_cntpct() argument
41 asm volatile ("mcrr p15, 0, %Q0, %R0, c14" : : "r" (v)); in write_cntpct()
/optee_os/out/arm/export-ta_arm32/host_include/
A Darm32_user_sysreg.h15 uint32_t v; in read_cntfrq() local
17 asm volatile ("mrc p15, 0, %0, c14, c0, 0" : "=r" (v)); in read_cntfrq()
19 return v; in read_cntfrq()
23 static inline __noprof void write_cntfrq(uint32_t v) in write_cntfrq() argument
25 asm volatile ("mcr p15, 0, %0, c14, c0, 0" : : "r" (v)); in write_cntfrq()
31 uint64_t v; in read_cntpct() local
33 asm volatile ("mrrc p15, 0, %Q0, %R0, c14" : "=r" (v)); in read_cntpct()
35 return v; in read_cntpct()
39 static inline __noprof void write_cntpct(uint64_t v) in write_cntpct() argument
41 asm volatile ("mcrr p15, 0, %Q0, %R0, c14" : : "r" (v)); in write_cntpct()
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ argument
50 ~((__typeof__(v))(size) - 1))
52 #define ROUNDUP_OVERFLOW(v, size, res) (__extension__({ \ argument
54 typeof(v) __roundup_mask = (typeof(v))(size) - 1; \
56 ADD_OVERFLOW((v), __roundup_mask, &__roundup_tmp) ? 1 : \
76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) argument
122 #define SHIFT_U32(v, shift) ((v) << (shift)) argument
123 #define SHIFT_U64(v, shift) ((v) << (shift)) argument
127 #define SHIFT_U32(v, shift) ((uint32_t)(v) << (shift)) argument
128 #define SHIFT_U64(v, shift) ((uint64_t)(v) << (shift)) argument
/optee_os/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_kdf.c22 unsigned long v = hash_descriptor[hash_id]->blocksize; in pkcs12_kdf() local
24 unsigned long Slen = ((saltlen + v - 1) / v) * v; in pkcs12_kdf()
25 unsigned long Plen = ((pwlen + v - 1) / v) * v; in pkcs12_kdf()
26 unsigned long k = (Plen + Slen) / v; in pkcs12_kdf()
43 for (i = 0; i < v; i++) D[i] = purpose; /* D - diversifier */ in pkcs12_kdf()
49 err = hash_memory_multi(hash_id, A, &Alen, D, v, I, Slen + Plen, NULL); /* A = HASH(D || I) */ in pkcs12_kdf()
56 for (j = 0; j < v; j++) B[j] = A[j % Alen]; in pkcs12_kdf()
58 for (j = v; j > 0; j--) { in pkcs12_kdf()
64 for (j = v; j > 0; j--) { in pkcs12_kdf()
65 tmp = I[n * v + j - 1] + B[j - 1] + ch; in pkcs12_kdf()
[all …]
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ argument
50 ~((__typeof__(v))(size) - 1))
52 #define ROUNDUP_OVERFLOW(v, size, res) (__extension__({ \ argument
54 typeof(v) __roundup_mask = (typeof(v))(size) - 1; \
56 ADD_OVERFLOW((v), __roundup_mask, &__roundup_tmp) ? 1 : \
76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) argument
122 #define SHIFT_U32(v, shift) ((v) << (shift)) argument
123 #define SHIFT_U64(v, shift) ((v) << (shift)) argument
127 #define SHIFT_U32(v, shift) ((uint32_t)(v) << (shift)) argument
128 #define SHIFT_U64(v, shift) ((uint64_t)(v) << (shift)) argument
/optee_os/lib/libutils/ext/include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ argument
50 ~((__typeof__(v))(size) - 1))
52 #define ROUNDUP_OVERFLOW(v, size, res) (__extension__({ \ argument
54 typeof(v) __roundup_mask = (typeof(v))(size) - 1; \
56 ADD_OVERFLOW((v), __roundup_mask, &__roundup_tmp) ? 1 : \
76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) argument
122 #define SHIFT_U32(v, shift) ((v) << (shift)) argument
123 #define SHIFT_U64(v, shift) ((v) << (shift)) argument
127 #define SHIFT_U32(v, shift) ((uint32_t)(v) << (shift)) argument
128 #define SHIFT_U64(v, shift) ((uint64_t)(v) << (shift)) argument
/optee_os/core/arch/arm/plat-sunxi/
A Dmain.c106 vaddr_t v = (vaddr_t)phys_to_virt(SUNXI_TZPC_BASE, MEM_AREA_IO_SEC, in tzpc_init() local
109 DMSG("SMTA_DECPORT0=%x", io_read32(v + REG_TZPC_SMTA_DECPORT0_STA_REG)); in tzpc_init()
110 DMSG("SMTA_DECPORT1=%x", io_read32(v + REG_TZPC_SMTA_DECPORT1_STA_REG)); in tzpc_init()
111 DMSG("SMTA_DECPORT2=%x", io_read32(v + REG_TZPC_SMTA_DECPORT2_STA_REG)); in tzpc_init()
114 io_write32(v + REG_TZPC_SMTA_DECPORT0_SET_REG, 0xbe); in tzpc_init()
115 io_write32(v + REG_TZPC_SMTA_DECPORT1_SET_REG, 0xff); in tzpc_init()
116 io_write32(v + REG_TZPC_SMTA_DECPORT2_SET_REG, 0x7f); in tzpc_init()
118 DMSG("SMTA_DECPORT0=%x", io_read32(v + REG_TZPC_SMTA_DECPORT0_STA_REG)); in tzpc_init()
119 DMSG("SMTA_DECPORT1=%x", io_read32(v + REG_TZPC_SMTA_DECPORT1_STA_REG)); in tzpc_init()
120 DMSG("SMTA_DECPORT2=%x", io_read32(v + REG_TZPC_SMTA_DECPORT2_STA_REG)); in tzpc_init()
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_io.h22 #define caam_write_val32(a, v) put_be32(a, v) argument
30 #define caam_write_val32(a, v) put_le32(a, v) argument
33 #define caam_write_val64(a, v) put_le64(a, v) argument
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_shiftRightJam128Extra.c53 z.v.v64 = a64>>count; in softfloat_shiftRightJam128Extra()
54 z.v.v0 = a64<<(negCount & 63) | a0>>count; in softfloat_shiftRightJam128Extra()
57 z.v.v64 = 0; in softfloat_shiftRightJam128Extra()
59 z.v.v0 = a64; in softfloat_shiftRightJam128Extra()
64 z.v.v0 = a64>>(count & 63); in softfloat_shiftRightJam128Extra()
67 z.v.v0 = 0; in softfloat_shiftRightJam128Extra()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/bit/
A Dder_decode_raw_bit_string.c20 #define SETBIT(v, n) (v=((unsigned char)(v) | (1U << (unsigned char)(n)))) argument
21 #define CLRBIT(v, n) (v=((unsigned char)(v) & ~(1U << (unsigned char)(n)))) argument
/optee_os/lib/libmbedtls/mbedtls/library/
A Dpkcs12.c257 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local
277 v = 64; in mbedtls_pkcs12_derivation()
279 v = 128; in mbedtls_pkcs12_derivation()
281 memset( diversifier, (unsigned char) id, v ); in mbedtls_pkcs12_derivation()
283 pkcs12_fill_buffer( salt_block, v, salt, saltlen ); in mbedtls_pkcs12_derivation()
284 pkcs12_fill_buffer( pwd_block, v, pwd, pwdlen ); in mbedtls_pkcs12_derivation()
299 if( ( ret = mbedtls_md_update( &md_ctx, pwd_block, v ) ) != 0 ) in mbedtls_pkcs12_derivation()
321 pkcs12_fill_buffer( hash_block, v, hash_output, hlen ); in mbedtls_pkcs12_derivation()
324 for( i = v; i > 0; i-- ) in mbedtls_pkcs12_derivation()
330 for( i = v; i > 0; i-- ) in mbedtls_pkcs12_derivation()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_hash.c34 void *w, *v, *u1, *u2; in dsa_verify_hash_raw() local
46 if ((err = mp_init_multi(&w, &v, &u1, &u2, NULL)) != CRYPT_OK) { in dsa_verify_hash_raw()
72 …if ((err = mp_mulmod(u1, u2, key->p, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
73 …if ((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
76 if (mp_cmp(r, v) == LTC_MP_EQ) { in dsa_verify_hash_raw()
82 mp_clear_multi(w, v, u1, u2, NULL); in dsa_verify_hash_raw()
/optee_os/core/arch/arm/crypto/
A Dsha256_armv8a_ce_a64.S31 add t1.4s, v\s0\().4s, \rc\().4s
36 add t0.4s, v\s0\().4s, \rc\().4s
44 sha256su0 v\s0\().4s, v\s1\().4s
46 sha256su1 v\s0\().4s, v\s2\().4s, v\s3\().4s
A Dsha1_armv8a_ce_a64.S35 add t1.4s, v\s0\().4s, \rc\().4s
44 add t0.4s, v\s0\().4s, \rc\().4s
52 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s
54 sha1su1 v\s0\().4s, v\s3\().4s
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/include/
A Dsoftfloat_types.h51 typedef struct { uint32_t v; } float32_t; member
52 typedef struct { uint64_t v; } float64_t; member
53 typedef struct { uint64_t v[2]; } float128_t; member
/optee_os/lib/libutee/
A Dtee_uuid_from_str.c25 uint32_t v = 0; in parse_hex() local
35 v = (v << 4) + c; in parse_hex()
39 return v; in parse_hex()

Completed in 28 milliseconds

1234