Searched refs:cx (Results 1 – 7 of 7) sorted by relevance
| /xnu-8792.41.9/libkern/crypto/ |
| H A D | corecrypto_aes.c | 36 aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]) in aes_encrypt_key() 45 return cccbc_init(cbc, cx[0].ctx, key_len, key); in aes_encrypt_key() 50 unsigned char *out_blk, aes_encrypt_ctx cx[1]) in aes_encrypt_cbc() 60 return cccbc_update(cbc, cx[0].ctx, ctx_iv, num_blk, in_blk, out_blk); //Actually cbc encrypt. in aes_encrypt_cbc() 66 aes_encrypt(const unsigned char *in_blk, unsigned char *out_blk, aes_encrypt_ctx cx[1]) in aes_encrypt() 68 return aes_encrypt_cbc(in_blk, NULL, 1, out_blk, cx); in aes_encrypt() 73 aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]) in aes_decrypt_key() 82 return cccbc_init(cbc, cx[0].ctx, key_len, key); in aes_decrypt_key() 87 unsigned char *out_blk, aes_decrypt_ctx cx[1]) in aes_decrypt_cbc() 97 return cccbc_update(cbc, cx[0].ctx, ctx_iv, num_blk, in_blk, out_blk); //Actually cbc decrypt. in aes_decrypt_cbc() [all …]
|
| /xnu-8792.41.9/libkern/libkern/crypto/ |
| H A D | aes.h | 75 aes_rval aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]); 76 aes_rval aes_encrypt_key128(const unsigned char *key, aes_encrypt_ctx cx[1]); 77 aes_rval aes_encrypt_key256(const unsigned char *key, aes_encrypt_ctx cx[1]); 80 aes_rval aes_encrypt(const unsigned char *in, unsigned char *out, aes_encrypt_ctx cx[1]); 84 unsigned char *out_blk, aes_encrypt_ctx cx[1]); 87 aes_rval aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]); 88 aes_rval aes_decrypt_key128(const unsigned char *key, aes_decrypt_ctx cx[1]); 89 aes_rval aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1]); 92 aes_rval aes_decrypt(const unsigned char *in, unsigned char *out, aes_decrypt_ctx cx[1]); 96 unsigned char *out_blk, aes_decrypt_ctx cx[1]);
|
| /xnu-8792.41.9/iokit/DriverKit/crypto/ |
| H A D | aes.h | 75 aes_rval aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]); 76 aes_rval aes_encrypt_key128(const unsigned char *key, aes_encrypt_ctx cx[1]); 77 aes_rval aes_encrypt_key256(const unsigned char *key, aes_encrypt_ctx cx[1]); 80 aes_rval aes_encrypt(const unsigned char *in, unsigned char *out, aes_encrypt_ctx cx[1]); 84 unsigned char *out_blk, aes_encrypt_ctx cx[1]); 87 aes_rval aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]); 88 aes_rval aes_decrypt_key128(const unsigned char *key, aes_decrypt_ctx cx[1]); 89 aes_rval aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1]); 92 aes_rval aes_decrypt(const unsigned char *in, unsigned char *out, aes_decrypt_ctx cx[1]); 96 unsigned char *out_blk, aes_decrypt_ctx cx[1]);
|
| /xnu-8792.41.9/bsd/dev/i386/ |
| H A D | fasttrap_isa.c | 1248 greg_t cx = regs32->ecx--; in fasttrap_pid_probe32() local 1253 cx != 0; in fasttrap_pid_probe32() 1257 cx != 0; in fasttrap_pid_probe32() 1260 taken = (cx != 0); in fasttrap_pid_probe32() 1275 greg_t cx = regs32->ecx; in fasttrap_pid_probe32() local 1277 if (cx == 0) in fasttrap_pid_probe32() 1794 uint64_t cx = regs64->rcx--; in fasttrap_pid_probe64() local 1799 cx != 0; in fasttrap_pid_probe64() 1803 cx != 0; in fasttrap_pid_probe64() 1806 taken = (cx != 0); in fasttrap_pid_probe64() [all …]
|
| H A D | cpu_copy_in_cksum.s | 547 movzwl %cx, %eax
|
| /xnu-8792.41.9/osfmk/x86_64/ |
| H A D | locore.s | 238 movw (%rdi), %cx 241 movw %cx, (%rsi)
|
| /xnu-8792.41.9/bsd/net/ |
| H A D | pf.c | 2053 union pf_rule_xport *cx = &cur->src.xport; in pf_calc_skip_steps() local 2064 cx->range.op != px->range.op || in pf_calc_skip_steps() 2065 cx->range.port[0] != px->range.port[0] || in pf_calc_skip_steps() 2066 cx->range.port[1] != px->range.port[1]) { in pf_calc_skip_steps() 2077 union pf_rule_xport *cx = &cur->dst.xport; in pf_calc_skip_steps() local 2083 cx->call_id != px->call_id) { in pf_calc_skip_steps() 2089 cx->spi != px->spi) { in pf_calc_skip_steps() 2096 cx->range.op != px->range.op || in pf_calc_skip_steps() 2097 cx->range.port[0] != px->range.port[0] || in pf_calc_skip_steps() 2098 cx->range.port[1] != px->range.port[1]) { in pf_calc_skip_steps()
|