summaryrefslogtreecommitdiffstats
path: root/install/asn1_decoder.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-29Move install to separate modulexunchang1-3/+1
Build libinstall as a shared library. Also drop the dependency on the global variables in common.h. Test: unit tests pass, sideload an OTA Change-Id: I30a20047768ce00689fc0e7851c1c5d712a365a0
2017-03-23Checking unsigned variable less than zeroMikhail Lappo1-2/+2
Unsinged variable can not be less than zero Makes sense only to check if it is equal
2017-03-21Refactor asn1_decoder functions into a class.Tao Bao1-143/+110
Test: mmma bootable/recovery Test: recovery_unit_test passes. Test: recovery_component_test passes. Change-Id: If0bf25993158eaebeedff55ba4f4dd0f6e5f937d
2017-03-21verify_file: Add constness to a few addresses.Tao Bao1-6/+6
We should not touch any data while verifying packages (or parsing the in-memory ASN.1 structures). Test: mmma bootable/recovery Test: recovery_component_test passes. Test: recovery_unit_test passes. Change-Id: Ie990662c6451ec066a1807b3081c9296afbdb0bf
2015-01-28Add missing includes.Elliott Hughes1-0/+1
Change-Id: I0737456e0221ebe9cc854d65c95a7d37d0869d56
2013-10-10Add support for ECDSA signaturesKenny Root1-0/+190
This adds support for key version 5 which is an EC key using the NIST P-256 curve parameters. OTAs may be signed with these keys using the ECDSA signature algorithm with SHA-256. Change-Id: Id88672a3deb70681c78d5ea0d739e10f839e4567