Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_it8xxx2_sha_v2.c150 uint32_t rem_len = pkt->in_len; in it8xxx2_hash_handler() local
157 while (rem_len) { in it8xxx2_hash_handler()
159 if (rem_len >= SHA_SHA256_SRAM_BUF) { in it8xxx2_hash_handler()
160 rem_len = rem_len - SHA_SHA256_SRAM_BUF; in it8xxx2_hash_handler()
177 while (rem_len) { in it8xxx2_hash_handler()
178 rem_len--; in it8xxx2_hash_handler()
Dcrypto_mchp_xec_symcr.c303 size_t fill_len = 0, rem_len = 0; in xec_symcr_do_hash() local
342 rem_len = 0; in xec_symcr_do_hash()
344 rem_len = pkt->in_len & (hs->blksz - 1u); in xec_symcr_do_hash()
348 rem_len = pkt->in_len - fill_len; in xec_symcr_do_hash()
388 memcpy(hs->blockbuf, &pkt->in_buf[fill_len], rem_len); in xec_symcr_do_hash()
389 hs->blklen = rem_len; in xec_symcr_do_hash()
Dcrypto_it8xxx2_sha.c135 uint32_t rem_len = pkt->in_len; in it8xxx2_hash_handler() local
138 while (rem_len--) { in it8xxx2_hash_handler()
/Zephyr-Core-3.7.0/samples/subsys/canbus/isotp/src/
Dmain.c64 int ret, rem_len, received_len; in rx_8_0_thread() local
79 rem_len = isotp_recv_net(&recv_ctx_8_0, &buf, in rx_8_0_thread()
81 if (rem_len < 0) { in rx_8_0_thread()
82 printk("Receiving error [%d]\n", rem_len); in rx_8_0_thread()
91 } while (rem_len); in rx_8_0_thread()
/Zephyr-Core-3.7.0/subsys/canbus/isotp/
Disotp.c992 int rem_len; in send_cf() local
1004 rem_len = get_send_ctx_data_len(sctx); in send_cf()
1005 len = MIN(rem_len, sctx->tx_addr.dl - index); in send_cf()
1006 rem_len -= len; in send_cf()
1032 ret = ret ? ret : rem_len; in send_cf()