Home
last modified time | relevance | path

Searched refs:tweak (Results 1 – 5 of 5) sorted by relevance

/xnu-8792.41.9/libkern/crypto/
H A Dcorecrypto_aesxts.c80 ccxts_tweak_decl(xtsenc->tweak_size, tweak); in xts_encrypt()
86 int rc = xtsenc->set_tweak(xts->enc, tweak, iv); in xts_encrypt()
91 xtsenc->xts(xts->enc, tweak, ptlen / 16, pt, ct); in xts_encrypt()
102 ccxts_tweak_decl(xtsdec->tweak_size, tweak); in xts_decrypt()
108 int rc = xtsdec->set_tweak(xts->dec, tweak, iv); in xts_decrypt()
113 xtsdec->xts(xts->dec, tweak, ptlen / 16, ct, pt); in xts_decrypt()
/xnu-8792.41.9/libkern/libkern/crypto/
H A Daesxts.h66 …const uint8_t *tweak, // this can be considered the sector IV for this…
71 …const uint8_t *tweak, // this can be considered the sector IV for this…
/xnu-8792.41.9/EXTERNAL_HEADERS/corecrypto/
H A Dccpad.h67 size_t ccpad_xts_decrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx, ccxts_tweak *tweak,
71 void ccpad_xts_encrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx, ccxts_tweak *tweak,
H A Dccmode.h382 CC_INLINE int ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, co… in ccxts_set_tweak() argument
384 return mode->set_tweak(ctx, tweak, iv); in ccxts_set_tweak()
401 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, con… in ccxts_update() argument
403 return mode->xts(ctx, tweak, nblocks, in, out); in ccxts_update()
1063 ccomac_update(const struct ccmode_omac *mode, ccomac_ctx *ctx, size_t nblocks, const void *tweak, c… in ccomac_update() argument
1065 return mode->omac(ctx, nblocks, tweak, in, out); in ccomac_update()
1072 const void *cc_sized_by(tweak_len) tweak, in ccomac_one_shot()
1081 rc = mode->omac(ctx, nblocks, tweak, in, out); in ccomac_one_shot()
H A Dccmode_impl.h153 int (*CC_SPTR(ccmode_xts, set_tweak))(const ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv);
157 …void *(*CC_SPTR(ccmode_xts, xts))(const ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, const …
232 …int (*CC_SPTR(ccmode_omac, omac))(ccomac_ctx *ctx, size_t nblocks, const void *tweak, const void *…