We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
The ATECC508A is being used on my platform. And I try to porting this project to buildroot.
But it can't compile successfully. Is there a buildroot example for reference?
error log: eccx08_cmd_defns.c: In function 'verify_signer_cert': eccx08_cmd_defns.c:222:14: warning: implicit declaration of function 'atcacert_verify_cert_hw' [-Wimplicit-function-declaration] status = atcacert_verify_cert_hw(&g_cert_def_1_signer_t, signerCert, signerCertSize, caPubkey); ^ Compiling eccx08_rsa_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_eckey_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_rand.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_ecdh.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C eccx08_ecdh.c:381:5: warning: initialization makes integer from pointer without a cast [-Wint-conversion] ECDH_eccx08_init, // init ^ eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:381:5: error: initializer element is not computable at load time eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:383:5: warning: excess elements in struct initializer 0, // flags ^ eccx08_ecdh.c:383:5: note: (near initialization for 'eccx08_ecdh') Makefile:32: recipe for target 'eccx08_ecdh.o' failed make[3]: *** [eccx08_ecdh.o] Error 1 Makefile:42: recipe for target 'tgt_engine_meth' failed make[2]: *** [tgt_engine_meth] Error 2 package/pkg-generic.mk:238: recipe for target '/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built' failed make[1]: *** [/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built] Error 2 Makefile:16: recipe for target '_all' failed make: *** [_all] Error 2
eccx08_cmd_defns.c: In function 'verify_signer_cert': eccx08_cmd_defns.c:222:14: warning: implicit declaration of function 'atcacert_verify_cert_hw' [-Wimplicit-function-declaration] status = atcacert_verify_cert_hw(&g_cert_def_1_signer_t, signerCert, signerCertSize, caPubkey); ^ Compiling eccx08_rsa_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_eckey_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_rand.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_ecdh.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C eccx08_ecdh.c:381:5: warning: initialization makes integer from pointer without a cast [-Wint-conversion] ECDH_eccx08_init, // init ^ eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:381:5: error: initializer element is not computable at load time eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:383:5: warning: excess elements in struct initializer 0, // flags ^ eccx08_ecdh.c:383:5: note: (near initialization for 'eccx08_ecdh') Makefile:32: recipe for target 'eccx08_ecdh.o' failed make[3]: *** [eccx08_ecdh.o] Error 1 Makefile:42: recipe for target 'tgt_engine_meth' failed make[2]: *** [tgt_engine_meth] Error 2 package/pkg-generic.mk:238: recipe for target '/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built' failed make[1]: *** [/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built] Error 2 Makefile:16: recipe for target '_all' failed make: *** [_all] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
The ATECC508A is being used on my platform.
And I try to porting this project to buildroot.
But it can't compile successfully.
Is there a buildroot example for reference?
error log:
eccx08_cmd_defns.c: In function 'verify_signer_cert': eccx08_cmd_defns.c:222:14: warning: implicit declaration of function 'atcacert_verify_cert_hw' [-Wimplicit-function-declaration] status = atcacert_verify_cert_hw(&g_cert_def_1_signer_t, signerCert, signerCertSize, caPubkey); ^ Compiling eccx08_rsa_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_eckey_meth.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_rand.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C Compiling eccx08_ecdh.c. CFLAGS = -I. -I.. -I../.. -I../../openssl_1_0_2 -I../../openssl_1_0_2/include -I../../openssl_1_0_2/include/openssl -I../../openssl_1_0_2/crypto/crypto -I../../openssl_1_0_2/crypto/engine -I../../openssl_1_0_2/crypto/include/internal -I../cryptoauthlib/lib -I../cryptoauthlib/lib/tls -fPIC -g -O0 -DUSE_ECCX08 -DECC_DEBUG -DATCA_HAL_I2C eccx08_ecdh.c:381:5: warning: initialization makes integer from pointer without a cast [-Wint-conversion] ECDH_eccx08_init, // init ^ eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:381:5: error: initializer element is not computable at load time eccx08_ecdh.c:381:5: note: (near initialization for 'eccx08_ecdh.flags') eccx08_ecdh.c:383:5: warning: excess elements in struct initializer 0, // flags ^ eccx08_ecdh.c:383:5: note: (near initialization for 'eccx08_ecdh') Makefile:32: recipe for target 'eccx08_ecdh.o' failed make[3]: *** [eccx08_ecdh.o] Error 1 Makefile:42: recipe for target 'tgt_engine_meth' failed make[2]: *** [tgt_engine_meth] Error 2 package/pkg-generic.mk:238: recipe for target '/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built' failed make[1]: *** [/home/msice/Workspace/MS5770/ambalink_sdk_4_9.20180316/output.oem/h22_ambalink/build/cryptoauthlib-0.1-alpha/.stamp_built] Error 2 Makefile:16: recipe for target '_all' failed make: *** [_all] Error 2
The text was updated successfully, but these errors were encountered: