Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 17 of 17) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pmac/
A Dpmac_done.c33 pmac->checksum[x] ^= pmac->block[x] ^ pmac->Lr[x]; in pmac_done()
38 pmac->checksum[x] ^= pmac->block[x]; in pmac_done()
40 pmac->checksum[x] ^= 0x80; in pmac_done()
44 …if ((err = cipher_descriptor[pmac->cipher_idx]->ecb_encrypt(pmac->checksum, pmac->checksum, &pmac-… in pmac_done()
51 out[x] = pmac->checksum[x]; in pmac_done()
A Dpmac_process.c49 *(LTC_FAST_TYPE_PTR_CAST(&pmac->checksum[y])) ^= *(LTC_FAST_TYPE_PTR_CAST(&Z[y])); in pmac_process()
68 pmac->checksum[x] ^= Z[x]; in pmac_process()
A Dpmac_init.c126 zeromem(pmac->checksum, sizeof(pmac->checksum)); in pmac_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_decrypt_last.c61 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt+full_blocks_len, last_block_len); in ocb3_decrypt_last()
64 ocb->checksum[x] ^= 0x80; in ocb3_decrypt_last()
66 ocb->checksum[x] ^= 0x00; in ocb3_decrypt_last()
73 ocb->tag_part[x] = (ocb->checksum[x] ^ iOffset_star[x]) ^ ocb->L_dollar[x]; in ocb3_decrypt_last()
83 ocb->tag_part[x] = (ocb->checksum[x] ^ ocb->Offset_current[x]) ^ ocb->L_dollar[x]; in ocb3_decrypt_last()
A Docb3_encrypt_last.c63 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt+full_blocks_len, last_block_len); in ocb3_encrypt_last()
66 ocb->checksum[x] ^= 0x80; in ocb3_encrypt_last()
68 ocb->checksum[x] ^= 0x00; in ocb3_encrypt_last()
75 ocb->tag_part[x] = (ocb->checksum[x] ^ iOffset_star[x]) ^ ocb->L_dollar[x]; in ocb3_encrypt_last()
84 ocb->tag_part[x] = (ocb->checksum[x] ^ ocb->Offset_current[x]) ^ ocb->L_dollar[x]; in ocb3_encrypt_last()
A Docb3_decrypt.c62 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt_b, ocb->block_len); in ocb3_decrypt()
A Docb3_encrypt.c62 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt_b, ocb->block_len); in ocb3_encrypt()
A Docb3_init.c172 zeromem(ocb->checksum, ocb->block_len); in ocb3_init()
/optee_os-3.20.0/core/drivers/bnxt/
A Dbnxt_fw.c100 uint32_t checksum; member
136 uint32_t checksum; member
267 uint32_t checksum = 0; in ape_bin_hdr_valid() local
284 checksum = ape_hdr_crc_calc(hdr); in ape_bin_hdr_valid()
285 if (hdr->checksum != checksum) { in ape_bin_hdr_valid()
287 hdr->checksum, checksum); in ape_bin_hdr_valid()
421 uint32_t checksum = 0; in ape_section_copy() local
464 checksum = 0; in ape_section_copy()
466 checksum += ((uint32_t *)src)[i]; in ape_section_copy()
468 if (checksum != section->checksum) { in ape_section_copy()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/
A Ds_ocb_done.c87 ocb->checksum[x] ^= ct[x]; in s_ocb_done()
100 ocb->checksum[x] ^= ct[x]; in s_ocb_done()
106 ocb->checksum[x] ^= Y[x] ^ Z[x]; in s_ocb_done()
110 …if ((err = cipher_descriptor[ocb->cipher]->ecb_encrypt(ocb->checksum, X, &ocb->key)) != CRYPT_OK) { in s_ocb_done()
A Docb_encrypt.c36 ocb->checksum[x] ^= pt[x]; in ocb_encrypt()
A Docb_decrypt.c55 ocb->checksum[x] ^= pt[x]; in ocb_decrypt()
A Docb_init.c120 zeromem(ocb->checksum, ocb->block_len); in ocb_init()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/
A Dstm32image.py41 checksum = stm32image_checksum(dest_fd, sizedest)
53 checksum,
/optee_os-3.20.0/core/arch/arm/plat-k3/drivers/
A Dti_sci_protocol.h35 uint16_t checksum; member
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h67 checksum[MAXBLOCKSIZE]; /* current checksum */ member
298 checksum[MAXBLOCKSIZE]; /* current checksum */ member
355 checksum[MAXBLOCKSIZE]; /* current checksum */ member
/optee_os-3.20.0/core/drivers/
A Dversal_trng.c310 static void checksum(unsigned char *in, uint8_t *iv, int max_blk) in checksum() function
470 checksum((unsigned char *)&trng->dfin, in trng_df_algorithm()

Completed in 33 milliseconds