Searched refs:ccmode_xts (Results 1 - 7 of 7) sorted by relevance

/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/
H A Dccaes.h62 //extern const struct ccmode_xts ccaes_intel_xts_encrypt_mode;
63 //extern const struct ccmode_xts ccaes_intel_xts_decrypt_mode;
65 extern const struct ccmode_xts ccaes_intel_xts_encrypt_opt_mode;
66 extern const struct ccmode_xts ccaes_intel_xts_encrypt_aesni_mode;
68 extern const struct ccmode_xts ccaes_intel_xts_decrypt_opt_mode;
69 extern const struct ccmode_xts ccaes_intel_xts_decrypt_aesni_mode;
78 const struct ccmode_xts *ccaes_xts_encrypt_mode(void);
86 const struct ccmode_xts *ccaes_xts_decrypt_mode(void);
H A Dccpad.h66 void ccpad_xts_decrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx, ccxts_tweak *tweak,
70 void ccpad_xts_encrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx, ccxts_tweak *tweak,
H A Dccmode_impl.h100 struct ccmode_xts { struct
107 ccmode_xts->xts().
110 void (*init)(const struct ccmode_xts *xts, ccxts_ctx *ctx,
H A Dccmode_factory.h70 static struct ccmode_xts xts##_cipher_##_##_dir_; \
72 const struct ccmode_xts *cc##_cipher_##_xts_##_dir_##_mode(void) \
601 void ccmode_xts_init(const struct ccmode_xts *xts, ccxts_ctx *ctx,
626 /* Use this to statically initialize a ccmode_xts object for decryption. */
638 /* Use this to statically initialize a ccmode_xts object for encryption. */
650 /* Use these function to runtime initialize a ccmode_xts decrypt object (for
655 void ccmode_factory_xts_decrypt(struct ccmode_xts *xts,
658 struct ccmode_xts xts_decrypt = CCMODE_FACTORY_XTS_DECRYPT(ecb, ecb_encrypt);
662 /* Use these function to runtime initialize a ccmode_xts encrypt object (for
667 void ccmode_factory_xts_encrypt(struct ccmode_xts *xt
[all...]
H A Dccmode.h295 /* Declare a xts key named _name_. Pass the size field of a struct ccmode_xts
301 struct ccmode_xts for _size_. */
307 Alternatively you can create a ccmode_xts instance from any ccmode_ecb
308 cipher. To do so, statically initialize a struct ccmode_xts using the
310 you can dynamically initialize a struct ccmode_xts
318 CC_INLINE size_t ccxts_context_size(const struct ccmode_xts *mode)
323 CC_INLINE unsigned long ccxts_block_size(const struct ccmode_xts *mode)
328 CC_INLINE void ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx,
335 CC_INLINE void ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx,
341 CC_INLINE void *ccxts_update(const struct ccmode_xts *mod
[all...]
/xnu-2782.1.97/libkern/crypto/
H A Dcorecrypto_aesxts.c49 const struct ccmode_xts *enc, *dec;
75 const struct ccmode_xts *xtsenc = g_crypto_funcs->ccaes_xts_encrypt;
91 const struct ccmode_xts *xtsdec = g_crypto_funcs->ccaes_xts_decrypt;
/xnu-2782.1.97/libkern/libkern/crypto/
H A Dregister_crypto.h76 typedef void (*ccpad_xts_decrypt_fn_t)(const struct ccmode_xts *xts, ccxts_ctx *ctx,
79 typedef void (*ccpad_xts_encrypt_fn_t)(const struct ccmode_xts *xts, ccxts_ctx *ctx,
108 const struct ccmode_xts *ccaes_xts_encrypt;
109 const struct ccmode_xts *ccaes_xts_decrypt;

Completed in 29 milliseconds