Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h140 optional<vector<uint8_t>> ecPrivateKeyToKeyPair(const vector<uint8_t>& privateKey);
195 optional<vector<uint8_t>> ecdh(const vector<uint8_t>& publicKey, const vector<uint8_t>& privateKey);
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1044 vector<uint8_t> privateKey; in ecKeyPairGetPrivateKey() local
1045 privateKey.resize(BN_num_bytes(bignum)); in ecKeyPairGetPrivateKey()
1046 BN_bn2bin(bignum, privateKey.data()); in ecKeyPairGetPrivateKey()
1047 return privateKey; in ecKeyPairGetPrivateKey()
1050 optional<vector<uint8_t>> ecPrivateKeyToKeyPair(const vector<uint8_t>& privateKey) { in ecPrivateKeyToKeyPair() argument
1051 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecPrivateKeyToKeyPair()
1326 const vector<uint8_t>& privateKey) { in ecdh() argument
1353 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecdh()
/hardware/interfaces/identity/aidl/vts/
DReaderAuthTests.cpp118 optional<vector<uint8_t>> privateKey = support::ecKeyPairGetPrivateKey(keyPKCS8.value()); in generateReaderKey() local
119 return make_pair(publicKey.value(), privateKey.value()); in generateReaderKey()