Home
last modified time | relevance | path

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

/Zephyr-latest/tests/crypto/tinycrypt/src/
Dccm_mode.c76 const int mlen) in do_test() argument
86 result = tc_ccm_config(&c, &sched, nonce, nlen, mlen); in do_test()
108 dlen + mlen, &c); in do_test()
149 uint16_t mlen = M_LEN8; in ZTEST() local
155 data, sizeof(data), expected, sizeof(expected), mlen); in ZTEST()
187 uint16_t mlen = M_LEN8; in ZTEST() local
193 data, sizeof(data), expected, sizeof(expected), mlen); in ZTEST()
227 uint16_t mlen = M_LEN8; in ZTEST() local
233 sizeof(data), expected, sizeof(expected), mlen); in ZTEST()
266 uint16_t mlen = M_LEN10; in ZTEST() local
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/
Dmain.c70 size_t mlen = PACKET_SIZE_START; in send_for_time() local
79 ret = ipc_service_send(ep, &msg, mlen); in send_for_time()
99 bytes_sent += mlen; in send_for_time()
100 mlen++; in send_for_time()
102 if (mlen > sizeof(struct data_packet)) { in send_for_time()
103 mlen = PACKET_SIZE_START; in send_for_time()
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/src/
Dmain.c84 size_t mlen = PACKET_SIZE_START; in send_for_time() local
93 ret = ipc_service_send(ep, &msg, mlen); in send_for_time()
113 bytes_sent += mlen; in send_for_time()
114 mlen++; in send_for_time()
116 if (mlen > sizeof(struct data_packet)) { in send_for_time()
117 mlen = PACKET_SIZE_START; in send_for_time()
/Zephyr-latest/drivers/crypto/
Dcrypto_tc_shim.c129 memcpy(aead_op->tag, op->out_buf + op->in_len, ccm.mlen); in do_ccm_encrypt_mac()
136 op->out_len = op->in_len + ccm.mlen; in do_ccm_encrypt_mac()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.c2232 const uint8_t mlen = (NRF_RADIO->PCNF1 & RADIO_PCNF1_MAXLEN_Msk) >> in radio_ccm_ext_rx_pkt_set() local
2256 ccm_job.in[4].length = mlen; in radio_ccm_ext_rx_pkt_set()
2280 ccm_job.out[4].length = mlen - sizeof(uint32_t); in radio_ccm_ext_rx_pkt_set()
2418 const uint8_t mlen = *((uint8_t *)pkt + 1U); in radio_ccm_ext_tx_pkt_set() local
2420 ccm_job.in_mlen = mlen; in radio_ccm_ext_tx_pkt_set()
2430 ccm_job.in[3].length = mlen; in radio_ccm_ext_tx_pkt_set()
2454 ccm_job.out[4].length = mlen + sizeof(uint32_t); in radio_ccm_ext_tx_pkt_set()