Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bluetooth/bt_crypto_ccm/src/
Dtest_vectors.h18 const size_t input_len; member
221 .input_len = 31,
233 .input_len = 32,
245 .input_len = 33,
257 .input_len = 31,
269 .input_len = 32,
281 .input_len = 33,
293 .input_len = 31,
305 .input_len = 32,
317 .input_len = 33,
[all …]
Dtest_bt_crypto_ccm.c29 p->expected_output_len = p->input_len + p->mic_len; in ZTEST()
36 memcpy(encrypted_data, p->input, p->input_len); in ZTEST()
39 p->input_len - p->aad_len, aad, p->aad_len, in ZTEST()
52 uint8_t *decrypted_data = (uint8_t *)malloc(p->input_len * sizeof(uint8_t)); in ZTEST()
57 p->input_len - p->aad_len, aad, p->aad_len, in ZTEST()
62 LOG_DBG("decrypted data %s (len: %d)", bt_hex(decrypted_data, p->input_len), in ZTEST()
63 p->input_len); in ZTEST()
64 LOG_DBG("expected data %s (len: %d)", bt_hex(p->input, p->input_len), p->input_len); in ZTEST()
66 zassert_mem_equal(decrypted_data, p->input, p->input_len, in ZTEST()
/Zephyr-Core-3.5.0/subsys/net/lib/websocket/
Dwebsocket_internal.h134 size_t input_len; member
Dwebsocket.c949 size_t input_len = MIN(ctx->recv_buf.size, in websocket_recv_msg() local
950 test_data->input_len - test_data->input_pos); in websocket_recv_msg()
952 if (input_len > 0) { in websocket_recv_msg()
954 &test_data->input_buf[test_data->input_pos], input_len); in websocket_recv_msg()
955 test_data->input_pos += input_len; in websocket_recv_msg()
956 ret = input_len; in websocket_recv_msg()
/Zephyr-Core-3.5.0/tests/net/socket/websocket/src/
Dmain.c67 static int test_recv_buf(uint8_t *input_buf, size_t input_len, in test_recv_buf() argument
77 test_data.input_len = input_len; in test_recv_buf()