Searched refs:tweak (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_aesxts.c | 76 ccxts_tweak_decl(xtsenc->tweak_size, tweak); 80 xtsenc->set_tweak(xts->enc, tweak, iv); 81 xtsenc->xts(xts->enc, tweak, ptlen/16, pt, ct); 92 ccxts_tweak_decl(xtsdec->tweak_size, tweak); 96 xtsdec->set_tweak(xts->dec, tweak, iv); 97 xtsdec->xts(xts->dec, tweak, ptlen/16, ct, pt);
|
/darwin-on-arm/xnu/libkern/libkern/crypto/ |
H A D | aesxts.h | 66 const uint8_t *tweak, // this can be considered the sector IV for this use 71 const uint8_t *tweak, // this can be considered the sector IV for this use
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccmode.h | 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) argument 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); 339 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, unsigned long in_len, const void *in, void *out) argument 451 ccomac_update(const struct ccmode_omac *mode, ccomac_ctx *ctx, unsigned long in_len, const void *tweak, const void *in, void *out) argument 457 ccomac_one_shot(const struct ccmode_omac *mode, unsigned long tweak_len, unsigned long key_len, const void *key, const void *tweak, unsigned long in_len, const void *in, void *out) argument [all...] |
H A D | ccmode_impl.h | 114 determines how long the tweak is in bytes, for each subsequent call to 122 /* Set the tweak (sector number), the block within the sector zero. */ 123 void (*set_tweak)(const ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv); 126 this function. Return a pointer to the tweak buffer */ 127 void *(*xts)(const ccxts_ctx *ctx, ccxts_tweak *tweak, unsigned long nblocks, 162 const void *tweak, const void *in, void *out);
|
H A D | ccmode_factory.h | 444 const void *tweak, const void *in, void *out); 446 const void *tweak, const void *in, void *out); 449 determines how long the tweak is in bytes, for each subsequent call to 510 void ccmode_xts_set_tweak(ccxts_ctx *ctx, const void *tweak); 517 // Key, Tweak Key, and tweak combination
|
Completed in 31 milliseconds