Lines Matching refs:chcr_context
98 static inline struct chcr_aead_ctx *AEAD_CTX(struct chcr_context *ctx) in AEAD_CTX()
103 static inline struct ablk_ctx *ABLK_CTX(struct chcr_context *ctx) in ABLK_CTX()
108 static inline struct hmac_ctx *HMAC_CTX(struct chcr_context *ctx) in HMAC_CTX()
123 static inline struct uld_ctx *ULD_CTX(struct chcr_context *ctx) in ULD_CTX()
759 static inline void create_wreq(struct chcr_context *ctx, in create_wreq()
808 struct chcr_context *ctx = c_ctx(tfm); in create_cipher_wr()
1172 struct chcr_context *ctx = c_ctx(tfm); in chcr_handle_cipher_resp()
1377 struct chcr_context *ctx = c_ctx(tfm); in chcr_aes_encrypt()
1422 struct chcr_context *ctx = c_ctx(tfm); in chcr_aes_decrypt()
1447 static int chcr_device_init(struct chcr_context *ctx) in chcr_device_init()
1476 struct chcr_context *ctx = crypto_skcipher_ctx(tfm); in chcr_init_tfm()
1495 struct chcr_context *ctx = crypto_skcipher_ctx(tfm); in chcr_rfc3686_init()
1515 struct chcr_context *ctx = crypto_skcipher_ctx(tfm); in chcr_exit_tfm()
1571 struct chcr_context *ctx = h_ctx(tfm); in create_hash_wr()
1667 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_update()
1772 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_final()
1840 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_finup()
1935 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_digest()
2028 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_continue()
2152 struct chcr_context *ctx = crypto_tfm_ctx(tfm); in chcr_handle_resp()
2345 struct chcr_context *ctx = crypto_tfm_ctx(tfm); in chcr_hmac_cra_init()
2360 struct chcr_context *ctx = crypto_tfm_ctx(tfm); in chcr_hmac_cra_exit()
2443 struct chcr_context *ctx = a_ctx(tfm); in create_authenc_wr()
2717 struct chcr_context *ctx = a_ctx(tfm); in chcr_add_aead_dst_ent()
2761 struct chcr_context *ctx = c_ctx(tfm); in chcr_add_cipher_dst_ent()
2969 struct chcr_context *ctx = a_ctx(tfm); in fill_sec_cpl_for_aead()
3141 struct chcr_context *ctx = a_ctx(tfm); in create_gcm_wr()
3745 struct chcr_context *ctx = a_ctx(tfm); in chcr_aead_op()
3795 struct chcr_context *ctx = a_ctx(tfm); in chcr_aead_encrypt()
3823 struct chcr_context *ctx = a_ctx(tfm); in chcr_aead_decrypt()
4063 .cra_ctxsize = sizeof(struct chcr_context) +
4082 .cra_ctxsize = sizeof(struct chcr_context) +
4102 .cra_ctxsize = sizeof(struct chcr_context) +
4121 .cra_ctxsize = sizeof(struct chcr_context) +
4141 .cra_ctxsize = sizeof(struct chcr_context) +
4163 .cra_ctxsize = sizeof(struct chcr_context) +
4184 .cra_ctxsize = sizeof(struct chcr_context) +
4204 .cra_ctxsize = sizeof(struct chcr_context) +
4225 .cra_ctxsize = sizeof(struct chcr_context) +
4246 .cra_ctxsize = sizeof(struct chcr_context) +
4267 .cra_ctxsize = sizeof(struct chcr_context) +
4289 .cra_ctxsize = sizeof(struct chcr_context) +
4310 .cra_ctxsize = sizeof(struct chcr_context) +
4330 .cra_ctxsize = sizeof(struct chcr_context) +
4351 .cra_ctxsize = sizeof(struct chcr_context) +
4372 .cra_ctxsize = sizeof(struct chcr_context) +
4426 #define SZ_AHASH_CTX sizeof(struct chcr_context)
4427 #define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))
4453 sizeof(struct chcr_context) + in chcr_register_alg()