Home
last modified time | relevance | path

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

/xnu-8020.121.3/EXTERNAL_HEADERS/corecrypto/
H A Dccaes.h38 extern const struct ccmode_xts ccaes_arm_xts_encrypt_mode;
39 extern const struct ccmode_xts ccaes_arm_xts_decrypt_mode;
77 extern const struct ccmode_xts ccaes_intel_xts_encrypt_opt_mode;
78 extern const struct ccmode_xts ccaes_intel_xts_encrypt_aesni_mode;
80 extern const struct ccmode_xts ccaes_intel_xts_decrypt_opt_mode;
81 extern const struct ccmode_xts ccaes_intel_xts_decrypt_aesni_mode;
99 const struct ccmode_xts *ccaes_xts_encrypt_mode(void);
107 const struct ccmode_xts *ccaes_xts_decrypt_mode(void);
H A Dccmode_impl.h126 struct ccmode_xts { struct
137 int (*CC_SPTR(ccmode_xts, init))(const struct ccmode_xts *xts, argument
143 void (*CC_SPTR(ccmode_xts, key_sched))(const struct ccmode_xts *xts,
150 int (*CC_SPTR(ccmode_xts, set_tweak))(const ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv);
154 …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.h329 CC_INLINE size_t ccxts_context_size(const struct ccmode_xts *mode) in ccxts_context_size()
334 CC_INLINE size_t ccxts_block_size(const struct ccmode_xts *mode) in ccxts_block_size()
354 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, size_t key_nbytes, const void *data_key, … in ccxts_init()
370 CC_INLINE int ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, co… in ccxts_set_tweak()
389 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, con… in ccxts_update()
411 int ccxts_one_shot(const struct ccmode_xts *mode,
/xnu-8020.121.3/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-8020.121.3/libkern/libkern/crypto/
H A Dregister_crypto.h139 const struct ccmode_xts *ccaes_xts_encrypt;
140 const struct ccmode_xts *ccaes_xts_decrypt;