Home
last modified time | relevance | path

Searched refs:crypto4xx_ctx (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/crypto/amcc/
Dcrypto4xx_core.h115 struct crypto4xx_ctx { struct
169 extern int crypto4xx_alloc_sa(struct crypto4xx_ctx *ctx, u32 size);
170 extern void crypto4xx_free_sa(struct crypto4xx_ctx *ctx);
171 extern u32 crypto4xx_alloc_sa_rctx(struct crypto4xx_ctx *ctx,
172 struct crypto4xx_ctx *rctx);
173 extern void crypto4xx_free_sa_rctx(struct crypto4xx_ctx *rctx);
174 extern void crypto4xx_free_ctx(struct crypto4xx_ctx *ctx);
175 extern u32 crypto4xx_alloc_state_record(struct crypto4xx_ctx *ctx);
176 extern u32 get_dynamic_sa_offset_state_ptr_field(struct crypto4xx_ctx *ctx);
177 extern u32 get_dynamic_sa_offset_key_field(struct crypto4xx_ctx *ctx);
[all …]
Dcrypto4xx_alg.c75 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_encrypt()
89 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_decrypt()
111 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes()
187 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_hash_alg_init()
213 sizeof(struct crypto4xx_ctx)); in crypto4xx_hash_alg_init()
239 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_init()
256 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_update()
275 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_digest()
Dcrypto4xx_sa.c37 u32 get_dynamic_sa_offset_state_ptr_field(struct crypto4xx_ctx *ctx) in get_dynamic_sa_offset_state_ptr_field()
64 u32 get_dynamic_sa_iv_size(struct crypto4xx_ctx *ctx) in get_dynamic_sa_iv_size()
75 u32 get_dynamic_sa_offset_key_field(struct crypto4xx_ctx *ctx) in get_dynamic_sa_offset_key_field()
Dcrypto4xx_core.c127 int crypto4xx_alloc_sa(struct crypto4xx_ctx *ctx, u32 size) in crypto4xx_alloc_sa()
150 void crypto4xx_free_sa(struct crypto4xx_ctx *ctx) in crypto4xx_free_sa()
164 u32 crypto4xx_alloc_state_record(struct crypto4xx_ctx *ctx) in crypto4xx_alloc_state_record()
176 void crypto4xx_free_state_record(struct crypto4xx_ctx *ctx) in crypto4xx_free_state_record()
593 struct crypto4xx_ctx *ctx) in crypto4xx_copy_digest_to_dst()
630 struct crypto4xx_ctx *ctx; in crypto4xx_ablkcipher_done()
656 struct crypto4xx_ctx *ctx; in crypto4xx_ahash_done()
760 struct crypto4xx_ctx *ctx, in crypto4xx_build_pd()
976 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_alg_init()
987 tfm->crt_ablkcipher.reqsize = sizeof(struct crypto4xx_ctx); in crypto4xx_alg_init()
[all …]