Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet6/ !
H A Desp_core.c332 (sav->alg_enc != SADB_X_EALG_AES_GCM) && in esp_schedule()
333 (sav->alg_enc != SADB_X_EALG_CHACHA20POLY1305)) { in esp_schedule()
421 algo = esp_algorithm_lookup(sav->alg_enc); in esp_descbc_mature()
532 algo = esp_algorithm_lookup(sav->alg_enc); in esp_cbc_mature()
546 switch (sav->alg_enc) { in esp_cbc_mature()
594 algo = esp_algorithm_lookup(sav->alg_enc); in esp_gcm_mature()
608 switch (sav->alg_enc) { in esp_gcm_mature()
620 "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-8019.80.24/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.c4346 sav->alg_enc = sa0->sadb_sa_encrypt; in key_setsaval()
4463 sav->alg_enc != SADB_EALG_NULL) { in key_setsaval()
4492 algo = esp_algorithm_lookup(sav->alg_enc); in key_setsaval()
4650 if (sav->alg_enc != SADB_EALG_NONE) { in key_mature()
4710 algo = esp_algorithm_lookup(sav->alg_enc); in key_mature()
5009 p->sadb_sa_encrypt = sav->alg_enc; in key_setsadbsa()