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

/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/
H A Dccaes.h54 //extern const struct ccmode_xts ccaes_intel_xts_encrypt_mode;
55 //extern const struct ccmode_xts ccaes_intel_xts_decrypt_mode;
57 extern const struct ccmode_xts ccaes_intel_xts_encrypt_opt_mode;
58 extern const struct ccmode_xts ccaes_intel_xts_encrypt_aesni_mode;
60 extern const struct ccmode_xts ccaes_intel_xts_decrypt_opt_mode;
61 extern const struct ccmode_xts ccaes_intel_xts_decrypt_aesni_mode;
70 const struct ccmode_xts *ccaes_xts_encrypt_mode(void);
77 const struct ccmode_xts *ccaes_xts_decrypt_mode(void);
H A Dccpad.h58 void ccpad_xts_decrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx,
62 void ccpad_xts_encrypt(const struct ccmode_xts *xts, ccxts_ctx *ctx,
H A Dccmode_factory.h67 static struct ccmode_xts xts##_cipher_##_##_dir_; \
69 const struct ccmode_xts *cc##_cipher_##_xts_##_dir_##_mode(void) \
505 void ccmode_xts_init(const struct ccmode_xts *xts, ccxts_ctx *ctx,
525 /* Use this to statically initialize a ccmode_xts object for decryption. */
536 /* Use this to statically initialize a ccmode_xts object for encryption. */
547 /* Use these function to runtime initialize a ccmode_xts decrypt object (for
552 void ccmode_factory_xts_decrypt(struct ccmode_xts *xts,
555 struct ccmode_xts xts_decrypt = CCMODE_FACTORY_XTS_DECRYPT(ecb, ecb_encrypt);
559 /* Use these function to runtime initialize a ccmode_xts encrypt object (for
564 void ccmode_factory_xts_encrypt(struct ccmode_xts *xt
[all...]
H A Dccmode_impl.h108 struct ccmode_xts { struct
115 ccmode_xts->xts().
118 void (*init)(const struct ccmode_xts *xts, ccxts_ctx *ctx,
H A Dccmode.h295 /* Declare a xts key named _name_. Pass the size field of a struct ccmode_xts
300 /* Declare a xts tweak named _name_. Pass the tweak_size field of a struct ccmode_xts
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 ccmode_factory_xts_decrypt()
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,
334 CC_INLINE void ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv)
339 CC_INLINE void *ccxts_update(const struct ccmode_xts *mod
[all...]
/darwin-on-arm/xnu/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;
/darwin-on-arm/xnu/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 34 milliseconds