Searched refs:checksum (Results 101 - 116 of 116) sorted by relevance

12345

/u-boot/lib/crypto/
H A Dpkcs7_verify.c19 #include <u-boot/hash-checksum.h>
/u-boot/drivers/firmware/
H A Dti_sci.h107 * @checksum: crc16 checksum for the entire message
111 u16 checksum; member in struct:ti_sci_secure_msg_hdr
H A Dti_sci.c185 /* ToDo: Verify checksum */
250 /* ToDo: get checksum of the entire message */
251 secure_hdr->checksum = 0;
/u-boot/include/
H A Dnet.h334 u16 ip_sum; /* checksum */
360 u16 ip_sum; /* checksum */
427 u16 checksum; member in struct:icmp_hdr
581 * compute_ip_checksum() - Compute IP checksum
585 * Return: 16-bit IP checksum
593 * @sum: First checksum
594 * @new_sum: New checksum to add
595 * Return: updated 16-bit IP checksum
600 * ip_checksum_ok() - check if a checksum is correct
602 * This works by making sure the checksum sum
[all...]
H A Dec_commands.h23 * - S is the checksum which is the sum of all payload bytes.
598 uint8_t checksum; member in struct:ec_lpc_host_args
713 * N+3 8-bit checksum of bytes 0..N+2
720 * M+2 8-bit checksum of bytes 0..M+1
761 * Checksum of request and data; sum of all bytes including checksum
764 uint8_t checksum; member in struct:ec_host_request
787 * Checksum of response and data; sum of all bytes including checksum
790 uint8_t checksum; member in struct:ec_host_response
810 * communication protocols (I2C, SPI) may add length or checksum headers, but
/u-boot/arch/arm/mach-rockchip/
H A Dsdram.c23 u32 checksum; member in struct:tos_parameter_t
/u-boot/fs/zfs/
H A Dzfs.c259 * zio_checksum_verify: Provides support for checksum verification.
265 zio_checksum_verify(zio_cksum_t zc, uint32_t checksum, argument
269 zio_checksum_info_t *ci = &zio_checksum_table[checksum];
272 if (checksum >= ZIO_CHECKSUM_FUNCTIONS || ci->ci_func == NULL) {
273 printf("zfs unknown checksum function %d\n", checksum);
339 * number, the version number, and the checksum.
342 * Need to Implement: checksum
536 /*Check the underlying checksum before we rule this DVA as "good"*/
544 /* If read failed or checksum ba
[all...]
/u-boot/tools/
H A Dimage-host.c193 info->checksum = image_get_checksum_algo(algo_name);
198 if (!info->checksum || !info->crypto) {
H A Dkwboot.c85 * and data part of the image does not have to contain 32-bit checksum
86 * (all other image types must have valid 32-bit checksum in its data part).
1415 * numbers, they are only used for checksum verification.
1419 * checksum failure). During the transmission of kwbimage data
1846 * 32-bit checksum comes after end of image code, so we will be putting
2011 * Calculate data checksum and if it matches
2075 csum = kwboot_hdr_csum8(hdr) - hdr->checksum;
2076 if (csum != hdr->checksum) {
2077 fprintf(stderr, "Image has invalid header checksum stored in image header\n");
2120 * The 32-bit data checksum i
[all...]
/u-boot/lib/efi_loader/
H A Defi_signature.c18 #include <u-boot/hash-checksum.h>
H A Defi_tcg2.c21 #include <u-boot/hash-checksum.h>
/u-boot/lib/rsa/
H A Drsa-sign.c484 ret = rsa_sign_with_key(pkey, info->padding, info->checksum, region,
/u-boot/lib/
H A Dsmbios.c621 se->checksum = table_compute_checksum(se, sizeof(struct smbios3_entry));
/u-boot/arch/x86/lib/
H A Dacpi_nhlt.c418 header->checksum = table_compute_checksum(header, sz);
/u-boot/drivers/misc/
H A Dcros_ec.c115 * Calculate a simple 8-bit checksum of a data block
117 * @param data Data block to checksum
119 * Return: checksum value (0 to 255)
157 rq->checksum = 0;
166 /* Write checksum field so the entire packet sums to 0 */
167 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(cdev->dout, out_bytes));
238 /* Verify checksum */
241 debug("%s: EC response checksum invalid: 0x%02x\n", __func__,
/u-boot/lib/efi_selftest/
H A Defi_selftest_tcg2.c591 se->checksum = table_compute_checksum(se, sizeof(struct smbios3_entry));

Completed in 227 milliseconds

12345