/Zephyr-latest/arch/arm/core/ |
D | gdbstub.c | 172 int r = hex2bin(hex + i * 8, 8, (uint8_t *)(c->registers + j), 4); in arch_gdb_reg_writeall() 217 ret = hex2bin(hex, hexlen, (uint8_t *)(c->registers + i), 4); in arch_gdb_reg_writeone() 222 ret = hex2bin(hex, hexlen, (uint8_t *)(c->registers + GDB_NUM_REGS - 1), 4); in arch_gdb_reg_writeone()
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_serial.c | 84 if (hex2bin(pblock, 2, &tmp, sizeof(tmp)) != sizeof(tmp)) { in modbus_ascii_get_lrc() 133 hex2bin(pmsg, 2, &ctx->rx_adu.unit_id, 1); in modbus_ascii_rx_adu() 136 hex2bin(pmsg, 2, &ctx->rx_adu.fc, 1); in modbus_ascii_rx_adu() 143 hex2bin(pmsg, 2, prx_data, 1); in modbus_ascii_rx_adu() 152 hex2bin(pmsg, 2, &frame_lrc, 1); in modbus_ascii_rx_adu()
|
/Zephyr-latest/lib/utils/ |
D | hex.c | 59 size_t hex2bin(const char *hex, size_t hexlen, uint8_t *buf, size_t buflen) in hex2bin() function
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | shell.c | 644 bt_mesh_shell_prov.static_val_len = hex2bin(argv[1], strlen(argv[1]), in cmd_static_oob() 677 len = hex2bin(argv[1], strlen(argv[1]), uuid, sizeof(uuid)); in cmd_uuid() 756 len = hex2bin(argv[1], strlen(argv[1]), uuid, sizeof(uuid)); in cmd_provision_gatt() 836 len = hex2bin(argv[1], strlen(argv[1]), pub_key, sizeof(pub_key)); in cmd_remote_pub_key_set() 894 len = hex2bin(argv[1], strlen(argv[1]), static_oob_auth, sizeof(static_oob_auth)); in cmd_auth_method_set_static() 927 len = hex2bin(argv[1], strlen(argv[1]), uuid, sizeof(uuid)); in cmd_provision_adv() 1017 len = hex2bin(argv[1], strlen(argv[1]), in cmd_net_send() 1195 len = hex2bin(argv[1], strlen(argv[1]), net_key, in cmd_cdb_create() 1339 len = hex2bin(argv[1], strlen(argv[1]), uuid, sizeof(uuid)); in cmd_cdb_node_add() 1353 len = hex2bin(argv[5], strlen(argv[5]), dev_key, in cmd_cdb_node_add() [all …]
|
D | rpr.c | 108 hex2bin(argv[2], strlen(argv[2]), uuid, 16); in cmd_scan() 144 hex2bin(argv[2], strlen(argv[2]), uuid, 16); in cmd_scan_ext() 348 len = hex2bin(argv[1], strlen(argv[1]), uuid, sizeof(uuid)); in cmd_provision_remote()
|
D | cfg.c | 554 len = hex2bin(argv[2], strlen(argv[2]), key_val, sizeof(key_val)); in cmd_net_key_add() 624 len = hex2bin(argv[2], strlen(argv[2]), key_val, sizeof(key_val)); in cmd_net_key_update() 716 len = hex2bin(argv[3], strlen(argv[3]), key_val, sizeof(key_val)); in cmd_app_key_add() 789 len = hex2bin(argv[3], strlen(argv[3]), key_val, sizeof(key_val)); in cmd_app_key_upd() 1169 len = hex2bin(argv[2], strlen(argv[2]), label, sizeof(label)); in cmd_mod_sub_add_va() 1219 len = hex2bin(argv[2], strlen(argv[2]), label, sizeof(label)); in cmd_mod_sub_del_va() 1313 len = hex2bin(argv[2], strlen(argv[2]), label, sizeof(label)); in cmd_mod_sub_ow_va() 1549 len = hex2bin(argv[0], strlen(argv[0]), uuid, sizeof(uuid)); in mod_pub_set()
|
D | dfd.c | 322 size_t fwid_len = hex2bin(argv[1], hexlen, fwid, CONFIG_BT_MESH_DFU_FWID_MAXLEN); in cmd_dfd_fw_get() 371 size_t fwid_len = hex2bin(argv[1], hexlen, fwid_buf, CONFIG_BT_MESH_DFU_FWID_MAXLEN); in cmd_dfd_fw_delete()
|
D | dfu.c | 260 hex2bin(argv[1], strlen(argv[1]), key, sizeof(key)); in cmd_dfu_comp_hash_get() 339 md.user_data_len = hex2bin(argv[9], strlen(argv[9]), user_data, sizeof(user_data)); in cmd_dfu_metadata_encode() 400 fwid_len = hex2bin(argv[2], strlen(argv[2]), fwid, in cmd_dfu_slot_add() 405 metadata_len = hex2bin(argv[3], strlen(argv[3]), metadata, in cmd_dfu_slot_add()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | addr.c | 80 if (!hex2bin(&str[i * 3], 2, &addr->val[reverse_i], 1)) { in bt_addr_from_str()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | csip_set_member.c | 151 len = hex2bin(argv[argn], strlen(argv[argn]), param.sirk, in cmd_csip_set_member_register() 184 len = hex2bin(argv[1], strlen(argv[1]), sirk, sizeof(sirk)); in cmd_csip_set_member_sirk()
|
D | cap_acceptor.c | 167 len = hex2bin(argv[argn], strlen(argv[argn]), param.sirk, in cmd_cap_acceptor_init() 249 len = hex2bin(argv[1], strlen(argv[1]), sirk, sizeof(sirk)); in cmd_cap_acceptor_sirk()
|
D | bap_broadcast_assistant.c | 452 metadata_len = hex2bin(argv[8], strlen(argv[8]), in cmd_bap_broadcast_assistant_add_src() 678 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_id() 746 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_name() 849 metadata_len = hex2bin(argv[5], strlen(argv[5]), in cmd_bap_broadcast_assistant_mod_src()
|
D | bap_scan_delegator.c | 662 hex2bin(argv[4], strlen(argv[7]), subgroup_param->metadata, in cmd_bap_scan_delegator_add_src() 767 hex2bin(argv[4], strlen(argv[4]), subgroup_param->metadata, in cmd_bap_scan_delegator_add_src_by_pa_sync() 875 subgroup_param->metadata_len = hex2bin(argv[5], strlen(argv[5]), in cmd_bap_scan_delegator_mod_src()
|
/Zephyr-latest/arch/x86/core/ia32/ |
D | gdbstub.c | 155 ret = hex2bin(hex, hexlen, in arch_gdb_reg_writeall() 207 ret = hex2bin(hex, hexlen, in arch_gdb_reg_writeone()
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | ecc_dsa.c | 114 msglen = hex2bin(msg_vec[i], strlen(msg_vec[i]), msg, BUF_SIZE); in sign_vectors() 371 msglen = hex2bin(msg_vec[i], strlen(msg_vec[i]), msg, BUF_SIZE); in vrfy_vectors()
|
D | test_ecc_utils.c | 89 if (hex2bin(str, hexlen, tmp + padding / 2, num_bytes) == 0) { in string2scalar()
|
/Zephyr-latest/subsys/debug/gdbstub/ |
D | gdbstub.c | 267 if (hex2bin(checksum_buf, 2, &expected_checksum, 1) == 0) { in gdb_get_packet() 424 size_t cnt = hex2bin(buf, 2, &data, sizeof(data)); in gdb_mem_write_unaligned() 492 size_t cnt = hex2bin(buf, write_sz * 2, in gdb_mem_write_aligned()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | pkt.c | 92 len = hex2bin(ptr_str, strlen(ptr_str), buf, sizeof(buf)); in get_net_pkt()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | csip_set_member_test.c | 236 len = hex2bin(argv[argn], strlen(argv[argn]), param.sirk, in test_args()
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_shell.c | 180 buffer_len = hex2bin(argv[argc - 1], strlen(argv[argc - 1]), in cmd_write()
|
/Zephyr-latest/subsys/llext/ |
D | shell.c | 143 size_t llext_buf_len = hex2bin(argv[2], hex_len, llext_buf, CONFIG_LLEXT_SHELL_MAX_SIZE); in cmd_llext_load_hex()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp.c | 241 len = hex2bin(OSDP_KEY_STRING, 32, key_buf, 16); in osdp_init()
|
/Zephyr-latest/samples/net/lwm2m_client/src/ |
D | lwm2m-client.c | 117 size_t len = hex2bin(CONFIG_LWM2M_APP_PSK, sizeof(CONFIG_LWM2M_APP_PSK) - 1, psk, in lwm2m_setup()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 1385 len = hex2bin(argv[3], strlen(argv[3]), &hex_data[hex_data_len], in cmd_hci_cmd() 2351 len = hex2bin(arg, strlen(arg), &hex_data[hex_data_len], in cmd_adv_data() 2701 hex_len = hex2bin(argv[1U], strlen(argv[1U]), hex_data, in cmd_per_adv_data() 3687 if (hex2bin(argv[1], strlen(argv[1]), chan_map, 5) == 0) { in cmd_chan_map() 3735 hex2bin(argv[3], strlen(argv[3]), oob_remote.le_sc_data.r, in cmd_oob_remote() 3737 hex2bin(argv[4], strlen(argv[4]), oob_remote.le_sc_data.c, in cmd_oob_remote() 4561 len = hex2bin(argv[1], strlen(argv[1]), tk, sizeof(tk)); in cmd_auth_oob_tk() 4586 len = hex2bin(session_key, strlen(session_key), bt_shell_ead_session_key, BT_EAD_KEY_SIZE); in cmd_encrypted_ad_set_keys() 4592 len = hex2bin(iv, strlen(iv), bt_shell_ead_iv, BT_EAD_IV_SIZE); in cmd_encrypted_ad_set_keys() 4676 len = hex2bin(hex_payload, hex_payload_size, payload, BT_SHELL_EAD_DATA_MAX_SIZE); in cmd_encrypted_ad_add_ead() [all …]
|
/Zephyr-latest/modules/openthread/platform/ |
D | diag.c | 338 if (hex2bin(aArgs[0], strlen(aArgs[0]), data, ARRAY_SIZE(data)) == 0) { in startModCarrier()
|