bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

use partition crc32 #25

Closed russelldeguzman closed 10 months ago

russelldeguzman commented 10 months ago

This PR does two things (which are coupled):

  1. Splits the partition validation CRC from the Cbor Configuration CRC (so the partition metadata is protected)
  2. Changs asCborMap to use string with length rather than stringz. So we now get {"hello": 1} instead of {"hello uint 1": 1}