Home
last modified time | relevance | path

Searched refs:signed_data (Results 1 – 23 of 23) 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/rust/crates/quiche/deps/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/openscreen/cast/sender/channel/
Dcast_auth_util_unittest.cc126 std::vector<uint8_t>* signed_data, in CreateAuthResponse() argument
155 *signed_data = std::vector<uint8_t>( in CreateAuthResponse()
177 std::vector<uint8_t> signed_data; in TEST_F() local
179 CreateAuthResponse(&signed_data, ::cast::channel::SHA256); in TEST_F()
183 VerifyCredentialsForTest(auth_response, signed_data, in TEST_F()
190 std::vector<uint8_t> signed_data; in TEST_F() local
192 CreateAuthResponse(&signed_data, ::cast::channel::SHA256); in TEST_F()
195 VerifyCredentials(auth_response, signed_data); in TEST_F()
201 std::vector<uint8_t> signed_data; in TEST_F() local
203 CreateAuthResponse(&signed_data, ::cast::channel::SHA256); in TEST_F()
[all …]
/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/autotest/client/cros/mock_policies/
Dcreate_blob.py200 signed_data = policy_data.SerializeToString()
204 fetch_response.policy_data = signed_data
206 key.hashAndSign(signed_data))
/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Dtoken_database.h300 : begin_{.signed_data = begin}, end_{.signed_data = end} {} in TokenDatabase()
308 const signed char* signed_data; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc348 grpc_slice signed_data; member
369 ctx->signed_data = grpc_slice_from_copied_buffer(signed_jwt, signed_jwt_len); in verifier_cb_ctx_create()
380 grpc_slice_unref_internal(ctx->signed_data); in verifier_cb_ctx_destroy()
602 const 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/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/ImageMagick/coders/
Ddcm.c2710 signed_data, member
2880 if (info->signed_data != 0) in ReadDCMPixels()
2904 if (info->signed_data == 1) in ReadDCMPixels()
3143 info.signed_data=(~0UL); in ReadDCMImage()
3573 info.signed_data=(size_t) datum; in ReadDCMImage()
3837 if (info.signed_data == 0xffff) in ReadDCMImage()
3838 info.signed_data=(size_t) (info.significant_bits == 16 ? 1 : 0); in ReadDCMImage()
/external/libbrillo/policy/
Ddevice_policy_impl.cc62 bool VerifySignature(const std::string& signed_data, in VerifySignature() argument
87 EVP_VerifyUpdate(ctx.get(), signed_data.data(), signed_data.length()); in VerifySignature()
/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/rust/crates/grpcio-sys/grpc/test/core/security/
Djson_token_test.cc284 const char* signed_data, in check_jwt_signature() argument
301 GPR_ASSERT(EVP_DigestVerifyUpdate(md_ctx, signed_data, signed_data_size) == in check_jwt_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.py3824 signed_data = bytearray()
3825 signed_data.extend(struct.pack('<I', 1)) # Format Version
3826 signed_data.extend(RSAPublicKey(subject_key_path).encode())
3829 signed_data.extend(hasher.digest())
3836 signed_data.extend(hasher.digest())
3839 signed_data.extend(struct.pack('<Q', subject_key_version))
3844 signature = rsa_key.sign(algorithm_name, signed_data, signing_helper,
3846 output.write(signed_data)
Davbtool3824 signed_data = bytearray()
3825 signed_data.extend(struct.pack('<I', 1)) # Format Version
3826 signed_data.extend(RSAPublicKey(subject_key_path).encode())
3829 signed_data.extend(hasher.digest())
3836 signed_data.extend(hasher.digest())
3839 signed_data.extend(struct.pack('<Q', subject_key_version))
3844 signature = rsa_key.sign(algorithm_name, signed_data, signing_helper,
3846 output.write(signed_data)
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulateInstructionARM.cpp7637 int64_t signed_data = llvm::SignExtend64<8>(unsigned_data); in EmulateLDRSBImmediate() local
7639 (uint64_t)signed_data)) in EmulateLDRSBImmediate()
7734 int64_t signed_data = llvm::SignExtend64<8>(unsigned_data); in EmulateLDRSBLiteral() local
7736 (uint64_t)signed_data)) in EmulateLDRSBLiteral()
7885 int64_t signed_data = llvm::SignExtend64<8>(unsigned_data); in EmulateLDRSBRegister() local
7887 (uint64_t)signed_data)) in EmulateLDRSBRegister()
8047 int64_t signed_data = llvm::SignExtend64<16>(data); in EmulateLDRSHImmediate() local
8051 (uint64_t)signed_data)) in EmulateLDRSHImmediate()
8148 int64_t signed_data = llvm::SignExtend64<16>(data); in EmulateLDRSHLiteral() local
8150 (uint64_t)signed_data)) in EmulateLDRSHLiteral()
[all …]