Searched refs:ivlen (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | esp_core.c | 200 int ivlen; local 202 ivlen = 0; 205 if (esp_algorithms[idx]->ivlenval > ivlen) 206 ivlen = esp_algorithms[idx]->ivlenval; 209 return ivlen; 283 __unused int ivlen) 296 __unused int ivlen) 533 esp_cbc_decrypt(m, off, sav, algo, ivlen) 538 int ivlen; 554 if (ivlen ! 278 esp_null_decrypt( __unused struct mbuf *m, __unused size_t off, __unused struct secasvar *sav, __unused const struct esp_algorithm *algo, __unused int ivlen) argument 290 esp_null_encrypt( __unused struct mbuf *m, __unused size_t off, __unused size_t plen, __unused struct secasvar *sav, __unused const struct esp_algorithm *algo, __unused int ivlen) argument 759 esp_cbc_encrypt( struct mbuf *m, size_t off, __unused size_t plen, struct secasvar *sav, const struct esp_algorithm *algo, int ivlen) argument [all...] |
H A D | esp_rijndael.c | 142 esp_cbc_decrypt_aes(m, off, sav, algo, ivlen) 147 int ivlen; 161 if (ivlen != AES_BLOCKLEN) { 163 "unsupported ivlen %d\n", algo->name, ivlen)); 171 bodyoff = off + sizeof(struct esp) + ivlen; 174 bodyoff = off + sizeof(struct newesp) + ivlen; 192 m_copydata(m, ivoff, ivlen, (caddr_t) iv); 327 int ivlen) 341 if (ivlen ! 321 esp_cbc_encrypt_aes( struct mbuf *m, size_t off, __unused size_t plen, struct secasvar *sav, const struct esp_algorithm *algo, int ivlen) argument [all...] |
H A D | esp.h | 109 int (*ivlen)(const struct esp_algorithm *, struct secasvar *); member in struct:esp_algorithm
|
H A D | esp_output.c | 145 size_t ivlen; 166 ivlen = sav->ivlen; 167 if (ivlen < 0) 178 hdrsiz = sizeof(struct esp) + ivlen + maxpad; 186 hdrsiz = sizeof(struct newesp) + ivlen + maxpad + authlen; 204 * esp_max_ivlen() = max ivlen for CBC mode 228 * ivlen 250 int ivlen; local 259 KERNEL_DEBUG(DBG_FNC_ESPOUT | DBG_FUNC_START, sav->ivlen, [all...] |
H A D | esp_input.c | 176 int ivlen; local 250 /* check if we have proper ivlen information */ 251 ivlen = sav->ivlen; 252 if (ivlen < 0) { 253 ipseclog((LOG_ERR, "inproper ivlen in IPv4 ESP input: %s %s\n", 356 if (m->m_pkthdr.len < off + esplen + ivlen + sizeof(esptail)) { 363 if (m->m_len < off + esplen + ivlen) { 364 m = m_pullup(m, off + esplen + ivlen); 387 if ((*algo->decrypt)(m, off, sav, algo, ivlen)) { 736 int ivlen; local [all...] |
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | keydb.h | 90 u_int ivlen; /* length of IV */ member in struct:secasvar
|
H A D | key_debug.c | 282 printf(" { id=%d ivlen=%d min=%d max=%d }\n", 617 ipsec_hexdump(sav->iv, sav->ivlen ? sav->ivlen : 8);
|
H A D | key.c | 3739 sav->ivlen = 0; 3745 if (algo && algo->ivlen) 3746 sav->ivlen = (*algo->ivlen)(algo, sav); 3747 if (sav->ivlen == 0) 3749 KMALLOC_NOWAIT(sav->iv, caddr_t, sav->ivlen); 3752 KMALLOC_WAIT(sav->iv, caddr_t, sav->ivlen); 3762 key_randomfill(sav->iv, sav->ivlen); 3992 sav->ivlen = 0; 3997 if (algo && algo->ivlen) [all...] |
Completed in 79 milliseconds