Skip to content

NUC472/M487: Refine code with mbed TLS crypto alternatives #4925

New issue

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

Merged
merged 60 commits into from
Jan 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
fbf7d40
[M487] Remove debug code in AES alternative
ccli8 Aug 17, 2017
8f7df9a
[M487] Remove other unnecessary AES alternative macro definitions
ccli8 Aug 17, 2017
436ecdb
[M487] Remove unnecessary MBEDTLS_CONFIG_FILE check from AES/DES/SHA …
ccli8 Aug 17, 2017
530b8df
[M487] Fix DES alternative function not thread-safe
ccli8 Aug 17, 2017
925eee0
[NUC472] Remove debug code in AES alternative
ccli8 Aug 17, 2017
6b0213c
[NUC472] Remove other unnecessary AES alternative macro definitions
ccli8 Aug 17, 2017
61d9e69
[NUC472] Remove unnecessary MBEDTLS_CONFIG_FILE check from AES/DES/SH…
ccli8 Aug 17, 2017
19e9dbf
[NUC472] Fix DES alternative function not thread-safe
ccli8 Aug 17, 2017
0c5b860
[M487] Refine coding style
ccli8 Aug 17, 2017
315b684
[NUC472] Refine coding style
ccli8 Aug 17, 2017
5665247
[NUC472/M487] Fix AES alternative function not thread-safe
ccli8 Aug 18, 2017
2dcc1e9
[NUC472/M487] Remove AES alter. dead code
ccli8 Sep 14, 2017
0d25a9c
[NUC472/M487] Fix AES DMA buffer cannot locate at ROM region
ccli8 Sep 14, 2017
82bd285
[NUC472/M487] Support multiple contexts in AES alter. with context sa…
ccli8 Sep 14, 2017
f24ca8c
[NUC472/M487] Refine AES alter. code
ccli8 Sep 19, 2017
93f6ef9
[NUC472/M487] Refine AES alter. DMA buffer code
ccli8 Sep 19, 2017
087186a
[NUC472/M487] Rework AES alter. CFB128
ccli8 Sep 20, 2017
9e5837f
[NUC472/M487] Refine AES alter. code with IV endianness
ccli8 Sep 20, 2017
ed57432
[NUC472/M487] Add comment for AES alter. context
ccli8 Sep 20, 2017
b2b67af
[NUC472/M487] Add comment for DES alter. context
ccli8 Sep 21, 2017
2e7f07e
[NUC472/M487] Refine DES alter. code
ccli8 Sep 21, 2017
126aa56
[NUC472/M487] Remove redundant S/W DES code
ccli8 Sep 21, 2017
20aa516
[NUC472/M487] Refine config check code
ccli8 Sep 21, 2017
a1e2025
[NUC472/M487] Fix AES alter. DMA buffer check
ccli8 Sep 22, 2017
70e9a90
[NUC472/M487] Refine AES alter. input/output data endianness
ccli8 Sep 26, 2017
f85875c
[NUC472/M487] Fix AES alter. DMA buffer could locate at unsupported r…
ccli8 Sep 26, 2017
b0eeded
[NUC472/M487] Fix DES alter. DMA buffer could locate at unsupported r…
ccli8 Sep 26, 2017
d66074f
[NUC472/M487] Coordinate crypto init among AES/DES/SHA/PRNG
ccli8 Sep 26, 2017
6cc3aa3
[NUC472/M487] Guard from re-entry into crypto H/W
ccli8 Sep 26, 2017
7076675
[NUC472/M487] Optimize AES alter. code
ccli8 Sep 26, 2017
289bbf0
[NUC472/M487] Fix AES alter. CFB128 error
ccli8 Sep 27, 2017
0c2d59d
[NUC472/M487] Refine AES/DES alter. code
ccli8 Sep 27, 2017
6464649
[NUC472/M487] Coordinate crypto interrupt handler among AES/PRNG
ccli8 Sep 27, 2017
ba16fd9
[NUC472/M487] Refine AES alter. key endianness code
ccli8 Sep 27, 2017
b0228d0
[NUC472/M487] Fix compile error as mbedtls is not included
ccli8 Sep 29, 2017
aafbdc8
[NUC472/M487] Fix compile error with disabled crypto
ccli8 Nov 6, 2017
ac00024
[NUC472/M487] Refine AES/DES alter. DMA buffer requirement comment
ccli8 Nov 7, 2017
a0a8a95
[NUC472/M487] Strengthen crypto DMA buffer check
ccli8 Nov 8, 2017
83fb50c
[NUC472/M487] Fix SHA H/W is not stopped in corner case
ccli8 Nov 8, 2017
8ba0781
[NUC472/M487] Fix SHA H/W resource leakage in context cloning
ccli8 Nov 9, 2017
980cb6b
[NUC472/M487] Guard against SHA internal state size is not word-align…
ccli8 Nov 9, 2017
116b14a
[NUC472/M487] Refine code with SHA context selection in SHA alter.
ccli8 Nov 9, 2017
7d92550
[NUC472/M487] Remove superfluous code in AES alter.
ccli8 Nov 20, 2017
479cf68
[NUC472/M487] Fix multiple calls to SHA free in SHA alter.
ccli8 Nov 21, 2017
1d62b91
[NUC472/M487] Refine comment with BSP driver use in DES alter.
ccli8 Nov 21, 2017
815a6a7
[NUC472/M487] Add parameter check for configuring DES registers in DE…
ccli8 Nov 21, 2017
dc3c84c
[NUC472/M487] Fix parameter check for TMODE/OPMODE in DES alter.
ccli8 Nov 21, 2017
9edda18
[NUC472] Update BSP crypto driver
ccli8 Nov 22, 2017
c906790
[NUC472/M487] Call BSP driver rather than direct register access in D…
ccli8 Nov 22, 2017
b443a23
[NUC472/M487] Add memory barrier for DMA transfer in AES/DES alter.
ccli8 Nov 23, 2017
add839c
[NUC472/M487] Refine code in SHA alter.
ccli8 Dec 15, 2017
e1fbf0f
[NUC472/M487] Add comment for crypto_zeroize
ccli8 Dec 15, 2017
0c10984
[NUC472/M487] Refine flow control code between crypto start and crypt…
ccli8 Dec 15, 2017
3a8c1aa
[NUC472/M487] Use interrupt signal rather than polling to check opera…
ccli8 Dec 20, 2017
a00f8d0
[NUC472/M487] Guard from reordering DMA wait and post-wait for crypto…
ccli8 Dec 20, 2017
8b7ff09
[NUC472/M487] Remove duplicate configuration of CRPT->SHA_CTL/CRPT->H…
ccli8 Dec 21, 2017
d96bcda
[NUC472/M487] Fix indefinite loop in SHA alter.
ccli8 Dec 21, 2017
acff29e
[NUC472/M487] Fix context clone corner case in SHA alter.
ccli8 Dec 21, 2017
4023078
[NUC472/M487] Remove unnecessary H/W context clone functions in SHA a…
ccli8 Dec 21, 2017
67386b9
[NUC472/M487] Fix DMA input/output buffers are overlapped in AES alter.
ccli8 Dec 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,5 @@
#define MBEDTLS_SHA512_ALT

#define MBEDTLS_AES_ALT
#define MBEDTLS_AES_SETKEY_ENC_ALT
#define MBEDTLS_AES_SETKEY_DEC_ALT
#define MBEDTLS_AES_ENCRYPT_ALT
#define MBEDTLS_AES_DECRYPT_ALT

#endif /* MBEDTLS_DEVICE_H */
Loading