Repository navigation
TI am64x port #11121
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
+1,560
−22
Merged
TI am64x port #11121
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ed0a5e6
Support for ti am64x hw acceleration based on ti mcu plus sdk.
twcook86 37bce76
cleanup
twcook86 f901a03
Add support for rng ctr-drbg mode
twcook86 6fd422b
Refine build switches, add readme.
twcook86 e147bed
fix rng
twcook86 300c321
Add block_size (bench_size) to parseable csv output
twcook86 010b81e
resolve all fenrir issues
twcook86 6ba0a69
Misc cleanup
twcook86 6595058
implement a proper mutex for sa2ul hardware
twcook86 2669f7b
address pr comments
twcook86 4ebc448
add README to include.am
twcook86 f8a805d
Speed up CMAC
twcook86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # wolfSSL TI SA2UL Hardware Acceleration Port | ||
|
|
||
| wolfSSL supports hardware acceleration on the TI AM6442 via the SA2UL peripheral, | ||
| with software running on one of the Cortex-R5F cores. | ||
|
|
||
| ## SA2UL on the TI AM6442 | ||
|
|
||
| The TI AM6442 is a multi-core SoC, with one dual-core Cortex-A53, two dual-core Cortex-R5F, | ||
| a Cortex-M4F, and a dedicated security core based on a Cortex-M3. This support has been | ||
| tested on the TMDS64EVM board (rev 101D). | ||
|
|
||
| Basic hardware acceleration supported: | ||
| - TRNG (NRBG and CTR-DRBG SP800-90A) | ||
| - AES-ECB (128, 256) | ||
| - AES-CBC (128, 256) | ||
| - AES-GCM (128, 256) | ||
| - SHA256, SHA512 | ||
| - HMAC-SHA256, HMAC-SHA512 | ||
| - CMAC-AES (128, 256) | ||
|
|
||
| Note: The wolfCrypt sa2ul support depends on the TI MCU Plus SDK. wolfBoot has | ||
| an example (ti-am64x-r5.config) of how to compile with the MCU Plus SDK. | ||
|
|
||
| ### wolfSSL TI AM64x Hardware Acceleration Switches | ||
|
|
||
| To enable all the above, with TRNG in NRBG mode, set the following build switch: | ||
|
|
||
| **`WOLFSSL_TI_AM64X_R5`** | ||
|
|
||
| To change the TRNG to CTR-DRBG mode, then also set this switch: | ||
|
|
||
| **`WOLFSSL_TI_AM64X_RNG_CTR_DRBG`** | ||
|
|
||
| In addition, parts of the hardware acceleration can be disabled (in favor of | ||
| wolfCrypt software algorithms), with the following switches: | ||
|
|
||
| **`WOLFSSL_TI_AM64X_NO_AES`** | ||
|
|
||
| **`WOLFSSL_TI_AM64X_NO_SHA`** | ||
|
|
||
| ## Support | ||
|
|
||
| For questions please email support@wolfssl.com |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.