This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] [参考译文] 【常见问题解答】AM62x 上的 SYSFW/TIFS 安全加密服务示例

Guru**** 2924050 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1651657/faq-sysfw-tifs-secure-crypto-service-example-on-am62x

器件型号: AM625

- SYSFW/TIFS 加密服务
加密服务允许 SYSFW/TIFS 客户端使用 AES-ECB、AES-CBC 或 AES-GCM 操作之一来加密/解密数据 Blobs。
- SYSFW/TIFS 加密服务 API
https://software-dl.ti.com/tisci/esd/latest/6_topic_user_guides/csp.html
https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/security/csp.html

常见问题解答列出了如何使用 AM62x Linux SDK 10.1.10.4 在 OPTEE 中调用 SYSFW/TIFS 安全加密服务 API [1]
- TIFS 10.1.8
- OPTEE 4.4.0
[1] https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX AM62X/10.01.10.04

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    1/。 使用 OTP Keywriter 将主加密密钥配置到 OTP eFuse  
    -硬件安全资源: OTP eFuse
    - SYSFW/TIFS :在 AM62x 上的 SMS 上运行,并通过 TISCI API 提供安全服务
    - OTP Keywriter: OTP eFuse 编程工具,在客户工厂车间运行一次

    2/。 请参阅“csp_bin.sh“、了解该示例中使用的两级二进制流如何通过 AES-CBC-256 加密和解密生成

    3。 am62x_optee_csp_otp.patch:调用安全加密服务时的 optee 补丁示例
    -调用 SYSFW/TIFS 安全服务从 OTP eFuse 检索主加密密钥
    -调用加密服务来解密数据加密密钥和主加密密钥
    -调用加密服务以使用数据加密密钥解密数据

    4。 am62x_optee_otp_csp_dec.log:样本日志

    此致、
    - Hong

    e2e.ti.com/.../csp_5F00_bin.sh

    e2e.ti.com/.../am62x_5F00_optee_5F00_csp_5F00_otp.patch

    e2e.ti.com/.../am62x_5F00_optee_5F00_otp_5F00_csp_5F00_dec.log