Home
last modified time | relevance | path

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

/xnu-8792.81.2/libkern/crypto/
H A Dcorecrypto_aes.c137 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_key_gcm()
148 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_key_with_iv_gcm()
159 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_set_iv_gcm()
170 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_reset_gcm()
181 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_inc_iv_gcm()
192 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_aad_gcm()
204 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_gcm()
215 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_encrypt; in aes_encrypt_finalize_gcm()
231 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_decrypt; in aes_decrypt_key_gcm()
242 const struct ccmode_gcm *gcm = g_crypto_funcs->ccaes_gcm_decrypt; in aes_decrypt_key_with_iv_gcm()
[all …]
/xnu-8792.81.2/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_impl.h169 struct ccmode_gcm { struct
173 …int (*CC_SPTR(ccmode_gcm, init))(const struct ccmode_gcm *gcm, ccgcm_ctx *ctx, size_t key_nbytes, … argument
174 int (*CC_SPTR(ccmode_gcm, set_iv))(ccgcm_ctx *ctx, size_t iv_nbytes, const void *iv);
175 …int (*CC_SPTR(ccmode_gcm, gmac))(ccgcm_ctx *ctx, size_t nbytes, const void *in); // could just be …
176 int (*CC_SPTR(ccmode_gcm, gcm))(ccgcm_ctx *ctx, size_t nbytes, const void *in, void *out);
177 int (*CC_SPTR(ccmode_gcm, finalize))(ccgcm_ctx *key, size_t tag_nbytes, void *tag);
178 int (*CC_SPTR(ccmode_gcm, reset))(ccgcm_ctx *ctx);
H A Dccmode.h450 CC_INLINE size_t ccgcm_context_size(const struct ccmode_gcm *mode) in ccgcm_context_size()
455 CC_INLINE size_t ccgcm_block_size(const struct ccmode_gcm *mode) in ccgcm_block_size()
494 CC_INLINE int ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t key_nbytes, const vo… in ccgcm_init()
538 int ccgcm_init_with_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t key_nbytes, const void…
566 CC_INLINE int ccgcm_set_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t iv_nbytes, const v… in ccgcm_set_iv()
588 int ccgcm_set_iv_legacy(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t iv_nbytes, const void…
610 int ccgcm_inc_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, void *cc_unsafe_indexable iv);
627 CC_INLINE int ccgcm_aad(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void *c… in ccgcm_aad()
637 CC_INLINE int ccgcm_gmac (const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void … in ccgcm_gmac()
659 CC_INLINE int ccgcm_update(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void… in ccgcm_update()
[all …]
H A Dccaes.h102 const struct ccmode_gcm *ccaes_gcm_encrypt_mode(void);
110 const struct ccmode_gcm *ccaes_gcm_decrypt_mode(void);
/xnu-8792.81.2/libkern/libkern/crypto/
H A Dregister_crypto.h68 typedef int (*ccgcm_init_with_iv_fn_t)(const struct ccmode_gcm *mode, ccgcm_ctx *ctx,
71 typedef int (*ccgcm_inc_iv_fn_t)(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, void *iv);
229 const struct ccmode_gcm *ccaes_gcm_encrypt;
230 const struct ccmode_gcm *ccaes_gcm_decrypt;