msm-kernel: add keygen to generate key-pair using openssl
Module signing and dm-verity needs key pair to be generated
using openssl. Add keygen file which is needed to generate
keys using openssl.
This is snapshot of keygen file from waipio from
'commit daaa229e5499 ("Merge "usb: dwc3: dwc3-msm-core:
Check that stop host/device mode completed"")'
from msm-5.10 branch.
Change-Id: I774721ab2e0ae7054b6b1335361e3e45c10526c5
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
25d3af42b7
commit
a2f916abb1
19
certs/qcom_x509.genkey
Normal file
19
certs/qcom_x509.genkey
Normal file
@@ -0,0 +1,19 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
[ req ]
|
||||
default_bits = 4096
|
||||
distinguished_name = req_distinguished_name
|
||||
prompt = no
|
||||
string_mask = utf8only
|
||||
x509_extensions = myexts
|
||||
|
||||
[ req_distinguished_name ]
|
||||
#O = Unspecified company
|
||||
CN = Build time autogenerated kernel key
|
||||
#emailAddress = unspecified.user@unspecified.company
|
||||
|
||||
[ myexts ]
|
||||
basicConstraints=critical,CA:FALSE
|
||||
keyUsage=digitalSignature
|
||||
subjectKeyIdentifier=hash
|
||||
authorityKeyIdentifier=keyid
|
||||
Reference in New Issue
Block a user