Home
last modified time | relevance | path

Searched refs:SIG_ASN1_HEADER (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/scripts/update_payload/
Dcommon.py31 SIG_ASN1_HEADER = ( variable
Dchecker_unittest.py353 common.SIG_ASN1_HEADER, signed_hash,
361 common.SIG_ASN1_HEADER, signed_hash,
369 common.SIG_ASN1_HEADER, signed_hash,
376 bad_asn1_header = b'bad-asn-header'.ljust(len(common.SIG_ASN1_HEADER))
386 common.SIG_ASN1_HEADER,
Dtest_utils.py100 data_sha256_hash = common.SIG_ASN1_HEADER + hashlib.sha256(data).digest()
Dchecker.py525 if len(signed_data) != len(common.SIG_ASN1_HEADER) + 32:
529 if not signed_data.startswith(common.SIG_ASN1_HEADER):
533 signed_hash = signed_data[len(common.SIG_ASN1_HEADER):]