GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#! /bin/sh
echo "======================================================================================"
echo "| rsa4096pem |"
echo "======================================================================================"
# generate rsa pub key and private key
if [ -f rsa4096pem/rsa_pub_4096_sha256.txt ]; then
echo "use old rsa4096pem/rsa_pub.bin rsa4096pem/rsa_pub_4096_sha256.txt"
else
echo "gen new rsa4096pem/rsa_pub.bin rsa4096pem/rsa_pub_4096_sha256.txt"
mkdir -p rsa4096pem
openssl genrsa -out rsa4096pem/rsa_priv_4096.pem 4096
openssl rsa -in rsa4096pem/rsa_priv_4096.pem -pubout -out rsa4096pem/rsa_pub_4096.pem
fi