Home
last modified time | relevance | path

Searched refs:privateKey (Results 1 – 3 of 3) sorted by relevance

/system/extras/verity/
DVeritySigner.java64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() local
65 byte[] signature = Utils.sign(privateKey, content); in main()
DUtils.java274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign() argument
275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); in sign()
276 signer.initSign(privateKey); in sign()
/system/keymaster/cppcose/
Dcppcose.cpp84 ErrMsgOr<bytevec> ecdh(const bytevec& publicKey, const bytevec& privateKey) { in ecdh() argument
106 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecdh()