Skip to content

harmony-contrib/ohos-gmssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ohos-gmssl-binding

Platform License: MIT

This project's goal is to provide the precompiled binary of GmSSL in OpenHarmony

Supported architectures

  • arm64-v8a
  • armeabi-v7a
  • x86_64

Usage

git clone https://github.com/harmony-contrib/ohos-gmssl.git

ohpm

We can use it with ohpm.

Install

ohpm install @ohos-rs/gmssl --save-dev

Setup

Edit your CMakeLists.txt in your project and add those code:

set(GMSSL_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@ohos-rs/gmssl)
set(CMAKE_MODULE_PATH ${GMSSL_ROOT_PATH})

find_package(GmSSL REQUIRED)

target_link_libraries(entry PRIVATE GmSSL)

Build

You can release package locally. Just run command:

bash ./scripts/har.sh

It will generate a .har package in current path. You can import it with file protocol.

About

A precompiled OpenSSL for HarmonyOS/OpenHarmony

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages