Lines Matching refs:KeyParameterValue
39 using android::hardware::security::keymint::KeyParameterValue;
80 algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::RSA); in createKey()
85 key_size.value = KeyParameterValue::make<KeyParameterValue::integer>(kRsaKeySize); in createKey()
90 digest.value = KeyParameterValue::make<KeyParameterValue::digest>(Digest::SHA_2_256); in createKey()
96 KeyParameterValue::make<KeyParameterValue::paddingMode>(PaddingMode::RSA_PKCS1_1_5_SIGN); in createKey()
101 exponent.value = KeyParameterValue::make<KeyParameterValue::longInteger>(kRsaKeyExponent); in createKey()
106 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in createKey()
111 auth.value = KeyParameterValue::make<KeyParameterValue::boolValue>(true); in createKey()
116 boot_level.value = KeyParameterValue::make<KeyParameterValue::integer>(kOdsignBootLevel); in createKey()
207 if (auth.keyParameter.value.get<KeyParameterValue::integer>() == kOdsignBootLevel) { in verifyExistingKey()
272 algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::RSA); in getSignOpParameters()
277 digest.value = KeyParameterValue::make<KeyParameterValue::digest>(Digest::SHA_2_256); in getSignOpParameters()
283 KeyParameterValue::make<KeyParameterValue::paddingMode>(PaddingMode::RSA_PKCS1_1_5_SIGN); in getSignOpParameters()
288 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in getSignOpParameters()