Home | History | Annotate | Download | only in keymaster

Lines Matching defs:Keymaster1Engine

24 #define LOG_TAG "Keymaster1Engine"
41 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr;
43 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device)
46 Keymaster1Engine::duplicate_key_data,
47 Keymaster1Engine::free_key_data)),
49 Keymaster1Engine::duplicate_key_data,
50 Keymaster1Engine::free_key_data)),
63 Keymaster1Engine::~Keymaster1Engine() {
79 keymaster_error_t Keymaster1Engine::GenerateKey(const AuthorizationSet& key_description,
99 keymaster_error_t Keymaster1Engine::ImportKey(const AuthorizationSet& key_description,
124 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const {
130 keymaster_error_t Keymaster1Engine::DeleteAllKeys() const {
136 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob,
178 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob,
219 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const {
236 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const {
242 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const EC_KEY* ec_key) const {
249 int Keymaster1Engine::duplicate_key_data(CRYPTO_EX_DATA* /* to */, const CRYPTO_EX_DATA* /* from */,
264 void Keymaster1Engine::free_key_data(void* /* parent */, void* ptr, CRYPTO_EX_DATA* /* data */,
269 keymaster_error_t Keymaster1Engine::Keymaster1Finish(const KeyData* key_data,
289 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
314 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
339 int Keymaster1Engine::ecdsa_sign(const uint8_t* digest, size_t digest_len, uint8_t* sig,
362 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
386 RSA_METHOD Keymaster1Engine::BuildRsaMethod() {
398 method.sign_raw = Keymaster1Engine::rsa_sign_raw;
399 method.decrypt = Keymaster1Engine::rsa_decrypt;
411 ECDSA_METHOD Keymaster1Engine::BuildEcdsaMethod() {
420 method.sign = Keymaster1Engine::ecdsa_sign;