Searched refs:checksum (Results 1 – 17 of 17) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pmac/ |
A D | pmac_done.c | 33 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 D | pmac_process.c | 49 *(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 D | pmac_init.c | 126 zeromem(pmac->checksum, sizeof(pmac->checksum)); in pmac_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_decrypt_last.c | 61 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 D | ocb3_encrypt_last.c | 63 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 D | ocb3_decrypt.c | 62 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt_b, ocb->block_len); in ocb3_decrypt()
|
A D | ocb3_encrypt.c | 62 ocb3_int_xor_blocks(ocb->checksum, ocb->checksum, pt_b, ocb->block_len); in ocb3_encrypt()
|
A D | ocb3_init.c | 172 zeromem(ocb->checksum, ocb->block_len); in ocb3_init()
|
/optee_os-3.20.0/core/drivers/bnxt/ |
A D | bnxt_fw.c | 100 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 D | s_ocb_done.c | 87 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 D | ocb_encrypt.c | 36 ocb->checksum[x] ^= pt[x]; in ocb_encrypt()
|
A D | ocb_decrypt.c | 55 ocb->checksum[x] ^= pt[x]; in ocb_decrypt()
|
A D | ocb_init.c | 120 zeromem(ocb->checksum, ocb->block_len); in ocb_init()
|
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/ |
A D | stm32image.py | 41 checksum = stm32image_checksum(dest_fd, sizedest) 53 checksum,
|
/optee_os-3.20.0/core/arch/arm/plat-k3/drivers/ |
A D | ti_sci_protocol.h | 35 uint16_t checksum; member
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_mac.h | 67 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 D | versal_trng.c | 310 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