thegoodhen

Results 61 comments of thegoodhen

``` C:/Users/thego/esp/esp-idf/components/wolfssl/wolfcrypt/src/ecc.c:5923:19: error: implicit declaration of function 'ecc_projective_dbl_point'; did you mean 'ecc_projective_add_point_safe'? [-Werror=implicit-function-declaration] err = ecc_projective_dbl_point(B, R, a, modulus, mp); ^~~~~~~~~~~~~~~~~~~~~~~~ ``` I just checked and the function is defined...

There are #ifdef guards in ecc.h to prevent the function prototypes from being generated; this suggests that the functions are not even used when ATECC is used... how curious!!

Okay, disabling the #ifdef guards in ecc.h "fixes" the first problem... But probably at a cost of compiling something that doesn't need to be compiled (?) . Now to the...

So apparently, in ecc.c on lines 8550 to 8554 there are #ifdef guards that prevent keySz from being defined when ATECC is used, even though the variable is still acessed...

Right, so now it's just complaining that apparently the version of cryptoauthlib I used is not compatible, it's missing some files. This is proving extremely difficult to get to work.

@BrianAker does anyone have a minimum example for ESP32 that would compile and actually work with the atecc608a?

To sum up everything so far: The tutorial for installing https://github.com/miyazakh/cryptoauthlib_esp_idf yields no useful results; esp-idf cannot use the component due to missing CMakeList.txt files; I tried using a different...

idf.py menuconfig -> compatibility options -> include headers across components does NOT fix anything. Running idf.py fullclean before does not help either.

Okay, the reason for the last problem is that the wolfssl expects a different directory naming and structure; I added esp_cryptoauthlib as a requirement for wolfssl (which will likely break...

tng_atcacert_read_device_cert and tng_atcacert_read_signer_cert both exist inside (...)\esp\esp-idf\components\esp_cryptoauthlib\cryptoauthlib\app\tng\tng_atcacert_client.c So I am not sure what the deal is there... Edit: I do suspect the "Not enough arguments for function" error might have...