Searched refs:encrypt_params (Results 1 – 1 of 1) sorted by relevance
/system/security/keystore/ |
D | keystore_client_impl.cpp | 83 AuthorizationSetBuilder encrypt_params; in encryptWithAuthentication() local 84 encrypt_params.Padding(PaddingMode::PKCS7); in encryptWithAuthentication() 85 encrypt_params.Authorization(TAG_BLOCK_MODE, BlockMode::CBC); in encryptWithAuthentication() 88 if (!oneShotOperation(KeyPurpose::ENCRYPT, encryption_key_name, encrypt_params, data, in encryptWithAuthentication() 142 AuthorizationSetBuilder encrypt_params; in decryptWithAuthentication() local 143 encrypt_params.Padding(PaddingMode::PKCS7); in decryptWithAuthentication() 144 encrypt_params.Authorization(TAG_BLOCK_MODE, BlockMode::CBC); in decryptWithAuthentication() 145 encrypt_params.Authorization(TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication() 147 if (!oneShotOperation(KeyPurpose::DECRYPT, encryption_key_name, encrypt_params, in decryptWithAuthentication()
|