Searched refs:checksum (Results 1 – 7 of 7) sorted by relevance
/system/keymaster/ |
D | ocb.c | 620 block checksum; /* Memory correct */ member 924 block offset, checksum; in ae_encrypt() local 932 ctx->ad_offset = ctx->checksum = zero_block(); in ae_encrypt() 944 checksum = ctx->checksum; in ae_encrypt() 955 checksum = xor_block(checksum, ptp[0]); in ae_encrypt() 958 checksum = xor_block(checksum, ptp[1]); in ae_encrypt() 961 checksum = xor_block(checksum, ptp[2]); in ae_encrypt() 965 checksum = xor_block(checksum, ptp[3]); in ae_encrypt() 969 checksum = xor_block(checksum, ptp[3]); in ae_encrypt() 972 checksum = xor_block(checksum, ptp[4]); in ae_encrypt() [all …]
|
/system/core/libnetutils/ |
D | packet.c | 66 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) in checksum() function 112 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); in send_packet() 120 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); in send_packet() 121 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); in send_packet() 123 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet() 125 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet() 128 udpsum = checksum(&udp, sizeof(udp), udpsum); in send_packet() 131 udpsum = checksum(msg, size, udpsum); in send_packet() 211 sum = finish_sum(checksum(&packet.ip, sizeof(packet.ip), 0)); in receive_packet() 232 sum = finish_sum(checksum(&packet, nread, 0)); in receive_packet()
|
/system/connectivity/dhcp_client/ |
D | dhcp_message_unittest.cc | 169 uint16_t checksum = DHCPMessage::ComputeChecksum(kFakeBufferEvenLength, in TEST_F() local 171 EXPECT_EQ(kFakeBufferEvenLengthChecksum, checksum); in TEST_F() 175 uint16_t checksum = DHCPMessage::ComputeChecksum(kFakeBufferOddLength, in TEST_F() local 177 EXPECT_EQ(kFakeBufferOddLengthChecksum, checksum); in TEST_F()
|
/system/core/adb/ |
D | test_device.py | 593 def __init__(self, handle, checksum): argument 595 self.checksum = checksum 601 def __init__(self, checksum, full_path): argument 602 self.checksum = checksum 650 def _verify_remote(self, checksum, remote_path): argument 653 self.assertEqual(checksum, dev_md5) 655 def _verify_local(self, checksum, local_path): argument 658 self.assertEqual(host_md5, checksum) 695 self._verify_remote(temp_file.checksum, remote_path) 754 self._verify_remote(temp_file.checksum, remote_path) [all …]
|
/system/connectivity/shill/ |
D | icmp.cc | 85 icmp_header.checksum = ComputeIcmpChecksum(icmp_header, sizeof(icmp_header)); in TransmitEchoRequest()
|
D | icmp_unittest.cc | 174 icmp_header.checksum = ComputeIcmpChecksum(icmp_header, sizeof(icmp_header)); in TEST_F()
|
/system/extras/tests/net_test/ |
D | ping6_test.py | 66 checksum = layer.chksum 69 checksum = layer.cksum 71 return checksum
|