mirror of
https://gitee.com/openharmony/security_huks
synced 2025-03-06 01:19:03 +00:00
HUKS
Introduction
HUKS is a universal key management service. It provides KeyStore and Crypto APIs for applications to perform key management, encryption, and decryption operations.
HUKS consists of native APIs, the hardware abstraction layer HAL
, and Core Module.
- Native APIs are implemented using the C language to ensure consistency among all devices, and include the APIs for key generation, encryption, and decryption.
- HAL shields differences between hardware and OSs and defines the unified APIs for HUKS. It contains platform algorithm libraries, file systems, and logs.
- Core Module depends on the HAL and provides core functions such as encryption and decryption, signature verification, and key storage.
Directory Structure
base/security
├── huks
│ ├── frameworks
│ │ └── huks_lite HUKS code implementation
│ └── interfaces
│ └── innerkits
│ └── huks_lite HUKS APIs
Repositories Involved
security_huks
Languages
C++
67.5%
C
32.5%