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
support /dev/crypto for nuttx #6920
Merged
Merged
Conversation
This file contains 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
anjiahao1
changed the title
support /dev/crpyto for nuttx
support /dev/crypto for nuttx
Aug 25, 2022
anjiahao1
force-pushed
the
crypto
branch
4 times, most recently
from
August 31, 2022 12:07
db30099
to
81db2b5
Compare
anjiahao1
force-pushed
the
crypto
branch
9 times, most recently
from
September 8, 2022 07:38
7970c61
to
65ec495
Compare
i add some hardware support,but some aes mode not support. it will add next pr |
anjiahao1
force-pushed
the
crypto
branch
2 times, most recently
from
September 20, 2022 03:20
d9dd5a4
to
bde3d3e
Compare
@pkarashchenko Thanks for your codereivew, I just submitted it once |
@gustavonihei @Ouss4 this patch change esp crypto driver, please review it, thanks. |
anjiahao1
force-pushed
the
crypto
branch
2 times, most recently
from
December 12, 2022 15:53
a2e9b97
to
4d8e46a
Compare
Please rebase to the last mater to fix ci broken. |
anjiahao1
force-pushed
the
crypto
branch
6 times, most recently
from
December 13, 2022 08:45
f1201e1
to
6c7a826
Compare
public header files put into include/crpyto private header/source files put into crpyto crypto.c cryptodev.[c|h] cryptosoft.[c|h] come from: commit id is f245bed2a7593bf0decce50caaed4ce05fefd6cf the rest come from: commit id is 61b0e532b2dce0a91cf3ea67d346645a61a88cdd Signed-off-by: anjiahao <anjiahao@xiaomi.com>
1.fix type warning for compile 2.hamc key can less than specified length 3.add new version algorithms to cryptodev sha256hmac sha384hmac sha512hmac aes128gmac Signed-off-by: anjiahao <anjiahao@xiaomi.com>
xiaoxiang781216
approved these changes
Dec 13, 2022
anjiahao1
force-pushed
the
crypto
branch
4 times, most recently
from
December 13, 2022 15:58
1984d67
to
8292c81
Compare
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
esp32c3: aes hmac-sha1 hmac-sha256 stm32f0l0g0 stm32l1 : aes sam34: aes lpc43: aes Signed-off-by: anjiahao <anjiahao@xiaomi.com>
xiaoxiang781216
approved these changes
Dec 13, 2022
gustavonihei
added a commit
to gustavonihei/incubator-nuttx
that referenced
this pull request
Dec 16, 2022
"aes_cypher" is a function from NuttX crypto, so better use instead of defining a new interface in the driver. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
pkarashchenko
pushed a commit
that referenced
this pull request
Dec 16, 2022
"aes_cypher" is a function from NuttX crypto, so better use instead of defining a new interface in the driver. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
chenzhihong007
pushed a commit
to hpmicro/nuttx
that referenced
this pull request
Mar 8, 2023
"aes_cypher" is a function from NuttX crypto, so better use instead of defining a new interface in the driver. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
support /dev/crypto for nuttx,base form openbsd
it suppot aes,des,hmac,gmac ..
The most important thing is to achieve unified management of hardware crypto
todo
overwrite existing aes mode
add hash stream
add Asymmetric encryption like rsa
add hardware achieve
Testing
pass it:
apache/nuttx-apps#1292
use ./tools/configure.sh sim:crypto