1. 21 Mar, 2017 2 commits
    • Tao Bao's avatar
      Refactor asn1_decoder functions into a class. · 861c53c6
      Tao Bao authored
      Test: mmma bootable/recovery
      Test: recovery_unit_test passes.
      Test: recovery_component_test passes.
      Change-Id: If0bf25993158eaebeedff55ba4f4dd0f6e5f937d
      861c53c6
    • Tao Bao's avatar
      verify_file: Add constness to a few addresses. · 76fdb241
      Tao Bao authored
      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
      76fdb241
  2. 10 Oct, 2013 1 commit
    • Kenny Root's avatar
      Add support for ECDSA signatures · 7a4adb52
      Kenny Root authored
      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
      7a4adb52