Lines Matching refs:cc_cipher_ctx
45 struct cc_cipher_ctx { struct
66 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_key_type() argument
71 static int validate_keys_sizes(struct cc_cipher_ctx *ctx_p, u32 size) in validate_keys_sizes()
106 static int validate_data_size(struct cc_cipher_ctx *ctx_p, in validate_data_size()
153 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_init()
236 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_exit()
302 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_sethkey()
402 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_setkey()
493 static int cc_out_setup_mode(struct cc_cipher_ctx *ctx_p) in cc_out_setup_mode()
512 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_readiv_desc()
569 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_state_desc()
613 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_xex_state_desc()
671 static int cc_out_flow_mode(struct cc_cipher_ctx *ctx_p) in cc_out_flow_mode()
690 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_key_desc()
773 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_mlli_desc()
800 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_flow_desc()
885 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_process()
1434 alg->base.cra_ctxsize = sizeof(struct cc_cipher_ctx); in cc_create_alg()