Lines Matching refs:certificate
78 static bool verify_certificate(AvbAtxCertificate* certificate, in verify_certificate() argument
85 if (certificate->signed_data.version != 1) { in verify_certificate()
90 sha512((const uint8_t*)&certificate->signed_data, in verify_certificate()
95 certificate->signature, in verify_certificate()
104 if (certificate->signed_data.key_version < minimum_key_version) { in verify_certificate()
108 if (0 != avb_safe_memcmp(certificate->signed_data.usage, in verify_certificate()
118 static bool verify_pik_certificate(AvbAtxCertificate* certificate, in verify_pik_certificate() argument
125 certificate, authority, minimum_version, expected_usage)) { in verify_pik_certificate()
134 AvbAtxCertificate* certificate, in verify_psk_certificate() argument
143 certificate, authority, minimum_version, expected_usage)) { in verify_psk_certificate()
148 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_psk_certificate()