Lines Matching refs:KeyParameterValue

37 using android::hardware::security::keymint::KeyParameterValue;
73 algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::HMAC); in createKey()
78 key_size.value = KeyParameterValue::make<KeyParameterValue::integer>(kHmacKeySize); in createKey()
83 min_mac_length.value = KeyParameterValue::make<KeyParameterValue::integer>(256); in createKey()
88 digest.value = KeyParameterValue::make<KeyParameterValue::digest>(Digest::SHA_2_256); in createKey()
93 purposeSign.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in createKey()
99 KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::VERIFY); in createKey()
104 auth.value = KeyParameterValue::make<KeyParameterValue::boolValue>(true); in createKey()
109 boot_level.value = KeyParameterValue::make<KeyParameterValue::integer>(kOdsignBootLevel); in createKey()
136 if (auth.keyParameter.value.get<KeyParameterValue::integer>() == kOdsignBootLevel) { in initialize()
164 algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::HMAC); in getVerifyOpParameters()
169 digest.value = KeyParameterValue::make<KeyParameterValue::digest>(Digest::SHA_2_256); in getVerifyOpParameters()
174 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::VERIFY); in getVerifyOpParameters()
185 algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::HMAC); in getSignOpParameters()
190 mac_length.value = KeyParameterValue::make<KeyParameterValue::integer>(256); in getSignOpParameters()
195 digest.value = KeyParameterValue::make<KeyParameterValue::digest>(Digest::SHA_2_256); in getSignOpParameters()
200 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in getSignOpParameters()