Lines Matching defs:tweak
70 /* Declare a cbc iv tweak named _name_. Pass the blocksize field of a struct ccmode_cbc
300 /* Declare a xts tweak named _name_. Pass the tweak_size field of a struct ccmode_xts
334 CC_INLINE void ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv)
336 mode->set_tweak(ctx, tweak, iv);
340 ccxts_tweak *tweak, unsigned long in_len, const void *in, void *out)
342 return mode->xts(ctx, tweak, in_len, in, out);
351 ccxts_tweak_decl(mode->tweak_size, tweak);
353 mode->set_tweak(ctx, tweak, iv);
354 mode->xts(ctx, tweak, in_len, in, out);
356 ccxts_tweak_clear(mode->tweak_size, tweak);
452 unsigned long in_len, const void *tweak, const void *in, void *out)
454 return mode->omac(ctx, in_len, tweak, in, out);
459 const void *tweak, unsigned long in_len, const void *in, void *out)
463 int result = mode->omac(ctx, in_len, tweak, in, out);