Searched refs:authenticate_params (Results 1 – 1 of 1) sorted by relevance
110 AuthorizationSetBuilder authenticate_params; in encryptWithAuthentication() local111 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() local141 authenticate_params.Digest(KM_DIGEST_SHA_2_256); in decryptWithAuthentication()144 if (!oneShotOperation(KM_PURPOSE_VERIFY, authentication_key_name, authenticate_params.build(), in decryptWithAuthentication()