forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 3
samples: drivers: crypto: Add Support for TI MSPM0 AES module #225
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
Open
Girinandha-M
wants to merge
1,076
commits into
main
Choose a base branch
from
upstream/ti/mspm0-aes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
f726c74
to
c322f0c
Compare
c322f0c
to
85cada0
Compare
This moves the declaration of the utf8 utils defined in lib/utils/utf8.c in their own header. Main reason to do this is that the current setup requried adding an include for sys/types.h in util.h, which can result in a build falure due to a circular header depdenecy when using: CONFIG_POSIX_API=y CONFIG_NEWLIB_LIBC=y _GNU_SOURCE the loop and error are: - include/sys/types.h:50: <- this is a NEWLIB one - include/zephyr/posix/sys/select.h:9: - include/zephyr/posix/posix_types.h:30: - include/zephyr/kernel.h:17: - include/zephyr/kernel_includes.h:25: - include/zephyr/sys/atomic.h:18: include/zephyr/sys/util.h:705:1: error: unknown type name 'ssize_t' Signed-off-by: Fabio Baltieri <[email protected]>
Change utf8_count_chars return type to int and drop thesys/types.h, this way the function does not depend on posix types. Signed-off-by: Fabio Baltieri <[email protected]>
This combination (with newlib) seems to catch some build failures due to include depdenency, adding a test file so it gets caught in CI. Signed-off-by: Fabio Baltieri <[email protected]>
This recovers unwanted assignment break caused by clang-format. Signed-off-by: Chun-Chieh Li <[email protected]>
This fixes typo in isr function name. Signed-off-by: Chun-Chieh Li <[email protected]>
This fixes timing to enable D+ pull-up so that device won't be recognized by host until user application invokes udc_enable(). Signed-off-by: Chun-Chieh Li <[email protected]>
This refines interrupt handling sequence: clear interrupt flag first, then process it. This can avoid one race condition when interrupt flag is cleared but not processed for interrupts of the same type coming very closely. Signed-off-by: Chun-Chieh Li <[email protected]>
This supports VBUS detect (caps.can_detect_vbus). This requires enables VBUS detect interrupt early. Signed-off-by: Chun-Chieh Li <[email protected]>
This removes unneeded 'volatile' qualifier for normal memory variables. Signed-off-by: Chun-Chieh Li <[email protected]>
For clear, this splits large isr function into smaller ones which are dedicated for handling plug/unplug, wakeup, reset/suspend/resume, SOF, Setup, and endpoint events. Signed-off-by: Chun-Chieh Li <[email protected]>
- minor corrections in h bridge 4 click - add references in shield documentation - update overlay Signed-off-by: Jilay Pandya <[email protected]>
Not really a kernel feature, more for architecture, which is reflected in how XIP is enabled and tested. Move it to architecture code to keep which much of the 'implementation' and usage is. Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also matches the test idcentifier in place. Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also matches the test idcentifier in place. Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also matches the test idcentifier in place. Signed-off-by: Anas Nashif <[email protected]>
Cleanup init.c code and move early boot code into arch/ and make it accessible outside of the boot process/kernel. All of this code is not related to the 'kernel' and is mostly used within the architecture boot / setup process. The way it was done, some soc code was including kernel_internal.h directly, which shouldn't be done. Signed-off-by: Anas Nashif <[email protected]>
No reason for this to be part of already packed init.c. Moved to own file and build only when BOOTARGS are enabled. Signed-off-by: Anas Nashif <[email protected]>
Cleanup kconfig of bootargs and put everything in one menuconfig. Signed-off-by: Anas Nashif <[email protected]>
Move device model syscalls to device.c and decouple kernel header from device related routines. Cleanup init to have only what is needed. Signed-off-by: Anas Nashif <[email protected]>
simplify cmake file and use macros for adding files that are part of the kernel based on the configuration. Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as those functions are primarily used across arches and can be defined by the architecture. Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as those functions are primarily used across arches and can be defined by the architecture. Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as those functions are primarily used across arches and can be defined by the architecture. Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as those functions are primarily used across arches and can be defined by the architecture. Signed-off-by: Anas Nashif <[email protected]>
Remove wakeup trigger from Series 2 boards. The implementation seems to configure a GPIO to be driven low on boot, which has nothing to do with wakeup. In order to actually configure a wakeup GPIO, the GPIO_INT_WAKEUP flag would need to be used when registering an interrupt on the pin. However, this should not be the responsibility of the board. It is an application concern, so remove it from the boards. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
PM on the nrf54h20 has minimal utility if power domains and devices are not managed at runtime, as these prevent the soc from entering sleep states in the first place. Enable PM_DEVICE by default if PM, which in turn enables PM_DEVICE_RUNTIME for devices and power domains. Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Add support for halting the Radio core immediately after reset. This ensures that a debugger can attach and take control from the very first instruction. Signed-off-by: Sebastian Bøe <[email protected]>
Other targets that define this symbol do it in the Kconfig file, and gate it with a SOC_ model or series symbol. Defining a default in the Kconfig.soc instead applies it on every build, which is not desired. Signed-off-by: Luca Burelli <[email protected]>
Extend vpr_launcher and device tree bindings to support configuring the DMA secure attribute. Signed-off-by: Dhanoo Surasarang <[email protected]>
This helps to circumvent issues in current BAP implementation when multiple streams are present. Also puts RX path in line with configuration of TX path. Signed-off-by: Szymon Janc <[email protected]>
85cada0
to
2dffe1f
Compare
Add bindings for TI MSPM0 AES Module. Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Extend the crypto API to support AES Cipher Feedback (CFB) and Output Feedback (OFB) modes of operation Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add driver support for TI MSPM0 AES module. Introduced a hardware-accelerated AES driver for the TI MSPM0, enable support for encryption and decryption using ECB, CBC, CFB, and OFB mode of operation. Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add devicetree node support for AES ( Advanced Encryption Standard ) node for TI MSPM0. Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add board-specific overlay to enable the MSPM0 AES in the zephyr crypto sample for lp_mspm0g3507 board. Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Extend the crypto sample to include support for CFB and OFB modes of operation. Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
2dffe1f
to
3f18d6b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Add Support for TI MSPM0 AES module.