Go to file
openharmony_ci d31f0d68dd !105 操作内存前增加内存大小判断
Merge pull request !105 from zhao_zhen_zhou/myfeature
2021-10-14 07:46:32 +00:00
build add L1 compile 2021-07-11 18:35:00 +08:00
frameworks bugfix 2021-08-26 16:17:15 +08:00
interfaces/innerkits 添加TDD测试用例 2021-09-14 10:59:49 +08:00
services/huks_standard TDD测试用例 2021-09-13 11:59:22 +08:00
test 操作内存前增加内存大小判断 2021-10-14 09:19:31 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00
BUILD.gn update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00
LICENSE update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00
ohos.build L2 HUKS init boot 2021-07-19 23:30:47 +08:00
README_zh.md 修改README 2021-08-10 11:39:46 +08:00
README.md bugfix 2021-08-12 18:02:10 +08:00

HUKS

Introduction

Harmony Universal KeyStore HUKS provides applications with key library capabilities, such as key management and cryptographic operations on keys. HUKS also provides APIs for applications to import or generate keys.

HUKS consists of the following modules:

  • HUKS SDK layer: provides HUKS APIs for applications.

  • HUKS service layer: implements functions such as HUKS key management and storage.

  • HUKS engine layer: HUKS core module, which generates, encrypts, and decrypts keys. For devices running a standard system, this module of the commercial version must run in a secure environment such as a TEE or a chip with security capabilities. A secure environment requires dedicated hardware and is therefore implemented only by emulation in the open-source code. For the small and mini systems, HUKS only provides the example implementation of the root key protection solution. In commercial scenarios, the implementation must adapt to the protection solution for either the hardware root key or other root keys.

Directory Structure

base/security/huks/
├── build                            # Build configuration file
├── frameworks                       # Framework code, which is used by interfaces and services
│   └── huks_standard                # Code implementation
|   └── huks_lite                    # Build script in a small and mini systems
|   └── crypto_lite                  # Encryption and decryption implementation
├── interfaces                       # APIs
│   └── innerkits
│       └── huks_standard
│       └── huks_lite
└── services
    └── huks_standard

Repositories Involved

Security subsystem

security_huks