Lines Matching refs:ctx
23 void (*init)(const struct ccmode_ecb *ecb, ccecb_ctx *ctx,
25 void (*ecb)(const ccecb_ctx *ctx, unsigned long nblocks, const void *in,
36 void (*init)(const struct ccmode_cbc *cbc, cccbc_ctx *ctx,
39 void (*cbc)(const cccbc_ctx *ctx, cccbc_iv *iv, unsigned long nblocks,
50 void (*init)(const struct ccmode_cfb *cfb, cccfb_ctx *ctx,
53 void (*cfb)(cccfb_ctx *ctx, unsigned long nblocks,
65 void (*init)(const struct ccmode_cfb8 *cfb8, cccfb8_ctx *ctx,
68 void (*cfb8)(cccfb8_ctx *ctx, unsigned long nbytes,
80 void (*init)(const struct ccmode_ctr *ctr, ccctr_ctx *ctx,
83 void (*ctr)(ccctr_ctx *ctx, unsigned long nblocks,
95 void (*init)(const struct ccmode_ofb *ofb, ccofb_ctx *ctx,
98 void (*ofb)(ccofb_ctx *ctx, unsigned long nblocks,
118 void (*init)(const struct ccmode_xts *xts, ccxts_ctx *ctx,
123 void (*set_tweak)(const ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv);
127 void *(*xts)(const ccxts_ctx *ctx, ccxts_tweak *tweak, unsigned long nblocks,
141 void (*init)(const struct ccmode_gcm *gcm, ccgcm_ctx *ctx,
143 void (*set_iv)(ccgcm_ctx *ctx, size_t iv_size, const void *iv);
144 void (*gmac)(ccgcm_ctx *ctx, unsigned long nbytes, const void *in); // could just be gcm with NULL out
145 void (*gcm)(ccgcm_ctx *ctx, unsigned long nbytes, const void *in, void *out);
147 void (*reset)(ccgcm_ctx *ctx);
158 void (*init)(const struct ccmode_omac *omac, ccomac_ctx *ctx,
161 int (*omac)(ccomac_ctx *ctx, unsigned long nblocks,