Skip to content

Feature/patch caam cipher#3135

Closed
cneveux wants to merge 6 commits intoOP-TEE:masterfrom
cneveux:feature/patch_caam_cipher
Closed

Feature/patch caam cipher#3135
cneveux wants to merge 6 commits intoOP-TEE:masterfrom
cneveux:feature/patch_caam_cipher

Conversation

@cneveux
Copy link
Copy Markdown
Contributor

@cneveux cneveux commented Jul 17, 2019

Add the NXP CAAM drivers:
- Cipher (AES/DES/DES3)

This PR includes the PR #2962 implementation of the first driver primitive. The latest commit "core:driver implementation NXP CAAM Driver - Cipher" is added to the PR #2962

@vchong
Copy link
Copy Markdown
Contributor

vchong commented Jul 17, 2019

@cneveux I think you can just push core:driver implementation NXP CAAM Driver - Cipher and core:driver implementation NXP CAAM Driver - ECC to #2962 and close #3135 and #3136 instead of having to maintain 3 separate PRs and branches with repeated commits.

NOTE: It's summer time and many people in the core team is on vacation, so expect delayed answers to both questions as well as feedback in pull requests!

cneveux added 5 commits July 22, 2019 08:17
  Add C inline function to execute assembly instruction
  WFE/SEV use in C code

Signed-off-by: Cedric Neveux <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
   Add registers to handle CAAM clocks

Signed-off-by: Cedric Neveux <[email protected]>
   Add dt functions:
    - dt_get_irq
         get the interrupt number of a node

    - dt_node_offset_by_compatible_status
         find a node compatible with specified 'compatible' input
         and check if the node status correspond to the expected
         one

    - dt_disable_status
         disable the 'status' field of node's prop

    - dt_set_secure_status
         set 'secure-status' field of node's prop and disable
         the 'status' field in the same time

Signed-off-by: Cedric Neveux <[email protected]>
   To allow any driver or initialization function to change the
   DT, moved the DT pack operation at the end of the generic boot.
   Move from update_external_dt to release_external_dt

Signed-off-by: Cedric Neveux <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
   Add the NXP CAAM drivers:
     - Random generator (instantiation and random generation)
     - Hash

   Add a generic cryptographic driver interface connecting
   TEE Crypto generic APIs to HW driver interface

  The Generic Crypto Driver interface in the
     core/driver/crypto/crypto_api
  is implemented to be able to use an other HW driver that
  is not the CAAM driver.

Signed-off-by: Cedric Neveux <[email protected]>
@cneveux cneveux force-pushed the feature/patch_caam_cipher branch 2 times, most recently from cb01771 to 10b0c01 Compare July 24, 2019 10:23
   Add the NXP CAAM drivers:
     - Cipher (AES/DES/DES3)

   Add a generic Cipher cryptographic driver interface connecting
   TEE Crypto generic APIs to HW driver interface

Signed-off-by: Cedric Neveux <[email protected]>
This was referenced Jul 24, 2019
@cneveux cneveux closed this Aug 28, 2019
@cneveux cneveux deleted the feature/patch_caam_cipher branch October 13, 2020 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants