cryptoauthlib
cryptoauthlib copied to clipboard
Library for interacting with the Crypto Authentication secure elements
After generating a key pair with `C_GenerateKeyPair` a call to `C_DestroyObject` fails with `CKR_ACTION_PROHIBITED`. The reason seems to be the check if `PKCS11_OBJECT_FLAG_DESTROYABLE` is set in the `pkcs11_object_destroy` function (which...
I am using cryptoauthlib version 3.5.1 to communicate with the ATECC508A chip via the I2C protocol. Currently, I am facing an issue where I am unable to read the private...
I have successfully generated a private key in the ECC chip using the libcryptoauth API (v3.5.1 tag), specifically in slot . However, when attempting to access the private key pointer...
**Describe the bug** When signing (ECDSA) a too-long buffer via the PKCS11 interface, eg with Botan PKCS11 interface here signing a 33 byte buffer ``` Botan::PK_Signer signer(atecc_privkey_handle, m_rng, "Raw", Botan::Signature_Format::Standard,...
# Please describe the purpose of this pull request Change size of signature # Checklist * [x] I have reviewed the [CONTRIBUTING.md](https://github.com/MicrochipTech/cryptoauthlib/blob/main/CONTRIBUTING.md) and agree to it's terms
# Please describe the purpose of this pull request # Checklist * [x] I have reviewed the [CONTRIBUTING.md](https://github.com/MicrochipTech/cryptoauthlib/blob/main/CONTRIBUTING.md) and agree to it's terms
Hello, i'm working on a SAMA5D27 and an ATECC608B_SSHB Secure Element on a Yocto distro (Kirkstone branch). The ATECC608B seems works correctly  The device is connected on the 4th...
The function symmetric_authenticate didn't work for the atsha204a. The host_mac and device_mac did not match. This was due to the fact that on the host side a key was derived...
…L_LEGACY_API # Please describe the purpose of this pull request Fix #372 # Checklist * [x] I have reviewed the [CONTRIBUTING.md](https://github.com/MicrochipTech/cryptoauthlib/blob/main/CONTRIBUTING.md) and agree to it's terms
**Describe the bug** The cmake target "cryptoauth" does not declare its headers with target_include_directories, so other projects that use this library do not automatically pick up all of the needed...