d934955f4c
Merge pull request !79 from HaixiangW/myfeature |
||
---|---|---|
build | ||
frameworks | ||
interfaces/innerkits | ||
services/huks_standard | ||
test | ||
.gitattributes | ||
BUILD.gn | ||
LICENSE | ||
ohos.build | ||
README_zh.md | ||
README.md |
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 hardware root key or other root key protection solutions.
Directory Structure
base/security/huks/
├── build # Build configuration file
├── frameworks # Framework code, which is used by interfaces and services
│ └── huks_standard # HUKS implementation
| └── huks_lite # HUKS build script in a mini or small system
| └── crypto_lite # Encryption and decryption implementation
├── interfaces # APIs
│ └── innerkits
│ └── huks_standard
│ └── huks_lite
└── services
└── huks_standard
Repositories Involved
Security subsystem
security_huks