Searched refs:paramBuilder (Results 1 – 2 of 2) sorted by relevance
110 auto paramBuilder = km::AuthorizationSetBuilder() in generateKeymasterKey() local116 paramBuilder.Authorization(km::TAG_NO_AUTH_REQUIRED); in generateKeymasterKey()125 paramBuilder.Authorization(km::TAG_USER_SECURE_ID, at->user_id); in generateKeymasterKey()126 paramBuilder.Authorization(km::TAG_USER_AUTH_TYPE, km::HardwareAuthenticatorType::PASSWORD); in generateKeymasterKey()127 paramBuilder.Authorization(km::TAG_AUTH_TIMEOUT, AUTH_TIMEOUT); in generateKeymasterKey()129 return keymaster.generateKey(paramBuilder, key); in generateKeymasterKey()134 auto paramBuilder = km::AuthorizationSetBuilder() in beginParams() local142 return {paramBuilder, authToken}; in beginParams()
306 auto paramBuilder = km::AuthorizationSetBuilder().NoDigestOrPadding(); in keymaster_sign_object_for_cryptfs_scrypt() local308 … op = dev.begin(km::KeyPurpose::SIGN, key, paramBuilder, km::HardwareAuthToken(), &outParams); in keymaster_sign_object_for_cryptfs_scrypt()