Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New additions for MAXQ with wolfPKCS11
- Support using MAXQ for: - AES-ECB - AES-CCM - AES-CBC - ECC Key Generation and ECDH - in wc_ecc_import_private_key_ex(): - check to make sure devId is not invalid before calling wc_MAXQ10XX_EccSetKey(). - This is because the raspberry pi sometimes need to sign stuff. - in aes_set_key() and ecc_set_key(): - delete a key in case it already exists; ignore error since it might not exist. - unlock, lock the HW mutex around ECDSA_sign() because it needs access to rng - in wolfSSL_MAXQ10XX_CryptoDevCb: - allow maxq1065 to call the crypto callback. - do not set the key during signing; use pre provisioned one instead (DEVICE_KEY_PAIR_OBJ_ID)
- Loading branch information