cryptoauth-openssl-engine
cryptoauth-openssl-engine copied to clipboard
use correct data type for key_str in get_key,
use correct data type for key_str in get_key
To fix, change the below line in lib/openssl/eccx08_cmd_defns.c
char* key_str[32];
EVP_PKEY* pkey;
DEBUG_ENGINE("Entered\n");
to
char key_str[32];
EVP_PKEY* pkey;
DEBUG_ENGINE("Entered\n");
Cryptoauthlib which is the core library for using the ATECC508A does also feature a linux userspace i2c driver you can use. We don't have a cython interface for cryptoauthlib so if you want to make calls into the resulting c library directly from python you would end up using ctypes. There are a number of options however for building an interface for you final application and depend on your needs. Some options would be a cython module that provides just the operations you require, a compiled shell application that does the authentication steps, etc.