Skip to content

Commit f5d8ad1

Browse files
committed
Merge branch 'main' of https://github.com/MicrochipTech/cryptoauthlib into main
2 parents aa8024d + 5ea6a89 commit f5d8ad1

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

SECURITY.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Security Policy
2+
3+
We take the security of cryptoauthlib very seriously. Please submit security vulnerabilities to
4+
the Microchip Product Security Incident Response Team (PSIRT) which is responsible for receiving
5+
and responding to reports of potential security vulnerabilities in our products, as well as in
6+
any related hardware, software, firmware, and tools. Please see below for instructions on how
7+
to submit your report.
8+
9+
## Supported Versions
10+
11+
The previous API version is maintained for a year after a new version is released.
12+
13+
| Version | Supported | Notes |
14+
| ------- | ------------------ | ----- |
15+
| 3.3.x | :heavy_check_mark: | |
16+
| 3.2.x | :heavy_check_mark: | Security updates until January 2022 |
17+
| < 3.2 | :x: | |
18+
19+
## Reporting a Vulnerability
20+
21+
[How to Report Potential Product Security Vulnerabilities](https://www.microchip.com/design-centers/embedded-security/how-to-report-potential-product-security-vulnerabilities)
22+
23+
Once a report is received, the PSIRT will take the necessary steps to review the issue
24+
and determine what actions might be required to address any potential impacts to our products.
25+
Microchip PSIRT follows a coordinated vulnerability responsible disclosure policy that is available
26+
for review.
27+
28+
Please use the above instructions to securely submit your findings - We ask that you refrain from
29+
reporting vulnerabilties through the public github issues system.

harmony/config/test_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
fileSymbolName = "CAL_FILE_SRC_TEST_"
2828
numFileCntr = 0
2929

30-
_TEST_PATHS = ['atcacert/*', 'jwt/*', 'api_atcab/*', 'api_calib/*', 'api_crypto', 'api_talib/*', 'vectors/*']
30+
_TEST_PATHS = ['atcacert/*', 'jwt/*', 'api_atcab/*', 'api_calib/*', 'api_crypto/*', 'api_talib/*', 'vectors/*']
3131
_TEST_SOURCES = ['atca_crypto_sw_tests.c', 'atca_test.c', 'atca_test_config.c', 'atca_test_console.c',
3232
'atca_utils_atecc608.c', 'cmd-processor.c']
3333
_TEST_HEADERS = ['atca_crypto_sw_tests.h', 'atca_test.h', 'cbuf.h', 'cmd-processor.h']

python/cryptoauthlib/atcab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131

3232
class atca_aes_cbc_ctx(Structure):
3333
"""AES CBC Context"""
34-
_fields_ = [("key_id", c_uint16),
34+
_fields_ = [("device", c_void_p),
35+
("key_id", c_uint16),
3536
("key_block", c_uint8),
3637
("ciphertext", c_char*16)]
3738

0 commit comments

Comments
 (0)