Home
last modified time | relevance | path

Searched refs:ccmode_xts (Results 1 – 6 of 6) sorted by relevance

/xnu-8796.121.2/EXTERNAL_HEADERS/corecrypto/
H A Dccaes.h40 extern const struct ccmode_xts ccaes_arm_xts_encrypt_mode;
41 extern const struct ccmode_xts ccaes_arm_xts_decrypt_mode;
79 extern const struct ccmode_xts ccaes_intel_xts_encrypt_opt_mode;
80 extern const struct ccmode_xts ccaes_intel_xts_encrypt_aesni_mode;
82 extern const struct ccmode_xts ccaes_intel_xts_decrypt_opt_mode;
83 extern const struct ccmode_xts ccaes_intel_xts_decrypt_aesni_mode;
101 const struct ccmode_xts *ccaes_xts_encrypt_mode(void);
109 const struct ccmode_xts *ccaes_xts_decrypt_mode(void);
H A Dccmode_impl.h129 struct ccmode_xts { struct
140 int (*CC_SPTR(ccmode_xts, init))(const struct ccmode_xts *xts, argument
146 void (*CC_SPTR(ccmode_xts, key_sched))(const struct ccmode_xts *xts,
153 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 …
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.h341 CC_INLINE size_t ccxts_context_size(const struct ccmode_xts *mode) in ccxts_context_size()
346 CC_INLINE size_t ccxts_block_size(const struct ccmode_xts *mode) in ccxts_block_size()
366 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, size_t key_nbytes, const void *cc_sized_b… in ccxts_init()
382 CC_INLINE int ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, co… 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()
423 int ccxts_one_shot(const struct ccmode_xts *mode,
/xnu-8796.121.2/libkern/crypto/
H A Dcorecrypto_aesxts.c49 const struct ccmode_xts *enc, *dec; in xts_start()
79 const struct ccmode_xts *xtsenc = g_crypto_funcs->ccaes_xts_encrypt; in xts_encrypt()
101 const struct ccmode_xts *xtsdec = g_crypto_funcs->ccaes_xts_decrypt; in xts_decrypt()
/xnu-8796.121.2/libkern/libkern/crypto/
H A Dregister_crypto.h227 const struct ccmode_xts *ccaes_xts_encrypt;
228 const struct ccmode_xts *ccaes_xts_decrypt;