Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_client_impl.cpp100 AuthorizationSetBuilder authenticate_params; in encryptWithAuthentication() local
101 authenticate_params.Digest(Digest::SHA_2_256); in encryptWithAuthentication()
102 authenticate_params.Authorization(TAG_MAC_LENGTH, kHMACOutputSize); in encryptWithAuthentication()
104 if (!oneShotOperation(KeyPurpose::SIGN, authentication_key_name, authenticate_params, in encryptWithAuthentication()
130 AuthorizationSetBuilder authenticate_params; in decryptWithAuthentication() local
131 authenticate_params.Digest(Digest::SHA_2_256); in decryptWithAuthentication()
134 if (!oneShotOperation(KeyPurpose::VERIFY, authentication_key_name, authenticate_params, in decryptWithAuthentication()