Lines Matching refs:ops
60 const struct ip_cipher_ops *ops; member
131 res = ctx->ops->init(ctx, mode, key, key_len, NULL, 0, iv, in saes_init()
158 return ctx->ops->update(ctx, last_block, src, len, dst); in saes_update()
170 ctx->ops->final(ctx); in saes_final()
186 fb_ctx->ops->copy_state(dst_ip_ctx->saes.fallback_ctx, fb_ctx); in saes_copy_state()
209 return c->ops->init(&c->ip_ctx, !dinit->encrypt, dinit->key1.data, in stm32_cipher_initialize()
219 return c->ops->update(&c->ip_ctx, dupdate->last, dupdate->src.data, in stm32_cipher_update()
227 if (c->ops->final) in stm32_cipher_final()
228 c->ops->final(&c->ip_ctx); in stm32_cipher_final()
236 src_c->ops->copy_state(&dst_c->ip_ctx, &src_c->ip_ctx); in stm32_cipher_copy_state()
248 c->ops = &cryp_ops; in alloc_cryp_ctx()
318 fallback_ctx->ops->free_ctx(fallback_ctx); in stm32_saes_cipher_allocate()
325 saes_ctx->ops = &saes_ops; in stm32_saes_cipher_allocate()
339 fb_ctx->ops->free_ctx(fb_ctx); in stm32_saes_cipher_free()