You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2021/02/22 23:35:28 UTC

[mynewt-core] branch master updated: hw: bsp: frdm-k82f: enable HW based CBC/CTR

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 16e3830  hw: bsp: frdm-k82f: enable HW based CBC/CTR
     new f8ef3e8  Merge pull request #2495 from utzig/k82f-add-aes-hw-modes
16e3830 is described below

commit 16e383060ca16b202e4172cec555dba341b741f5
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon Feb 22 16:21:31 2021 -0300

    hw: bsp: frdm-k82f: enable HW based CBC/CTR
    
    Avoid linking in CBC/CTR in SW, because this device can do it in HW.
    
    Signed-off-by: Fabio Utzig <ut...@apache.org>
---
 hw/bsp/frdm-k82f/syscfg.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/bsp/frdm-k82f/syscfg.yml b/hw/bsp/frdm-k82f/syscfg.yml
index 58130d6..702ff91 100644
--- a/hw/bsp/frdm-k82f/syscfg.yml
+++ b/hw/bsp/frdm-k82f/syscfg.yml
@@ -80,3 +80,5 @@ syscfg.vals:
     KINETIS_TRNG_USE_TRNG: 1
     KINETIS_CRYPTO_USE_CAU: 0
     KINETIS_CRYPTO_USE_LTC: 1
+    CRYPTO_HW_AES_CBC: 1
+    CRYPTO_HW_AES_CTR: 1