Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_client_impl.cpp101 AuthorizationSetBuilder authenticate_params; in encryptWithAuthentication() local
102 authenticate_params.Digest(Digest::SHA_2_256); in encryptWithAuthentication()
103 authenticate_params.Authorization(TAG_MAC_LENGTH, kHMACOutputSize); in encryptWithAuthentication()
105 if (!oneShotOperation(KeyPurpose::SIGN, authentication_key_name, authenticate_params, in encryptWithAuthentication()
131 AuthorizationSetBuilder authenticate_params; in decryptWithAuthentication() local
132 authenticate_params.Digest(Digest::SHA_2_256); in decryptWithAuthentication()
135 if (!oneShotOperation(KeyPurpose::VERIFY, authentication_key_name, authenticate_params, in decryptWithAuthentication()