Home
last modified time | relevance | path

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

/external/python/asn1crypto/tests/
Dtest_cms.py346 signed_data = info['content']
347 encap_content_info = signed_data['encap_content_info']
355 signed_data['version'].native
364 signed_data['digest_algorithms'].native
377 len(signed_data['certificates'])
379 certificate = signed_data['certificates'][0]
388 len(signed_data['signer_infos'])
390 signer = signed_data['signer_infos'][0]
484 signed_data = info['content']
485 encap_content_info = signed_data['encap_content_info']
[all …]
Dtest_tsp.py50 signed_data = token['content']
51 encap_content_info = signed_data['encap_content_info']
53 signer_infos = signed_data['signer_infos']
74 signed_data,
79 signed_data['version'].native
83 signed_data['digest_algorithms'][0]['algorithm'].native
155 signed_data['certificates'].native
159 signed_data['crls'].native
/external/avb/test/
Davb_atx_validate_unittest.cc231 metadata_.product_signing_key_certificate.signed_data.public_key, in Validate()
249 key.Sign(&metadata_.product_intermediate_key_certificate.signed_data, in SignPIKCertificate()
259 ASSERT_TRUE(key.Sign(&metadata_.product_signing_key_certificate.signed_data, in SignPSKCertificate()
270 &unlock_credential_.product_intermediate_key_certificate.signed_data, in SignUnlockCredentialPIKCertificate()
281 key.Sign(&unlock_credential_.product_unlock_key_certificate.signed_data, in SignUnlockCredentialPUKCertificate()
342 metadata_.product_intermediate_key_certificate.signed_data.key_version); in TEST_F()
344 metadata_.product_signing_key_certificate.signed_data.key_version); in TEST_F()
411 metadata_.product_signing_key_certificate.signed_data.public_key, in Validate()
449 metadata_.product_intermediate_key_certificate.signed_data.version = 25; in TEST_F()
457 metadata_.product_intermediate_key_certificate.signed_data.public_key[0] ^= 1; in TEST_F()
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7.c44 CBS in, content_info, content_type, wrapped_signed_data, signed_data; in pkcs7_parse_header() local
65 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header()
66 !CBS_get_asn1_uint64(&signed_data, &version) || in pkcs7_parse_header()
67 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) || in pkcs7_parse_header()
68 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header()
77 CBS_init(out, CBS_data(&signed_data), CBS_len(&signed_data)); in pkcs7_parse_header()
88 CBS signed_data, certificates; in PKCS7_get_raw_certificates() local
94 if (!pkcs7_parse_header(&der_bytes, &signed_data, cbs) || in PKCS7_get_raw_certificates()
96 &signed_data, &certificates, &has_certificates, in PKCS7_get_raw_certificates()
Dpkcs7_x509.c66 CBS signed_data, crls; in PKCS7_get_CRLs() local
72 if (!pkcs7_parse_header(&der_bytes, &signed_data, cbs) || in PKCS7_get_CRLs()
76 &signed_data, NULL, NULL, in PKCS7_get_CRLs()
79 &signed_data, &crls, &has_crls, in PKCS7_get_CRLs()
/external/avb/libavb_atx/
Davb_atx_validate.c90 if (certificate->signed_data.version != 1) { in verify_certificate()
95 sha512((const uint8_t*)&certificate->signed_data, in verify_certificate()
109 if (certificate->signed_data.key_version < minimum_key_version) { in verify_certificate()
113 if (0 != avb_safe_memcmp(certificate->signed_data.usage, in verify_certificate()
154 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_psk_certificate()
179 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_puk_certificate()
256 metadata.product_intermediate_key_certificate.signed_data.public_key, in avb_atx_validate_vbmeta_public_key()
268 metadata.product_signing_key_certificate.signed_data.public_key, in avb_atx_validate_vbmeta_public_key()
279 metadata.product_intermediate_key_certificate.signed_data.key_version); in avb_atx_validate_vbmeta_public_key()
283 metadata.product_signing_key_certificate.signed_data.key_version); in avb_atx_validate_vbmeta_public_key()
[all …]
Davb_atx_types.h66 AvbAtxCertificateSignedData signed_data; member
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc342 grpc_slice signed_data; member
363 ctx->signed_data = grpc_slice_from_copied_buffer(signed_jwt, signed_jwt_len); in verifier_cb_ctx_create()
374 grpc_slice_unref_internal(ctx->signed_data); in verifier_cb_ctx_destroy()
602 grpc_slice signature, grpc_slice signed_data) { in verify_jwt_signature() argument
616 if (EVP_DigestVerifyUpdate(md_ctx, GRPC_SLICE_START_PTR(signed_data), in verify_jwt_signature()
617 GRPC_SLICE_LENGTH(signed_data)) != 1) { in verify_jwt_signature()
654 ctx->signed_data)) { in on_keys_retrieved()
/external/libbrillo/policy/
Ddevice_policy_impl.cc54 bool VerifySignature(const std::string& signed_data, in VerifySignature() argument
80 EVP_VerifyUpdate(&ctx, signed_data.data(), signed_data.length()); in VerifySignature()
/external/ImageMagick/coders/
Ddcm.c2710 signed_data, member
2878 if (info->signed_data != 0) in ReadDCMPixels()
2902 if (info->signed_data == 1) in ReadDCMPixels()
3133 info.signed_data=(~0UL); in ReadDCMImage()
3528 info.signed_data=(size_t) datum; in ReadDCMImage()
3792 if (info.signed_data == 0xffff) in ReadDCMImage()
3793 info.signed_data=(size_t) (info.significant_bits == 16 ? 1 : 0); in ReadDCMImage()
/external/wpa_supplicant_8/src/tls/
Dx509v3.h148 const u8 *signed_data, size_t signed_data_len);
Dx509v3.c1900 const u8 *signed_data, size_t signed_data_len) in x509_check_signature() argument
1910 const u8 *addr[1] = { signed_data }; in x509_check_signature()
/external/grpc-grpc/test/core/security/
Djson_token_test.cc328 const char* signed_data, in check_jwt_signature() argument
345 GPR_ASSERT(EVP_DigestVerifyUpdate(md_ctx, signed_data, signed_data_size) == in check_jwt_signature()
/external/avb/
Davbtool.py3647 signed_data = bytearray()
3648 signed_data.extend(struct.pack('<I', 1)) # Format Version
3649 signed_data.extend(encode_rsa_key(subject_key_path))
3652 signed_data.extend(hasher.digest())
3659 signed_data.extend(hasher.digest())
3662 signed_data.extend(struct.pack('<Q', subject_key_version))
3670 hasher.update(signed_data)
3676 output.write(signed_data)
Davbtool3647 signed_data = bytearray()
3648 signed_data.extend(struct.pack('<I', 1)) # Format Version
3649 signed_data.extend(encode_rsa_key(subject_key_path))
3652 signed_data.extend(hasher.digest())
3659 signed_data.extend(hasher.digest())
3662 signed_data.extend(struct.pack('<Q', subject_key_version))
3670 hasher.update(signed_data)
3676 output.write(signed_data)