Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/tfm_integration/tfm_ipc/src/
Dmain.c63 uint8_t outbuf[256] = { 0 }; in tfm_psa_crypto_rng() local
65 status = psa_generate_random(outbuf, 256); in tfm_psa_crypto_rng()
71 printk("%02X ", (uint8_t)(outbuf[i] & 0xFF)); in tfm_psa_crypto_rng()
/Zephyr-Core-3.5.0/scripts/build/
Duf2conv.py293 outbuf = inpbuf
295 outbuf = convert_from_uf2(inpbuf)
298 outbuf = convert_from_hex_to_uf2(inpbuf.decode("utf-8"))
300 outbuf = convert_to_carray(inpbuf)
303 outbuf = convert_to_uf2(inpbuf)
305 (ext, len(outbuf), appstartaddr))
314 write_file(args.output, outbuf)
320 write_file(d + "/NEW.UF2", outbuf)
/Zephyr-Core-3.5.0/tests/lib/ringbuffer/src/
Dmain.c486 uint8_t outbuf[RINGBUFFER_SIZE]; in ZTEST() local
496 memset(outbuf, 0, sizeof(outbuf)); in ZTEST()
499 out_size = ring_buf_get(&ringbuf_raw, outbuf, in ZTEST()
504 zassert_true(memcmp(inbuf, outbuf, RINGBUFFER_SIZE - 2) == 0, in ZTEST()
508 memset(outbuf, 0, sizeof(outbuf)); in ZTEST()
517 out_size = ring_buf_get(&ringbuf_raw, outbuf, in ZTEST()
522 out_size = ring_buf_get(&ringbuf_raw, outbuf, in ZTEST()
744 uint8_t *outbuf; in ZTEST() local
765 granted = ring_buf_put_claim(&ringbuf_raw, &outbuf, RINGBUFFER_SIZE); in ZTEST()
770 granted = ring_buf_put_claim(&ringbuf_raw, &outbuf, RINGBUFFER_SIZE); in ZTEST()
/Zephyr-Core-3.5.0/tests/unit/cbprintf/
Dmain.c147 static struct out_buffer outbuf; variable
151 outbuf.buf = buf; in reset_out()
152 outbuf.size = ARRAY_SIZE(buf); in reset_out()
153 outbuf.idx = 0; in reset_out()
156 static void outbuf_null_terminate(struct out_buffer *outbuf) in outbuf_null_terminate() argument
158 int idx = outbuf->idx - ((outbuf->idx == outbuf->size) ? 1 : 0); in outbuf_null_terminate()
160 outbuf->buf[idx] = 0; in outbuf_null_terminate()
189 rv = cbpprintf(out, &outbuf, packaged); in prf()
191 rv = strcmp(static_package_str, outbuf.buf); in prf()
195 rv = cbvprintf(out, &outbuf, format, ap); in prf()
[all …]
/Zephyr-Core-3.5.0/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c860 uint8_t outbuf[256] = { 0 }; in crp_test_rng() local
867 status = al_psa_status(psa_generate_random(outbuf, 256), __func__); in crp_test_rng()
870 sf_hex_tabulate_16(&fmt, outbuf, 256); in crp_test_rng()