Home
last modified time | relevance | path

Searched refs:signed_data (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/crypto/x509/
Dpkcs7.c48 CBS in, content_info, content_type, wrapped_signed_data, signed_data; in pkcs7_parse_header() local
77 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header()
78 !CBS_get_asn1_uint64(&signed_data, &version) || in pkcs7_parse_header()
79 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) || in pkcs7_parse_header()
80 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header()
89 CBS_init(out, CBS_data(&signed_data), CBS_len(&signed_data)); in pkcs7_parse_header()
99 CBS signed_data, certificates; in PKCS7_get_certificates() local
104 if (!pkcs7_parse_header(&der_bytes, &signed_data, cbs)) { in PKCS7_get_certificates()
109 if (!CBS_get_asn1(&signed_data, &certificates, in PKCS7_get_certificates()
157 CBS signed_data, crls; in PKCS7_get_CRLs() local
[all …]
/external/avb/test/
Davb_atx_validate_unittest.cc179 metadata_.product_signing_key_certificate.signed_data.public_key, in Validate()
192 key.Sign(&metadata_.product_intermediate_key_certificate.signed_data, in SignPIKCertificate()
202 ASSERT_TRUE(key.Sign(&metadata_.product_signing_key_certificate.signed_data, in SignPSKCertificate()
297 metadata_.product_signing_key_certificate.signed_data.public_key, in Validate()
335 metadata_.product_intermediate_key_certificate.signed_data.version = 25; in TEST_F()
343 metadata_.product_intermediate_key_certificate.signed_data.public_key[0] ^= 1; in TEST_F()
350 metadata_.product_intermediate_key_certificate.signed_data.subject[0] ^= 1; in TEST_F()
357 metadata_.product_intermediate_key_certificate.signed_data.usage[0] ^= 1; in TEST_F()
364 metadata_.product_intermediate_key_certificate.signed_data.key_version ^= 1; in TEST_F()
378 metadata_.product_intermediate_key_certificate.signed_data.subject[0] ^= 1; in TEST_F()
[all …]
/external/avb/libavb_atx/
Davb_atx_validate.c85 if (certificate->signed_data.version != 1) { in verify_certificate()
90 sha512((const uint8_t*)&certificate->signed_data, 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()
148 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_psk_certificate()
225 metadata.product_intermediate_key_certificate.signed_data.public_key, in avb_atx_validate_vbmeta_public_key()
237 metadata.product_signing_key_certificate.signed_data.public_key, in avb_atx_validate_vbmeta_public_key()
Davb_atx_types.h63 AvbAtxCertificateSignedData signed_data; member
/external/ImageMagick/coders/
Ddcm.c2836 signed_data, in ReadDCMImage() local
2919 signed_data=(~0UL); in ReadDCMImage()
3306 signed_data=(size_t) datum; in ReadDCMImage()
3542 if (signed_data == 0xffff) in ReadDCMImage()
3543 signed_data=(size_t) (significant_bits == 16 ? 1 : 0); in ReadDCMImage()
3900 if (signed_data) in ReadDCMImage()
3923 if (signed_data == 1) in ReadDCMImage()
4018 if (signed_data == 1) in ReadDCMImage()
4037 if (signed_data == 1) in ReadDCMImage()
/external/libbrillo/policy/
Ddevice_policy_impl.cc40 bool VerifySignature(const std::string& signed_data, in VerifySignature() argument
66 EVP_VerifyUpdate(&ctx, signed_data.data(), signed_data.length()); in VerifySignature()
/external/wpa_supplicant_8/src/tls/
Dx509v3.h141 const u8 *signed_data, size_t signed_data_len);
Dx509v3.c1738 const u8 *signed_data, size_t signed_data_len) in x509_check_signature() argument
1748 const u8 *addr[1] = { signed_data }; in x509_check_signature()
/external/autotest/client/site_tests/network_DestinationVerification/
Dnetwork_DestinationVerification.py234 message.signed_data = base64.b64decode(sign_bundle['signed_data'])
/external/avb/
Davbtool2665 signed_data = bytearray()
2666 signed_data.extend(struct.pack('<I', 1)) # Format Version
2667 signed_data.extend(
2671 signed_data.extend(hasher.digest())
2677 signed_data.extend(hasher.digest())
2680 signed_data.extend(struct.pack('<Q', subject_key_version))
2687 hasher.update(signed_data)
2691 output.write(signed_data)