Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 8 of 8) sorted by relevance

/optee_os/lib/libutils/isoc/newlib/
H A Dstrtoul.c164 register unsigned long acc; variable
190 for (acc = 0, any = 0;; c = *s++) {
199 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
203 acc *= base;
204 acc += c;
208 acc = ULONG_MAX;
210 acc = -acc;
213 return (acc);
/optee_os/core/arch/arm/kernel/
H A Dtee_time_arm_cntpct.c51 static uint16_t acc; in plat_prng_add_jitter_entropy() local
54 acc = tsc; in plat_prng_add_jitter_entropy()
58 acc = (acc << 2) | ((acc >> 6) & 3); in plat_prng_add_jitter_entropy()
60 acc ^= (tsc >> n) & 3; in plat_prng_add_jitter_entropy()
68 FMSG("0x%02X", (int)acc & ((1 << (bytes * 8)) - 1)); in plat_prng_add_jitter_entropy()
69 crypto_rng_add_event(sid, pnum, (uint8_t *)&acc, bytes); in plat_prng_add_jitter_entropy()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpoly1305.c85 acc0 = ctx->acc[0]; in poly1305_process()
86 acc1 = ctx->acc[1]; in poly1305_process()
87 acc2 = ctx->acc[2]; in poly1305_process()
88 acc3 = ctx->acc[3]; in poly1305_process()
89 acc4 = ctx->acc[4]; in poly1305_process()
157 ctx->acc[0] = acc0; in poly1305_process()
158 ctx->acc[1] = acc1; in poly1305_process()
159 ctx->acc[2] = acc2; in poly1305_process()
160 ctx->acc[3] = acc3; in poly1305_process()
161 ctx->acc[4] = acc4; in poly1305_process()
[all …]
H A Dpsa_crypto_rsa.c222 uint32_t acc = 0; in psa_rsa_read_exponent() local
227 if (e_length > sizeof(acc)) { in psa_rsa_read_exponent()
231 acc = (acc << 8) | e_bytes[i]; in psa_rsa_read_exponent()
233 if (acc > INT_MAX) { in psa_rsa_read_exponent()
236 *exponent = acc; in psa_rsa_read_exponent()
H A Dentropy.c608 unsigned char acc[MBEDTLS_ENTROPY_BLOCK_SIZE] = { 0 }; in mbedtls_entropy_self_test() local
646 acc[j] |= buf[j]; in mbedtls_entropy_self_test()
651 if (acc[j] == 0) { in mbedtls_entropy_self_test()
H A Dbn_mul.h774 [acc] "+r" (d), \
814 [acc] "+r" (d), \
/optee_os/core/lib/libtomcrypt/src/prngs/
H A Drng_get_bytes.c60 int l, acc, bits, a, b; in s_rng_ansic() local
64 acc = a = b = 0; in s_rng_ansic()
72 acc = (acc << 1) | a; in s_rng_ansic()
74 *buf++ = acc; in s_rng_ansic()
75 acc = 0; in s_rng_ansic()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dpoly1305.h41 uint32_t MBEDTLS_PRIVATE(acc)[5]; /** The accumulator number. */