| /xnu-11215/bsd/netinet6/ |
| H A D | esp_rijndael.c | 92 ccgcm_ctx *encrypt; member 734 rc = aes_encrypt_reset_gcm(ctx->encrypt); in esp_gcm_schedule() 817 if (aes_encrypt_reset_gcm(ctx->encrypt)) { in esp_gcm_encrypt_aes() 908 if (aes_encrypt_gcm(sp, len, sp, ctx->encrypt)) { in esp_gcm_encrypt_aes() 914 if (aes_encrypt_aad_gcm(sp, len, ctx->encrypt)) { in esp_gcm_encrypt_aes() 1127 sizeof(nonce), ctx->encrypt)) != 0)) { in esp_aes_gcm_encrypt_data() 1139 ctx->encrypt)) != 0)) { in esp_aes_gcm_encrypt_data() 1151 sizeof(*esp_hdr), ctx->encrypt)) != 0)) { in esp_aes_gcm_encrypt_data() 1160 ESP_GCM_SALT_LEN, ESP_GCM_IVLEN, ctx->encrypt)) != 0)) { in esp_aes_gcm_encrypt_data() 1172 ctx->encrypt)) != 0)) { in esp_aes_gcm_encrypt_data() [all …]
|
| H A D | esp.h | 133 int (*encrypt)(struct mbuf *, size_t, size_t, member
|
| H A D | esp_core.c | 191 .encrypt = esp_cbc_encrypt, 212 .encrypt = esp_cbc_encrypt, 233 .encrypt = esp_null_encrypt, 254 .encrypt = esp_cbc_encrypt_aes, 275 .encrypt = esp_gcm_encrypt_aes, 296 .encrypt = esp_chachapoly_encrypt,
|
| H A D | esp_output.c | 773 if (!algo->encrypt) { in esp_output() 777 if ((*algo->encrypt)(m, espoff, plen + extendsiz, sav, algo, ivlen)) { in esp_output()
|
| /xnu-11215/libkern/libkern/crypto/ |
| H A D | des.h | 70 int des_ecb_encrypt(des_cblock * in, des_cblock *out, des_ecb_key_schedule *ks, int encrypt); 74 int des3_ecb_encrypt(des_cblock *block, des_cblock *, des3_ecb_key_schedule *ks, int encrypt);
|
| H A D | aes.h | 60 aes_encrypt_ctx encrypt; member
|
| H A D | register_crypto.h | 80 …int (*encrypt)(const struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, size_t nby… member
|
| /xnu-11215/libkern/crypto/ |
| H A D | corecrypto_chacha20poly1305.c | 78 return fns()->encrypt(info(), ctx, nbytes, ptext, ctext); in chacha20poly1305_encrypt()
|
| /xnu-11215/iokit/DriverKit/crypto/ |
| H A D | aes.h | 60 aes_encrypt_ctx encrypt; member
|
| /xnu-11215/bsd/nfs/gss/ |
| H A D | gss_krb5_mech.c | 554 do_crypt_init(crypt_walker_ctx_t wctx, int encrypt, crypto_ctx_t cctx, cccbc_ctx *ks) in do_crypt_init() argument 558 wctx->ccmode = encrypt ? cctx->enc_mode : cctx->dec_mode; in do_crypt_init() 718 krb5_crypt_mbuf(crypto_ctx_t ctx, mbuf_t *mbp, size_t len, int encrypt, cccbc_ctx *ks) in krb5_crypt_mbuf() argument 721 const struct ccmode_cbc *ccmode = encrypt ? ctx->enc_mode : ctx->dec_mode; in krb5_crypt_mbuf() 736 ks = encrypt ? ctx->ks.enc : ctx->ks.dec; in krb5_crypt_mbuf() 786 do_crypt_init(&wctx, encrypt, ctx, ks); in krb5_crypt_mbuf() 796 ccpad_func do_ccpad = encrypt ? ccpad_cts3_encrypt : ccpad_cts3_decrypt; in krb5_crypt_mbuf() 1361 krb5_cfx_crypt_mbuf(crypto_ctx_t ctx, mbuf_t *mbp, size_t *len, int encrypt, int reverse) in krb5_cfx_crypt_mbuf() argument 1363 const struct ccmode_cbc *ccmode = encrypt ? ctx->enc_mode : ctx->dec_mode; in krb5_cfx_crypt_mbuf() 1375 if (encrypt) { in krb5_cfx_crypt_mbuf()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOPolledInterface.cpp | 980 &cryptvars->ctx.encrypt); in IOPolledFileWrite()
|
| H A D | IOHibernateIO.cpp | 1735 &cryptvars->ctx.encrypt); in hibernate_write_image() 1747 &cryptvars->ctx.encrypt); in hibernate_write_image()
|