Searched refs:checksum (Results 1 – 12 of 12) sorted by relevance
| /subsys/retention/ |
| A D | retention.c | 24 #define INST_HAS_CHECKSUM(n) DT_INST_PROP(n, checksum) || 220 uint32_t checksum = 0; in retention_is_valid() local 224 rc = retention_checksum(dev, &checksum); in retention_is_valid() 252 if (checksum != expected_checksum) { in retention_is_valid() 330 uint32_t checksum = 0; in retention_write() local 332 rc = retention_checksum(dev, &checksum); in retention_write() 339 uint8_t output_checksum = (uint8_t)checksum; in retention_write() 345 uint16_t output_checksum = (uint16_t)checksum; in retention_write() 353 (void *)&checksum, sizeof(checksum)); in retention_write() 411 .checksum_size = DT_INST_PROP(inst, checksum), \ [all …]
|
| /subsys/debug/coredump/ |
| A D | coredump_backend_flash_partition.c | 73 uint16_t checksum; member 103 uint16_t checksum; member 230 backend_ctx.checksum += buf[i]; in cb_calc_buf_checksum() 273 backend_ctx.checksum = 0; in process_stored_dump() 279 ret = (backend_ctx.checksum == hdr.checksum) ? 1 : 0; in process_stored_dump() 423 backend_ctx.checksum = 0; in coredump_flash_backend_start() 479 hdr.checksum = backend_ctx.checksum; in coredump_flash_backend_end() 542 backend_ctx.checksum += tmp_buf[i]; in coredump_flash_backend_buffer_output()
|
| /subsys/mgmt/mcumgr/grp/fs_mgmt/ |
| A D | Kconfig | 104 Enable this to support the hash/checksum MCUmgr functionality, 105 individual checksum and hash types need to be enabled below. 107 from the file being read and generate the output hash/checksum. 116 Chunk size of buffer to use when calculating file checksum or hash 120 bool "IEEE CRC32 checksum support" 124 Enable IEEE CRC32 checksum support for MCUmgr. 134 bool "Supported hash/checksum command" 137 Enable the supported hash/checksum command which will return details on 138 supported hash and checksum types that can be used. 145 This is used for defining CBOR map holding supported hash/checksum info.
|
| /subsys/mgmt/ec_host_cmd/ |
| A D | ec_host_cmd_handler.c | 88 uint8_t checksum = 0; in cal_checksum() local 91 checksum += buffer[i]; in cal_checksum() 93 return (uint8_t)(-checksum); in cal_checksum() 204 tx_header->checksum = 0; in send_status_response() 205 tx_header->checksum = cal_checksum((uint8_t *)tx_header, TX_HEADER_SIZE); in send_status_response() 280 tx_header->checksum = 0; in prepare_response() 281 tx_header->checksum = cal_checksum(tx->buf, tx_valid_data_size); in prepare_response()
|
| /subsys/debug/gdbstub/ |
| A D | gdbstub.c | 190 uint8_t checksum = 0; in gdb_send_packet() local 197 checksum += *data; in gdb_send_packet() 204 if (gdb_bin2hex(&checksum, 1, buf, sizeof(buf)) == 0) { in gdb_send_packet() 229 uint8_t expected_checksum, checksum = 0; in gdb_get_packet() local 233 checksum = 0; in gdb_get_packet() 254 checksum += ch; in gdb_get_packet() 269 if (checksum != expected_checksum) { in gdb_get_packet() 271 checksum, expected_checksum); in gdb_get_packet()
|
| /subsys/testsuite/coverage/ |
| A D | coverage.h | 112 unsigned int checksum; /* unique object checksum */ member
|
| A D | coverage.c | 165 info->checksum); in gcov_populate_buffer()
|
| /subsys/mgmt/osdp/src/ |
| A D | osdp_phy.c | 44 uint8_t checksum = 0; in osdp_compute_checksum() local 50 checksum = ~(0xff & whole_checksum) + 1; in osdp_compute_checksum() 52 return checksum; in osdp_compute_checksum()
|
| /subsys/bluetooth/services/ots/ |
| A D | ots_oacp.c | 175 uint32_t checksum; in oacp_checksum_proc_validate() local 203 checksum = bt_ots_client_calc_checksum((const uint8_t *)obj_data, params->len); in oacp_checksum_proc_validate() 204 net_buf_simple_add_le32(resp_param, checksum); in oacp_checksum_proc_validate() 206 params->len, checksum); in oacp_checksum_proc_validate()
|
| A D | ots_client.c | 378 uint32_t checksum; in oacp_ind_handler() local 402 if (net_buf.len == sizeof(checksum)) { in oacp_ind_handler() 403 checksum = net_buf_simple_pull_le32(&net_buf); in oacp_ind_handler() 404 LOG_DBG("Object checksum 0x%08x\n", checksum); in oacp_ind_handler() 407 otc_inst, conn, result_code, checksum); in oacp_ind_handler()
|
| /subsys/net/ip/ |
| A D | Kconfig.tcp | 159 bool "Check TCP checksum" 163 Enables TCP handler to check TCP checksum. If the checksum is invalid,
|
| A D | Kconfig | 464 bool "Check UDP checksum" 468 Enables UDP handler to check UDP checksum. If the checksum is invalid, 472 bool "Accept missing checksum (IPv4 only)" 476 RFC 768 states the possibility to have a missing checksum, for 479 UDP checksum in transmission path.
|
Completed in 37 milliseconds