Skip to content
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 5 commits into from Dec 13, 2022
Merged

Commits on Dec 13, 2022

  1. crypto: Initial copy from https://github.com/openbsd/sys/crypto

    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>
    anjiahao1 committed Dec 13, 2022
    Copy the full SHA
    b23f3c1 View commit details
    Browse the repository at this point in the history
  2. crypto:Sync version differences

    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>
    anjiahao1 committed Dec 13, 2022
    Copy the full SHA
    cb10aad View commit details
    Browse the repository at this point in the history
  3. crypto:convert code style form openbsd to nuttx

    Signed-off-by: anjiahao <anjiahao@xiaomi.com>
    anjiahao1 committed Dec 13, 2022
    Copy the full SHA
    d00f1a6 View commit details
    Browse the repository at this point in the history
  4. crypto:support nuttx /dev/crypto

    Signed-off-by: anjiahao <anjiahao@xiaomi.com>
    anjiahao1 committed Dec 13, 2022
    Copy the full SHA
    561fc8f View commit details
    Browse the repository at this point in the history
  5. crypto:add some hardware support

    esp32c3: aes hmac-sha1 hmac-sha256
    stm32f0l0g0 stm32l1 : aes
    sam34: aes
    lpc43: aes
    Signed-off-by: anjiahao <anjiahao@xiaomi.com>
    anjiahao1 committed Dec 13, 2022
    Copy the full SHA
    2072acc View commit details
    Browse the repository at this point in the history