Lines Matching defs:crypt_ctl
109 struct crypt_ctl { struct
111 u8 mode; /* NPE_OP_* operation mode */
112 u8 init_len;
113 u16 reserved;
119 u8 iv[MAX_IVLEN]; /* IV for CBC mode or CTR IV for CTR mode */
120 dma_addr_t icv_rev_aes; /* icv or rev aes */
121 dma_addr_t src_buf;
122 dma_addr_t dst_buf;
124 u16 auth_offs; /* Authentication start offset */
125 u16 auth_len; /* Authentication data length */
126 u16 crypt_offs; /* Cryption start offset */
127 u16 crypt_len; /* Cryption data length */
129 u16 auth_len; /* Authentication data length */
130 u16 auth_offs; /* Authentication start offset */
131 u16 crypt_len; /* Cryption data length */
132 u16 crypt_offs; /* Cryption start offset */
134 u32 aadAddr; /* Additional Auth Data Addr for CCM mode */
135 u32 crypto_ctx; /* NPE Crypto Param structure address */
138 unsigned ctl_flags;
139 union {
143 } data;
144 struct buffer_desc *regist_buf;
145 u8 *regist_ptr;