Chapter 208. eCos port
Table of Contents
208.1. Overview
The goal for the CYGPKG_CRYPTOAUTHLIB
package is to avoid
where possible having to have any core CryptoAuthLib source file changes
made specifically for eCos. This is to ensure that re-imports of newer
versions of the library sources involve minimal effort. The files are
as provided in the official CryptoAuthLib release package as imported, with
the following exceptions:
Files have been moved, unmodified, to create a standard eCos package tree structure to integrate with the eCosPro build environment
Only relevant files from the original project have been included in the eCos package.
-
The file
include/hal/atca_hal.h
has a differenthal_delay_us()
prototype to match the underlying eCos run-time function actually referenced due to the naming clash.
The current CryptoAuthLib version provided by the eCos package is the
github tagged release 20220614
, which is a v3.3.3
release (8th October 2021) with bug fixes applied up to 14th June
2022.
The original project homepage can be found on github: cryptoauthlib
The release package was downloaded from the github project page: cryptoauthlib/releases/tag/20220614
The following table highlights the files taken from the CryptoAuthLib
package and their new location within the eCos
CYGPKG_CRYPTOAUTHLIB
package:
Original github | eCos package |
---|---|
include/atca_basic.h | include/atca_basic.h |
lib/atca_bool.h | include/atca_bool.h |
lib/atca_cfgs.h | include/atca_cfgs.h |
lib/atca_compiler.h | include/atca_compiler.h |
lib/atca_device.h | include/atca_device.h |
lib/atca_devtypes.h | include/atca_devtypes.h |
lib/atca_helpers.h | include/atca_helpers.h |
lib/atca_iface.h | include/atca_iface.h |
lib/atca_status.h | include/atca_status.h |
lib/atca_version.h | include/atca_version.h |
lib/cryptoauthlib.h | include/cryptoauthlib.h |
lib/atcacert/atcacert_client.h | include/atcacert/atcacert_client.h |
lib/atcacert/atcacert_date.h | include/atcacert/atcacert_date.h |
lib/atcacert/atcacert_def.h | include/atcacert/atcacert_def.h |
lib/atcacert/atcacert_der.h | include/atcacert/atcacert_der.h |
lib/atcacert/atcacert.h | include/atcacert/atcacert.h |
lib/atcacert/atcacert_host_hw.h | include/atcacert/atcacert_host_hw.h |
lib/atcacert/atcacert_host_sw.h | include/atcacert/atcacert_host_sw.h |
lib/atcacert/atcacert_pem.h | include/atcacert/atcacert_pem.h |
lib/calib/calib_aes_gcm.h | include/calib/calib_aes_gcm.h |
lib/calib/calib_basic.h | include/calib/calib_basic.h |
lib/calib/calib_command.h | include/calib/calib_command.h |
lib/calib/calib_execution.h | include/calib/calib_execution.h |
lib/crypto/atca_crypto_hw_aes.h | include/crypto/atca_crypto_hw_aes.h |
lib/crypto/atca_crypto_sw_ecdsa.h | include/crypto/atca_crypto_sw_ecdsa.h |
lib/crypto/atca_crypto_sw.h | include/crypto/atca_crypto_sw.h |
lib/crypto/atca_crypto_sw_rand.h | include/crypto/atca_crypto_sw_rand.h |
lib/crypto/atca_crypto_sw_sha1.h | include/crypto/atca_crypto_sw_sha1.h |
lib/crypto/atca_crypto_sw_sha2.h | include/crypto/atca_crypto_sw_sha2.h |
lib/crypto/hashes/sha1_routines.h | include/crypto/hashes/sha1_routines.h |
lib/crypto/hashes/sha2_routines. | include/crypto/hashes/sha2_routines. |
lib/hal/atca_hal.h | include/hal/atca_hal.h |
lib/host/atca_host.h | include/host/atca_host.h |
lib/jwt/atca_jwt.h | include/jwt/atca_jwt.h |
lib/mbedtls/atca_mbedtls_wrap.h | include/mbedtls/atca_mbedtls_wrap.h |
third_party/atca_mbedtls_patch.h | include/third_party/atca_mbedtls_patch.h |
lib/pkcs11/cryptoki.h | include/pkcs11/cryptoki.h |
lib/pkcs11/pkcs11_attrib.h | include/pkcs11/pkcs11_attrib.h |
lib/pkcs11/pkcs11_cert.h | include/pkcs11/pkcs11_cert.h |
lib/pkcs11/pkcs11_digest.h | include/pkcs11/pkcs11_digest.h |
lib/pkcs11/pkcs11_encrypt.h | include/pkcs11/pkcs11_encrypt.h |
lib/pkcs11/pkcs11f.h | include/pkcs11/pkcs11f.h |
lib/pkcs11/pkcs11_find.h | include/pkcs11/pkcs11_find.h |
lib/pkcs11/pkcs11.h | include/pkcs11/pkcs11.h |
lib/pkcs11/pkcs11_info.h | include/pkcs11/pkcs11_info.h |
lib/pkcs11/pkcs11_init.h | include/pkcs11/pkcs11_init.h |
lib/pkcs11/pkcs11_key.h | include/pkcs11/pkcs11_key.h |
lib/pkcs11/pkcs11_mech.h | include/pkcs11/pkcs11_mech.h |
lib/pkcs11/pkcs11_object.h | include/pkcs11/pkcs11_object.h |
lib/pkcs11/pkcs11_os.h | include/pkcs11/pkcs11_os.h |
lib/pkcs11/pkcs11_session.h | include/pkcs11/pkcs11_session.h |
lib/pkcs11/pkcs11_signature.h | include/pkcs11/pkcs11_signature.h |
lib/pkcs11/pkcs11_slot.h | include/pkcs11/pkcs11_slot.h |
lib/pkcs11/pkcs11t.h | include/pkcs11/pkcs11t.h |
lib/pkcs11/pkcs11_token.h | include/pkcs11/pkcs11_token.h |
lib/pkcs11/pkcs11_util.h | include/pkcs11/pkcs11_util.h |
third_party/atca_mbedtls_patch.h | include/atca_mbedtls_patch.h |
lib/atca_basic.c | src/lib/atca_basic.c |
lib/atca_cfgs.c | src/lib/atca_cfgs.c |
lib/atca_device.c | src/lib/atca_device.c |
lib/atca_helpers.c | src/lib/atca_helpers.c |
lib/atca_iface.c | src/lib/atca_iface.c |
lib/atca_utils_sizes.c | src/lib/atca_utils_sizes.c |
lib/atcacert/atcacert_client.c | src/lib/atcacert/atcacert_client.c |
lib/atcacert/atcacert_date.c | src/lib/atcacert/atcacert_date.c |
lib/atcacert/atcacert_def.c | src/lib/atcacert/atcacert_def.c |
lib/atcacert/atcacert_der.c | src/lib/atcacert/atcacert_der.c |
lib/atcacert/atcacert_host_hw.c | src/lib/atcacert/atcacert_host_hw.c |
lib/atcacert/atcacert_host_sw.c | src/lib/atcacert/atcacert_host_sw.c |
lib/atcacert/atcacert_pem.c | src/lib/atcacert/atcacert_pem.c |
lib/calib/calib_aes.c | src/lib/calib/calib_aes.c |
lib/calib/calib_checkmac.c | src/lib/calib/calib_checkmac.c |
lib/calib/calib_derivekey.c | src/lib/calib/calib_derivekey.c |
lib/calib/calib_gendig.c | src/lib/calib/calib_gendig.c |
lib/calib/calib_hmac.c | src/lib/calib/calib_hmac.c |
lib/calib/calib_lock.c | src/lib/calib/calib_lock.c |
lib/calib/calib_privwrite.c | src/lib/calib/calib_privwrite.c |
lib/calib/calib_secureboot.c | src/lib/calib/calib_secureboot.c |
lib/calib/calib_sign.c | src/lib/calib/calib_sign.c |
lib/calib/calib_write.c | src/lib/calib/calib_write.c |
lib/calib/calib_aes_gcm.c | src/lib/calib/calib_aes_gcm.c |
lib/calib/calib_command.c | src/lib/calib/calib_command.c |
lib/calib/calib_ecdh.c | src/lib/calib/calib_ecdh.c |
lib/calib/calib_genkey.c | src/lib/calib/calib_genkey.c |
lib/calib/calib_info.c | src/lib/calib/calib_info.c |
lib/calib/calib_mac.c | src/lib/calib/calib_mac.c |
lib/calib/calib_random.c | src/lib/calib/calib_random.c |
lib/calib/calib_selftest.c | src/lib/calib/calib_selftest.c |
lib/calib/calib_updateextra.c | src/lib/calib/calib_updateextra.c |
lib/calib/calib_basic.c | src/lib/calib/calib_basic.c |
lib/calib/calib_counter.c | src/lib/calib/calib_counter.c |
lib/calib/calib_execution.c | src/lib/calib/calib_execution.c |
lib/calib/calib_helpers.c | src/lib/calib/calib_helpers.c |
lib/calib/calib_kdf.c | src/lib/calib/calib_kdf.c |
lib/calib/calib_nonce.c | src/lib/calib/calib_nonce.c |
lib/calib/calib_read.c | src/lib/calib/calib_read.c |
lib/calib/calib_sha.c | src/lib/calib/calib_sha.c |
lib/calib/calib_verify.c | src/lib/calib/calib_verify.c |
lib/crypto/atca_crypto_hw_aes_cbc.c | src/lib/crypto/atca_crypto_hw_aes_cbc.c |
lib/crypto/atca_crypto_hw_aes_ccm.c | src/lib/crypto/atca_crypto_hw_aes_ccm.c |
lib/crypto/atca_crypto_hw_aes_ctr.c | src/lib/crypto/atca_crypto_hw_aes_ctr.c |
lib/crypto/atca_crypto_sw_ecdsa.c | src/lib/crypto/atca_crypto_sw_ecdsa.c |
lib/crypto/atca_crypto_sw_sha1.c | src/lib/crypto/atca_crypto_sw_sha1.c |
lib/crypto/atca_crypto_hw_aes_cbcmac.c | src/lib/crypto/atca_crypto_hw_aes_cbcmac.c |
lib/crypto/atca_crypto_hw_aes_cmac.c | src/lib/crypto/atca_crypto_hw_aes_cmac.c |
lib/crypto/atca_crypto_pbkdf2.c | src/lib/crypto/atca_crypto_pbkdf2.c |
lib/crypto/atca_crypto_sw_rand.c | src/lib/crypto/atca_crypto_sw_rand.c |
lib/crypto/atca_crypto_sw_sha2.c | src/lib/crypto/atca_crypto_sw_sha2.c |
lib/crypto/hashes/sha1_routines.c | src/lib/crypto/hashes/sha1_routines.c |
lib/crypto/hashes/sha2_routines.c | src/lib/crypto/hashes/sha2_routines.c |
lib/hal/atca_hal.c | src/lib/hal/atca_hal.c |
lib/host/atca_host.c | src/lib/host/atca_host.c |
lib/jwt/atca_jwt.c | src/lib/jwt/atca_jwt.c |
lib/mbedtls/atca_mbedtls_ecdh.c | src/lib/mbedtls/atca_mbedtls_ecdh.c |
lib/mbedtls/atca_mbedtls_ecdsa.c | src/lib/mbedtls/atca_mbedtls_ecdsa.c |
lib/mbedtls/atca_mbedtls_wrap.c | src/lib/mbedtls/atca_mbedtls_wrap.c |
lib/mbedtls/atca_mbedtls_wrap.h | src/lib/mbedtls/atca_mbedtls_wrap.h |
lib/mbedtls/README.md | src/lib/mbedtls/README.md |
lib/openssl/atca_openssl_interface.c | src/lib/openssl/atca_openssl_interface.c |
lib/openssl/README.md | src/lib/openssl/README.md |
lib/pkcs11/pkcs11_attrib.c | src/lib/pkcs11/pkcs11_attrib.c |
lib/pkcs11/pkcs11_config.c | src/lib/pkcs11/pkcs11_config.c |
lib/pkcs11/pkcs11_digest.c | src/lib/pkcs11/pkcs11_digest.c |
lib/pkcs11/pkcs11_find.c | src/lib/pkcs11/pkcs11_find.c |
lib/pkcs11/pkcs11_init.c | src/lib/pkcs11/pkcs11_init.c |
lib/pkcs11/pkcs11_main.c | src/lib/pkcs11/pkcs11_main.c |
lib/pkcs11/pkcs11_object.c | src/lib/pkcs11/pkcs11_object.c |
lib/pkcs11/pkcs11_session.c | src/lib/pkcs11/pkcs11_session.c |
lib/pkcs11/pkcs11_slot.c | src/lib/pkcs11/pkcs11_slot.c |
lib/pkcs11/pkcs11_util.c | src/lib/pkcs11/pkcs11_util.c |
lib/pkcs11/pkcs11_cert.c | src/lib/pkcs11/pkcs11_cert.c |
lib/pkcs11/pkcs11_debug.c | src/lib/pkcs11/pkcs11_debug.c |
lib/pkcs11/pkcs11_encrypt.c | src/lib/pkcs11/pkcs11_encrypt.c |
lib/pkcs11/pkcs11_info.c | src/lib/pkcs11/pkcs11_info.c |
lib/pkcs11/pkcs11_key.c | src/lib/pkcs11/pkcs11_key.c |
lib/pkcs11/pkcs11_mech.c | src/lib/pkcs11/pkcs11_mech.c |
lib/pkcs11/pkcs11_os.c | src/lib/pkcs11/pkcs11_os.c |
lib/pkcs11/pkcs11_signature.c | src/lib/pkcs11/pkcs11_signature.c |
lib/pkcs11/pkcs11_token.c | src/lib/pkcs11/pkcs11_token.c |
third_party/atca_mbedtls_patch.c | src/third_party/atca_mbedtls_patch.c |
app/tng/tng_atca.h | include/app/tng/tng_atca.h |
2024-03-18 | Microchip “AS IS” License |