Searched refs:sn (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.81.4/bsd/netinet6/ |
| H A D | esp_rijndael.c | 157 int sn, dn; /* offset from the head of the mbuf, to meat */ in esp_cbc_decrypt_aes() local 203 soff = sn = dn = 0; in esp_cbc_decrypt_aes() 210 sn = (int)(bodyoff - soff); in esp_cbc_decrypt_aes() 218 scutoff = sn; in esp_cbc_decrypt_aes() 227 if (sn + AES_BLOCKLEN <= s->m_len) { in esp_cbc_decrypt_aes() 229 sp = mtod(s, u_int8_t *) + sn; in esp_cbc_decrypt_aes() 230 len = s->m_len - sn; in esp_cbc_decrypt_aes() 234 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); in esp_cbc_decrypt_aes() 245 i = m->m_pkthdr.len - (soff + sn); in esp_cbc_decrypt_aes() 329 sn += len; in esp_cbc_decrypt_aes() [all …]
|
| H A D | esp_core.c | 773 int sn, dn; /* offset from the head of the mbuf, to meat */ in esp_cbc_decrypt() local 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() 891 if (sn + blocklen <= s->m_len) { in esp_cbc_decrypt() 893 sp = mtod(s, u_int8_t *) + sn; in esp_cbc_decrypt() 896 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_decrypt() 906 i = m->m_pkthdr.len - (soff + sn); in esp_cbc_decrypt() 974 sn += blocklen; in esp_cbc_decrypt() 978 while (s && sn >= s->m_len) { in esp_cbc_decrypt() [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-12377.81.4/tests/ |
| H A D | turnstile_multihop_types.h | 19 typedef s64 sn; typedef 22 typedef s32 sn; typedef
|
| /xnu-12377.81.4/bsd/net/ |
| H A D | pf.c | 1354 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, in pf_insert_src_node() argument 1359 if (*sn == NULL) { in pf_insert_src_node() 1369 *sn = RB_FIND(pf_src_tree, &tree_src_tracking, &k); in pf_insert_src_node() 1371 if (*sn == NULL) { in pf_insert_src_node() 1374 (*sn) = pool_get(&pf_src_tree_pl, PR_WAITOK); in pf_insert_src_node() 1378 if ((*sn) == NULL) { in pf_insert_src_node() 1381 bzero(*sn, sizeof(struct pf_src_node)); in pf_insert_src_node() 1383 pf_init_threshold(&(*sn)->conn_rate, in pf_insert_src_node() 1387 (*sn)->af = af; in pf_insert_src_node() 1390 (*sn)->rule.ptr = rule; in pf_insert_src_node() [all …]
|
| H A D | pf_ioctl.c | 2470 struct pf_src_node *sn; in pf_expire_states_and_src_nodes() local 2484 RB_FOREACH(sn, pf_src_tree, &tree_src_tracking) { in pf_expire_states_and_src_nodes() 2485 if (sn->rule.ptr != rule) { in pf_expire_states_and_src_nodes() 2488 if (sn->states != 0) { in pf_expire_states_and_src_nodes() 2491 if (state->src_node == sn) { in pf_expire_states_and_src_nodes() 2494 if (state->nat_src_node == sn) { in pf_expire_states_and_src_nodes() 2498 sn->states = 0; in pf_expire_states_and_src_nodes() 2500 sn->expire = 1; in pf_expire_states_and_src_nodes() 4492 struct pf_src_node *sn; in pfioctl_ioc_src_node_kill() local 4496 RB_FOREACH(sn, pf_src_tree, &tree_src_tracking) { in pfioctl_ioc_src_node_kill() [all …]
|
| /xnu-12377.81.4/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,…
|