Lines Matching refs:sahara_ctx
147 struct sahara_ctx { struct
209 struct sahara_ctx *ctx;
452 struct sahara_ctx *ctx = dev->ctx; in sahara_hw_descriptor_create()
554 struct sahara_ctx *ctx; in sahara_aes_process()
604 struct sahara_ctx *ctx = crypto_ablkcipher_ctx(tfm); in sahara_aes_setkey()
668 struct sahara_ctx *ctx = crypto_ablkcipher_ctx( in sahara_aes_ecb_encrypt()
686 struct sahara_ctx *ctx = crypto_ablkcipher_ctx( in sahara_aes_ecb_decrypt()
704 struct sahara_ctx *ctx = crypto_ablkcipher_ctx( in sahara_aes_cbc_encrypt()
722 struct sahara_ctx *ctx = crypto_ablkcipher_ctx( in sahara_aes_cbc_decrypt()
739 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_aes_cra_init()
755 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_aes_cra_exit()
1159 struct sahara_ctx *ctx = crypto_ahash_ctx(ahash); in sahara_sha_export()
1162 memcpy(out, ctx, sizeof(struct sahara_ctx)); in sahara_sha_export()
1172 struct sahara_ctx *ctx = crypto_ahash_ctx(ahash); in sahara_sha_import()
1175 memcpy(ctx, in, sizeof(struct sahara_ctx)); in sahara_sha_import()
1185 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_sha_cra_init()
1202 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_sha_cra_exit()
1216 .cra_ctxsize = sizeof(struct sahara_ctx),
1236 .cra_ctxsize = sizeof(struct sahara_ctx),
1271 .cra_ctxsize = sizeof(struct sahara_ctx),
1298 .cra_ctxsize = sizeof(struct sahara_ctx),