Go to file
openharmony_ci 51ee300e05 !38 MUSL切换问题修复
Merge pull request !38 from 陈浩/myfeature
2021-06-29 03:41:26 +00:00
build add compile macro for huks to make libs on liteos_m 2021-04-09 00:14:06 +08:00
frameworks !38 MUSL切换问题修复 2021-06-29 03:41:26 +00:00
interfaces/innerkits update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +08:00
services/huks_standard update OpenHarmony 2.0 Canary 2021-06-02 02:56:07 +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