/darwin-on-arm/xnu/libkern/libkern/crypto/ |
H A D | des.h | 82 void des_ecb_encrypt(des_cblock *in, des_cblock *out, des_ecb_key_schedule *ks, int encrypt); 86 void des3_ecb_encrypt(des_cblock *block, des_cblock *, des3_ecb_key_schedule *ks, int encrypt); 91 des_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt); 96 des3_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt);
|
H A D | aes.h | 57 aes_encrypt_ctx encrypt; member in struct:__anon811
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | esp.h | 112 int (*encrypt)(struct mbuf *, size_t, size_t, member in struct:esp_algorithm
|
H A D | esp_rijndael.c | 107 aes_encrypt_key((const unsigned char *) _KEYBUF(sav->key_enc), _KEYLEN(sav->key_enc), &ctx->encrypt); 113 /* The following 2 functions decrypt or encrypt the contents of 455 /* encrypt */ 474 (aes_encrypt_ctx*)(&(((aes_ctx*)sav->sched)->encrypt)));
|
H A D | esp_output.c | 701 * encrypt the packet, based on security association 704 if (!algo->encrypt) 705 panic("internal error: no encrypt function"); 707 if ((*algo->encrypt)(m, espoff, plen + extendsiz, sav, algo, ivlen)) {
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_des.c | 113 des_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) 115 const struct ccmode_cbc *cbc = encrypt?g_crypto_funcs->ccdes_cbc_encrypt:g_crypto_funcs->ccdes_cbc_decrypt; 116 cccbc_ctx *ctx = encrypt ? ks->enc : ks->dec; 154 des3_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) 156 const struct ccmode_cbc *cbc = encrypt?g_crypto_funcs->cctdes_cbc_encrypt:g_crypto_funcs->cctdes_cbc_decrypt; 157 cccbc_ctx *ctx = encrypt ? ks->enc : ks->dec; 112 des_cbc_encrypt(des_cblock *in, des_cblock *out, int32_t length, des_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) argument 153 des3_cbc_encrypt(des_cblock *in, des_cblock *out, int32_t length, des3_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) argument
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_gss.c | 572 * Now we may have to compute integrity or encrypt the call args 646 /* Finally, encrypt the args */ 2354 * checksum and/or encrypt. When we're done, we join the chains back 2954 * We DES CBC encrypt the sequence number using the first 3297 int encrypt) 3322 /* At or beyond offset - encrypt data */ 3328 * DES or DES3 CBC has to encrypt 8 bytes at a time. 3330 * mbuf isn't some multiple of 8 bytes, encrypt all 3333 * an 8 byte block and encrypt that block separately, 3341 left, &ivec, &ivec, encrypt, KG_USAGE_SEA local 3292 nfs_gss_encrypt_mchain( gss_key_info *ki, mbuf_t mhead, int offset, int len, int encrypt) argument 3351 &ivec, &ivec, encrypt, KG_USAGE_SEAL); local 3363 nfs_gss_encrypt_chain( gss_key_info *ki, struct nfsm_chain *nmc, int offset, int len, int encrypt) argument 3422 gss_des_crypt(gss_key_info *ki, des_cblock *in, des_cblock *out, int32_t len, des_cblock *iv, des_cblock *retiv, int encrypt, int usage) argument [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOHibernateIO.cpp | 945 // encrypt the buffer 950 &cryptvars->ctx.encrypt); 2111 &cryptvars->ctx.encrypt); 2123 &cryptvars->ctx.encrypt);
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_pageout.c | 3526 * We'll actually encrypt the pages later, 5931 * here. We won't encrypt the pages. 6634 * virtaul address space each time we need to encrypt or decrypt 6636 * It would be nice to be able to encrypt and decrypt in physical 6952 * have a different one for each page we encrypt, so that 6992 &swap_crypt_ctx.encrypt); 7008 /* encrypt */ 7013 &swap_crypt_ctx.encrypt); 7028 /* encrypt again */ 7033 &swap_crypt_ctx.encrypt); [all...] |