Home
last modified time | relevance | path

Searched refs:keystore_ (Results 1 – 6 of 6) sorted by relevance

/system/webservd/webservd/
Dkeystore_encryptor.cc37 : keystore_(std::move(keystore)) {} in KeystoreEncryptor()
41 return keystore_->encryptWithAuthentication(kWebserverKeyName, plaintext, in EncryptWithAuthentication()
47 return keystore_->decryptWithAuthentication(kWebserverKeyName, ciphertext, in DecryptWithAuthentication()
Dkeystore_encryptor.h41 std::unique_ptr<keystore::KeystoreClient> keystore_;
/system/weaved/buffet/
Dkeystore_encryptor.cc37 : keystore_(std::move(keystore)) {} in KeystoreEncryptor()
41 return keystore_->encryptWithAuthentication(kBuffetKeyName, plaintext, in EncryptWithAuthentication()
47 return keystore_->decryptWithAuthentication(kBuffetKeyName, ciphertext, in DecryptWithAuthentication()
Dkeystore_encryptor.h41 std::unique_ptr<keystore::KeystoreClient> keystore_;
/system/security/keystore/
Dkeystore_client_impl.cpp73 keystore_ = android::interface_cast<android::IKeystoreService>(keystore_binder_); in KeystoreClientImpl()
197 return mapKeystoreError(keystore_->addRngEntropy(StringAsByteArray(entropy), entropy.size())); in addRandomNumberGeneratorEntropy()
209 keystore_->generateKey(key_name16, key_arguments, NULL /*entropy*/, 0 /*entropyLength*/, in generateKey()
224 int32_t result = keystore_->getKeyCharacteristics(key_name16, &client_id_blob, &app_data_blob, in getKeyCharacteristics()
242 keystore_->importKey(key_name16, key_arguments, key_format, StringAsByteArray(key_data), in importKey()
255 keystore_->exportKey(key_name16, export_format, &client_id_blob, &app_data_blob, in exportKey()
263 return mapKeystoreError(keystore_->del(key_name16, kDefaultUID)); in deleteKey()
267 return mapKeystoreError(keystore_->clear_uid(kDefaultUID)); in deleteAllKeys()
279 keystore_->begin(token, key_name16, purpose, true /*pruneable*/, input_arguments, in beginOperation()
305 keystore_->update(active_operations_[handle], input_arguments, StringAsByteArray(input_data), in updateOperation()
[all …]
/system/security/keystore/include/keystore/
Dkeystore_client_impl.h110 android::sp<android::IKeystoreService> keystore_; variable