1、GmSSL安装包官方下载
参考官方网站:http://gmssl.org/docs/quickstart.html
点击Downloads即可进行安装包下载。
2、关于GmSSL
参考官网:http://gmssl.org/
3、在Ubuntu18.04上进行交叉编译
3.1 下载源代码(zip),解压缩至当前工作目录
$ unzip GmSSL-master.zip
3.2 编译与安装
./Configure --prefix=/opt/openssl --cross-compile-prefix=arm-linux-gnueabihf- no-asm shared linux-armv4
make
make install
/opt/openssl 是编译后的输出目录,也可依据需求进行更换。
因为是arm设备,这里配置目标平台为lin