Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/tests/crypto/tinycrypt/src/
Dctr_mode.c62 uint8_t ctr[16] = { in test_ctr_sp_800_38a_encrypt_decrypt() local
103 (void)memcpy(out, ctr, sizeof(ctr)); in test_ctr_sp_800_38a_encrypt_decrypt()
108 ctr, &sched), in test_ctr_sp_800_38a_encrypt_decrypt()
114 (void)memcpy(ctr, out, sizeof(ctr)); in test_ctr_sp_800_38a_encrypt_decrypt()
119 ctr, &sched), in test_ctr_sp_800_38a_encrypt_decrypt()
/Zephyr-latest/drivers/pwm/
Dpwm_ite_it8xxx2.c47 uint32_t ctr; member
173 uint32_t ctr, cxcprs; in pwm_it8xxx2_set_cycles() local
175 for (ctr = 0xFF; ctr >= PWM_CTRX_MIN; ctr--) { in pwm_it8xxx2_set_cycles()
176 cxcprs = (((uint32_t) pwm_clk_src) / (ctr + 1) / target_freq); in pwm_it8xxx2_set_cycles()
182 actual_freq = ((uint32_t) pwm_clk_src) / (ctr + 1) / cxcprs; in pwm_it8xxx2_set_cycles()
197 data->ctr = ctr; in pwm_it8xxx2_set_cycles()
205 inst->CTR1 = data->ctr; in pwm_it8xxx2_set_cycles()
209 inst->CTR2 = data->ctr; in pwm_it8xxx2_set_cycles()
213 inst->CTR3 = data->ctr; in pwm_it8xxx2_set_cycles()
217 *reg_dcr = (data->ctr * pulse_cycles) / period_cycles; in pwm_it8xxx2_set_cycles()
Dpwm_npcx.c92 uint32_t ctr; in pwm_npcx_set_cycles() local
126 ctr = (period_cycles / prescaler) - 1; in pwm_npcx_set_cycles()
132 data->cycles_per_sec / period_cycles, prsc, ctr, dcr); in pwm_npcx_set_cycles()
135 if (inst->PWMCTL != ctl || inst->PRSC != prsc || inst->CTR != ctr) { in pwm_npcx_set_cycles()
140 inst->CTR = ctr; in pwm_npcx_set_cycles()
/Zephyr-latest/tests/kernel/threads/dynamic_thread/src/
Dmain.c131 int i, ctr = 0; in ZTEST() local
141 dynamic_threads[ctr] = t; in ZTEST()
142 ctr++; in ZTEST()
145 zassert_true(ctr != 0, "unable to create any thread objects"); in ZTEST()
147 TC_PRINT("created %d thread objects\n", ctr); in ZTEST()
183 for (i = 0; i < ctr; i++) { in ZTEST()
/Zephyr-latest/scripts/build/
Dprocess_gperf.py53 ctr = 7
64 addr_vals[ctr] = int(val_str, 8)
68 addr_vals[ctr] = ord(addr_str[i + 1])
72 addr_vals[ctr] = ord(addr_str[i])
75 ctr -= 1
/Zephyr-latest/drivers/crypto/
Dcrypto_stm32.c264 uint32_t ctr[BLOCK_LEN_WORDS] = {0}; in crypto_stm32_ctr_encrypt() local
269 if (copy_words_adjust_endianness((uint8_t *)ctr, sizeof(ctr), iv, ivlen) != 0) { in crypto_stm32_ctr_encrypt()
273 session->config.pInitVect = CAST_VEC(ctr); in crypto_stm32_ctr_encrypt()
287 uint32_t ctr[BLOCK_LEN_WORDS] = {0}; in crypto_stm32_ctr_decrypt() local
292 if (copy_words_adjust_endianness((uint8_t *)ctr, sizeof(ctr), iv, ivlen) != 0) { in crypto_stm32_ctr_decrypt()
296 session->config.pInitVect = CAST_VEC(ctr); in crypto_stm32_ctr_decrypt()
Dcrypto_tc_shim.c80 uint8_t ctr[16] = {0}; /* CTR mode Counter = iv:ctr */ in do_ctr_op() local
86 memcpy(ctr, iv, ivlen); in do_ctr_op()
89 op->in_len, ctr, in do_ctr_op()
/Zephyr-latest/samples/drivers/crypto/
DREADME.rst39 [general] [INF] ctr_mode: ctr mode ENCRYPT - Match
41 [general] [INF] ctr_mode: ctr mode DECRYPT - Match
/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c117 uint32_t ctr; in sync_work_handler() local
118 int rc = counter_get_value(timer0, &ctr); in sync_work_handler()
126 counter_ref += ctr - (uint32_t)counter_ref; in sync_work_handler()
/Zephyr-latest/include/zephyr/crypto/
Dcipher.h66 uint8_t *ctr);
/Zephyr-latest/include/zephyr/arch/arm/cortex_a_r/
Dlib_helpers.h74 MAKE_REG_HELPER(ctr, 0, 0, 0, 1);
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dcache.c40 val = read_sysreg(ctr); in arch_dcache_line_size_get()
/Zephyr-latest/drivers/ethernet/
Deth_smsc91x.c275 uint16_t ctr; in smsc_reset() local
307 ctr = smsc_read_2(sc, CTR); in smsc_reset()
308 ctr |= CTR_LE_ENABLE | CTR_AUTO_RELEASE; in smsc_reset()
309 smsc_write_2(sc, CTR, ctr); in smsc_reset()
/Zephyr-latest/doc/services/crypto/random/
Dindex.rst18 or `mbedTLS <https://tls.mbed.org/ctr-drbg-source-code>`_ depending on
/Zephyr-latest/subsys/random/
DKconfig142 default "zephyr ctr-drbg seed"
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst918 * ext: tinycrypt: update ctr mode to stream.