4 CAM/HSM-Lite Troubleshooting Guide

The CAM/HSM-Lite Hardware Driver supports devices with the CAM/HSM-Lite peripheral. Build failure will occur if the device does not have a CAM/HSM-Lite peripheral or if there is a mismatch between hardware and library support.

If a build failure occur, ensure the following:

  • The device has a CAM/HSM-Lite peripheral
  • The latest CAM/HSM-Lite Hardware Driver is being used
  • The CAM/HSM-Lite Hardware Driver supports the device (Refer to the table below)
Table 4-1. CAM/HSM-Lite Hardware Driver Support
Device FamilyCAM/HSM-Lite Peripheral IDLibrary NameSuppported Algorithms
dsPIC33AK512MPS512CAM-05346libcam05346-dspic33a.a
  • AES
    • Symmetric
      • ECB
      • CBC
      • OFB
      • CFB128
      • CTR
      • XTS
    • Aead
      • GCM
      • CCM
    • CMAC
    • GMAC
  • ECDSA
  • ECDH
  • HASH
    • HMAC
    • SHA-1
    • SHA2-224
    • SHA2-256
    • SHA2-384
    • SHA2-512
  • TRNG
dsPIC33AK256MPS306CAM-06048libcam06048-dspic33a.a
  • AES
    • Symmetric
      • ECB
      • CBC
      • OFB
      • CFB128
      • CTR
      • XTS
    • Aead
      • GCM
      • CCM
    • CMAC
    • GMAC
  • ECDSA
  • ECDH
  • HASH
    • HMAC
    • SHA-1
    • SHA2-224
    • SHA2-256
    • SHA2-384
    • SHA2-512
    • SHA3-224
    • SHA3-256
    • SHA3-384
    • SHA3-512
    • SHAKE128
    • SHAKE256
  • TRNG
PIC32CM SG00/GC00HSM-Lite 04777libhsmlite04777-pic32cm.a
  • AES
    • Symmetric
      • ECB
      • CBC
      • OFB
      • CFB128
      • CTR
      • XTS
    • Aead
      • GCM
      • CCM
    • CMAC
    • GMAC
  • ECDSA
  • ECDH
  • HASH
    • HMAC
    • SHA-1
    • SHA2-224
    • SHA2-256
    • SHA2-384
    • SHA2-512
  • TRNG