Searched refs:sn (Results 1 – 7 of 7) sorted by relevance
| /xnu-11215/bsd/netinet6/ |
| H A D | esp_rijndael.c | 203 soff = sn = dn = 0; in esp_cbc_decrypt_aes() 218 scutoff = sn; in esp_cbc_decrypt_aes() 230 len = s->m_len - sn; in esp_cbc_decrypt_aes() 329 sn += len; in esp_cbc_decrypt_aes() 337 sn -= s->m_len; in esp_cbc_decrypt_aes() 420 soff = sn = dn = 0; in esp_cbc_encrypt_aes() 435 scutoff = sn; in esp_cbc_encrypt_aes() 557 sn += len; in esp_cbc_encrypt_aes() 565 sn -= s->m_len; in esp_cbc_encrypt_aes() 922 sn = 0; in esp_gcm_encrypt_aes() [all …]
|
| H A D | esp_core.c | 863 soff = doff = sn = dn = 0; in esp_cbc_decrypt() 869 sn = (int)(bodyoff - soff); in esp_cbc_decrypt() 877 scutoff = sn; in esp_cbc_decrypt() 974 sn += blocklen; in esp_cbc_decrypt() 978 while (s && sn >= s->m_len) { in esp_cbc_decrypt() 979 sn -= s->m_len; in esp_cbc_decrypt() 1108 soff = doff = sn = dn = 0; in esp_cbc_encrypt() 1114 sn = (int)(bodyoff - soff); in esp_cbc_encrypt() 1122 scutoff = sn; in esp_cbc_encrypt() 1214 sn += blocklen; in esp_cbc_encrypt() [all …]
|
| H A D | esp_chachapoly.c | 253 int32_t sn = 0; // offset from the head of this mbuf (s) to the body in esp_chachapoly_encrypt() local 353 sn = bodyoff - soff; in esp_chachapoly_encrypt() 363 if ((len = (size_t)(s->m_len - sn)) != 0) { in esp_chachapoly_encrypt() 364 sp = mtod(s, uint8_t *) + sn; in esp_chachapoly_encrypt() 376 sn = 0; in esp_chachapoly_encrypt() 398 int32_t sn = 0; // offset from the head of this mbuf (s) to the body in esp_chachapoly_decrypt() local 485 sn = bodyoff - soff; in esp_chachapoly_decrypt() 495 if ((len = (size_t)(s->m_len - sn)) != 0) { in esp_chachapoly_decrypt() 496 sp = mtod(s, uint8_t *) + sn; in esp_chachapoly_decrypt() 508 sn = 0; in esp_chachapoly_decrypt()
|
| /xnu-11215/tests/ |
| H A D | turnstile_multihop_types.h | 19 typedef s64 sn; typedef 22 typedef s32 sn; typedef
|
| /xnu-11215/bsd/net/ |
| H A D | pf.c | 1356 if (*sn == NULL) { in pf_insert_src_node() 1368 if (*sn == NULL) { in pf_insert_src_node() 1375 if ((*sn) == NULL) { in pf_insert_src_node() 1384 (*sn)->af = af; in pf_insert_src_node() 1387 (*sn)->rule.ptr = rule; in pf_insert_src_node() 1389 (*sn)->rule.ptr = NULL; in pf_insert_src_node() 3331 if (*sn != NULL && !PF_AZERO(&(*sn)->raddr, rpool->af)) { in pf_map_addr() 3504 if (*sn != NULL) { in pf_map_addr() 5835 if (sn != NULL && sn->states == 0 && sn->expire == 0) { in pf_test_rule() 5941 if (sn != NULL) { in pf_test_rule() [all …]
|
| H A D | pf_ioctl.c | 2469 struct pf_src_node *sn; in pf_expire_states_and_src_nodes() local 2484 if (sn->rule.ptr != rule) { in pf_expire_states_and_src_nodes() 2487 if (sn->states != 0) { in pf_expire_states_and_src_nodes() 2497 sn->states = 0; in pf_expire_states_and_src_nodes() 2499 sn->expire = 1; in pf_expire_states_and_src_nodes() 4491 struct pf_src_node *sn; in pfioctl_ioc_src_node_kill() local 4499 &sn->addr, sn->af) && in pfioctl_ioc_src_node_kill() 4503 &sn->raddr, sn->af)) { in pfioctl_ioc_src_node_kill() 4505 if (sn->states != 0) { in pfioctl_ioc_src_node_kill() 4515 sn->states = 0; in pfioctl_ioc_src_node_kill() [all …]
|
| /xnu-11215/osfmk/corecrypto/ |
| H A D | ccn_internal.h | 335 …ws_t ws, cc_size rn, cc_unit *cc_counted_by(rn) r, cc_size sn, const cc_unit *cc_counted_by(sn) s,…
|