Home
last modified time | relevance | path

Searched refs:inParams (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DKeymaster.h79 bool generateKey(const AuthorizationSet& inParams, std::string* key);
84 const AuthorizationSet& inParams, AuthorizationSet* outParams);
87 const AuthorizationSet& inParams);
DKeymaster.cpp198 bool Keymaster::generateKey(const keymaster::AuthorizationSet& inParams, std::string* key) { in generateKey() argument
200 auto error = mDevice->generate_key(&inParams, &keyBlob); in generateKey()
221 const keymaster::AuthorizationSet& inParams, in begin() argument
226 auto error = mDevice->begin(purpose, &keyBlob, &inParams, &outParams_set, &mOpHandle); in begin()
238 const keymaster::AuthorizationSet& inParams) { in begin() argument
241 auto error = mDevice->begin(purpose, &keyBlob, &inParams, nullptr, &mOpHandle); in begin()
/system/security/keystore/
Dkey_store_service.cpp610 const keymaster_key_param_set_t inParams = {opParams.data(), opParams.size()}; in generateKey() local
626 device->generate_key(device, &inParams, &blob, outCharacteristics ? &out : nullptr); in generateKey()
642 rc = fallback->generate_key(fallback, &inParams, &blob, in generateKey()
741 const keymaster_key_param_set_t inParams = {opParams.data(), opParams.size()}; in importKey() local
748 rc = device->import_key(device, &inParams, format, &input, &blob, in importKey()
754 rc = fallback->import_key(fallback, &inParams, format, &input, &blob, in importKey()
889 keymaster_key_param_set_t inParams = {opParams.data(), opParams.size()}; in begin() local
902 keymaster::AuthorizationSet operation_params(inParams); in begin()
921 err = dev->begin(dev, purpose, &key, &inParams, &outParams, &handle); in begin()
933 err = dev->begin(dev, purpose, &key, &inParams, &outParams, &handle); in begin()
[all …]
Dkeystore.cpp438 const keymaster_key_param_set_t inParams = {opParams.data(), opParams.size()}; in importKey() local
442 keymaster_error_t error = mDevice->import_key(mDevice, &inParams, KM_KEY_FORMAT_PKCS8, &input, in importKey()
453 error = mFallbackDevice->import_key(mFallbackDevice, &inParams, KM_KEY_FORMAT_PKCS8, &input, in importKey()