Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_client_impl.cpp110 AuthorizationSetBuilder authenticate_params; in encryptWithAuthentication() local
111 authenticate_params.Digest(KM_DIGEST_SHA_2_256); in encryptWithAuthentication()
112 authenticate_params.Authorization(keymaster::TAG_MAC_LENGTH, kHMACOutputSize); in encryptWithAuthentication()
114 if (!oneShotOperation(KM_PURPOSE_SIGN, authentication_key_name, authenticate_params.build(), in encryptWithAuthentication()
140 AuthorizationSetBuilder authenticate_params; in decryptWithAuthentication() local
141 authenticate_params.Digest(KM_DIGEST_SHA_2_256); in decryptWithAuthentication()
144 if (!oneShotOperation(KM_PURPOSE_VERIFY, authentication_key_name, authenticate_params.build(), in decryptWithAuthentication()