Go to file
wanghaixiang 89358eaa41 删除多余代码
Signed-off-by: wanghaixiang <wanghaixiang@huawei.com>
2021-06-30 12:56:36 +08:00
build add L0L1 huks 3.0 verson code 2021-06-30 12:33:53 +08:00
frameworks 删除多余代码 2021-06-30 12:56:36 +08:00
interfaces/innerkits add L0L1 huks 3.0 verson code 2021-06-30 12:33:53 +08:00
services/huks_standard add L0L1 huks 3.0 verson code 2021-06-30 12:33:53 +08:00
test add L0L1 huks 3.0 verson code 2021-06-30 12:33:53 +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 update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00
README_zh.md modify README_zh.md 2021-06-07 20:11:27 +08:00
README.md update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00

HUKS

Introduction

Harmony Universal KeyStore HUKS provides key library capabilities for applications, 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. In a commercial version for L2 devices, this module 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.

Directory Structure

base/security/huks/
├── frameworks                       # Framework code, which is used by interfaces and services
│   └── huks_standard                # HUKS module in a standard system
|   └── huks_lite                    # L0 and L1 code implementation
├── interfaces                       # APIs
│   └── innerkits
│       └── huks_standard
│       └── huks_lite
└── services
    └── huks_standard

Repositories Involved

base/security/huks