Home
last modified time | relevance | path

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

/base/update/updater/services/rust/hash_signed_data/src/
Dlib.rs34 pub unsafe extern fn LoadHashSignedData(signed_data: *const c_char) in LoadHashSignedData()
37 if signed_data.is_null() { in LoadHashSignedData()
42 let signed_data_str: &CStr = unsafe { CStr::from_ptr(signed_data) }; in LoadHashSignedData()
67 pub unsafe extern fn GetSigFromHashData(signed_data: *const HashSignedData, in GetSigFromHashData()
70 if out.is_null() || file_name.is_null() || signed_data.is_null() { in GetSigFromHashData()
72 out.is_null(), file_name.is_null(), signed_data.is_null()); in GetSigFromHashData()
75 let signed_data = ManuallyDrop::new(unsafe { &*signed_data }); in GetSigFromHashData() localVariable
84 let sig = match signed_data.get_sig_for_file(file_name) { in GetSigFromHashData()
108 pub unsafe extern fn ReleaseHashSignedData(signed_data: *const HashSignedData) in ReleaseHashSignedData()
110 if signed_data.is_null() { in ReleaseHashSignedData()
[all …]
/base/update/updater/services/include/rust/
Dhash_signed_data.h25 size_t GetSigFromHashData(const HashSignedData *signed_data, uint8_t *out, size_t outLen, const cha…
26 const HashSignedData *LoadHashSignedData(const char *signed_data);
27 void ReleaseHashSignedData(const HashSignedData *signed_data);
/base/update/packaging_tools/
Dbuild_pkcs7.py174 signed_data = cms.SignedData()
175 signed_data['version'] = 'v1'
176 signed_data['encap_content_info'] = util.OrderedDict([
180 signed_data['digest_algorithms'] = [util.OrderedDict([
187 signed_data['certificates'] = [cert]
211 signed_data['signer_infos'] = [signer_info]
216 asn1obj['content'] = signed_data
Dbuild_module_package.py340 signed_data = cms.SignedData()
341 signed_data['version'] = 'v1'
342 signed_data['encap_content_info'] = util.OrderedDict([
346 signed_data['digest_algorithms'] = [util.OrderedDict([
353 signed_data['certificates'] = [cert]
377 signed_data['signer_infos'] = [signer_info]
382 asn1obj['content'] = signed_data
Dupdate_package.py408 signed_data = ""
411 signed_data = generate_signed_data_default(files_to_sign)
413 signed_data = generate_signed_data_ext(files_to_sign)
414 if signed_data == "":
418 zip_file.writestr("hash_signed_data", signed_data)