Lines Matching defs:spu_hw
356 struct spu_hw { struct
357 void (*spu_dump_msg_hdr)(u8 *buf, unsigned int buf_len);
358 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
361 u32 (*spu_payload_length)(u8 *spu_hdr);
362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
364 u16 (*spu_hash_pad_len)(enum hash_alg hash_alg,
367 u32 (*spu_gcm_ccm_pad_len)(enum spu_cipher_mode cipher_mode,
369 u32 (*spu_assoc_resp_len)(enum spu_cipher_mode cipher_mode,
372 u8 (*spu_aead_ivlen)(enum spu_cipher_mode cipher_mode,
374 enum hash_type (*spu_hash_type)(u32 src_sent);
375 u32 (*spu_digest_size)(u32 digest_size, enum hash_alg alg,
377 u32 (*spu_create_request)(u8 *spu_hdr,
383 u16 (*spu_cipher_req_init)(u8 *spu_hdr,
385 void (*spu_cipher_req_finish)(u8 *spu_hdr,
390 void (*spu_request_pad)(u8 *pad_start, u32 gcm_padding,
394 u8 (*spu_xts_tweak_in_payload)(void);
395 u8 (*spu_tx_status_len)(void);
396 u8 (*spu_rx_status_len)(void);
397 int (*spu_status_process)(u8 *statp);
398 void (*spu_ccm_update_iv)(unsigned int digestsize,
423 struct spu_hw spu; argument