Go to file
Vincentchenhao 09d39ca193 L2 HUKS init boot
Signed-off-by: Vincentchenhao <chenhao286@huawei.com>
2021-07-19 23:30:47 +08:00
build add L1 compile 2021-07-11 18:35:00 +08:00
frameworks !57 small devices support ED25519 to X25519 2021-07-19 11:37:27 +00:00
interfaces/innerkits add L1 compile 2021-07-11 18:35:00 +08:00
services/huks_standard L2 HUKS init boot 2021-07-19 23:30:47 +08:00
test add L1 compile 2021-07-11 18:35:00 +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 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