Home
last modified time | relevance | path

Searched refs:alg_enc (Results 1 – 7 of 7) sorted by relevance

/xnu-8020.121.3/bsd/netinet6/
H A Desp_core.c336 (sav->alg_enc != SADB_X_EALG_AES_GCM) && in esp_schedule()
337 (sav->alg_enc != SADB_X_EALG_CHACHA20POLY1305)) { in esp_schedule()
425 algo = esp_algorithm_lookup(sav->alg_enc); in esp_descbc_mature()
536 algo = esp_algorithm_lookup(sav->alg_enc); in esp_cbc_mature()
550 switch (sav->alg_enc) { in esp_cbc_mature()
598 algo = esp_algorithm_lookup(sav->alg_enc); in esp_gcm_mature()
612 switch (sav->alg_enc) { in esp_gcm_mature()
624 "esp_gcm_mature %s: invalid algo %d.\n", algo->name, sav->alg_enc)); in esp_gcm_mature()
H A Desp_chachapoly.c109 if (sav->alg_enc != SADB_X_EALG_CHACHA20POLY1305) { in esp_chachapoly_mature()
111 sav->alg_enc, ntohl(sav->spi)); in esp_chachapoly_mature()
121 algo = esp_algorithm_lookup(sav->alg_enc); in esp_chachapoly_mature()
124 sav->alg_enc, ntohl(sav->spi)); in esp_chachapoly_mature()
H A Desp_output.c158 algo = esp_algorithm_lookup(sav->alg_enc); in esp_hdrsiz()
334 algo = esp_algorithm_lookup(sav->alg_enc); in esp_output()
926 stat->out_esphist[sav->alg_enc]++; in esp_output()
H A Desp_input.c293 algo = esp_algorithm_lookup(sav->alg_enc); in esp4_input_extended()
470 IPSEC_STAT_INCREMENT(ipsecstat.in_esphist[sav->alg_enc]); in esp4_input_extended()
1003 algo = esp_algorithm_lookup(sav->alg_enc); in esp6_input_extended()
1176 IPSEC_STAT_INCREMENT(ipsec6stat.in_esphist[sav->alg_enc]); in esp6_input_extended()
/xnu-8020.121.3/bsd/netkey/
H A Dkeydb.h86 u_int8_t alg_enc; /* Cipher Algorithm Identifier */ member
H A Dkey_debug.c624 sav->refcnt, sav->state, sav->alg_auth, sav->alg_enc);
H A Dkey.c4290 sav->alg_enc = sa0->sadb_sa_encrypt; in key_setsaval()
4410 sav->alg_enc != SADB_EALG_NULL) { in key_setsaval()
4434 algo = esp_algorithm_lookup(sav->alg_enc); in key_setsaval()
4580 if (sav->alg_enc != SADB_EALG_NONE) { in key_mature()
4640 algo = esp_algorithm_lookup(sav->alg_enc); in key_mature()
4939 p->sadb_sa_encrypt = sav->alg_enc; in key_setsadbsa()