Lines Matching refs:TPM2_SHA256_DIGEST_SIZE
174 static u8 (*pcrs)[TPM2_SHA256_DIGEST_SIZE];
175 static u8 expected_pcrs[EFI_TCG2_MAX_PCR_INDEX + 1][TPM2_SHA256_DIGEST_SIZE] = {
304 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
317 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
330 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
343 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
356 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
369 static u8 expected_pcrs_per_arch[][TPM2_SHA256_DIGEST_SIZE] = {
655 TPM2_SHA256_DIGEST_SIZE,
662 boottime->set_mem(pcrs, (EFI_TCG2_MAX_PCR_INDEX + 1) * TPM2_SHA256_DIGEST_SIZE, 0);
665 boottime->copy_mem(&expected_pcrs[4], &expected_pcrs_per_arch[0], TPM2_SHA256_DIGEST_SIZE);
666 boottime->copy_mem(&expected_pcrs[6], &expected_pcrs_per_arch[1], TPM2_SHA256_DIGEST_SIZE);
771 TPM2_SHA256_DIGEST_SIZE);
799 if (memcmp(pcrs[i], expected_pcrs[i], TPM2_SHA256_DIGEST_SIZE)) {