sec: Fix infinite loop

If the caller of EncryptAES() supplied a nonce shorter than 16 bytes,
the function would enter an endless loop.
1 file changed
tree: eb19c4ad7fa60d6d815e4aa5398b717fb2958e07
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. NOTICE
  5. README.md
  6. errors/
  7. flash/
  8. go.mod
  9. go.sum
  10. image/
  11. manifest/
  12. mfg/
  13. sec/
README.md

Mynewt Artifact

Apache Mynewt Artifact is a Go library that parses, manipulates, validates, and outputs Mynewt artifacts. Supported artifacts are:

  • Images
  • Image manifests
  • Manufacturing images (mfgimages)
  • Manufacturing manifests