Go to file
2021-05-17 18:01:49 +08:00
build add compile macro for huks to make libs on liteos_m 2021-04-09 00:14:06 +08:00
frameworks add _CUT_AUTHENTICATE_ for mbedtls_error_code 2021-04-15 17:18:41 +08:00
interfaces/innerkits/huks_lite update openharmony 1.0.1 2021-03-11 18:42:01 +08:00
LICENSE add OpenHarmony 1.0 baseline 2020-09-08 12:00:05 +08:00
README_en.md 修改README 2021-05-17 18:01:49 +08:00
README_zh.md 修改README 2021-05-17 18:01:49 +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