1 /* SPDX-License-Identifier: GPL-2.0 */
2 // $Id: strcop.h,v 1.3 2003/10/22 13:27:12 henriken Exp $
4 // Streamcop meta-data configuration structs
6 struct strcop_meta_out {
7 unsigned char csumsel : 3;
8 unsigned char ciphsel : 3;
9 unsigned char ciphconf : 2;
10 unsigned char hashsel : 3;
11 unsigned char hashconf : 1;
12 unsigned char hashmode : 1;
13 unsigned char decrypt : 1;
14 unsigned char dlkey : 1;
15 unsigned char cbcmode : 1;
18 struct strcop_meta_in {
19 unsigned char dmasel : 3;
20 unsigned char sync : 1;
21 unsigned char res1 : 5;