Home
last modified time | relevance | path

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

/xnu-10002.41.9/bsd/netinet6/
H A Desp_chachapoly.c90 if (sav->alg_enc != SADB_X_EALG_CHACHA20POLY1305) { in esp_chachapoly_mature()
92 sav->alg_enc, ntohl(sav->spi)); in esp_chachapoly_mature()
102 algo = esp_algorithm_lookup(sav->alg_enc); in esp_chachapoly_mature()
105 sav->alg_enc, ntohl(sav->spi)); in esp_chachapoly_mature()
H A Desp_core.c361 (sav->alg_enc != SADB_X_EALG_AES_GCM) && in esp_schedule()
362 (sav->alg_enc != SADB_X_EALG_CHACHA20POLY1305)) { in esp_schedule()
470 algo = esp_algorithm_lookup(sav->alg_enc); in esp_descbc_mature()
581 algo = esp_algorithm_lookup(sav->alg_enc); in esp_cbc_mature()
595 switch (sav->alg_enc) { in esp_cbc_mature()
643 algo = esp_algorithm_lookup(sav->alg_enc); in esp_gcm_mature()
657 switch (sav->alg_enc) { in esp_gcm_mature()
670 "esp_gcm_mature %s: invalid algo %d.\n", algo->name, sav->alg_enc)); in esp_gcm_mature()
H A Desp_output.c162 algo = esp_algorithm_lookup(sav->alg_enc); in esp_hdrsiz()
338 algo = esp_algorithm_lookup(sav->alg_enc); in esp_output()
930 IPSEC_STAT_INCREMENT(stat->out_esphist[sav->alg_enc]); in esp_output()
1067 e_algo = esp_algorithm_lookup(sav->alg_enc); in esp_kpipe_output()
1256 IPSEC_STAT_INCREMENT(stat->out_esphist[sav->alg_enc]); in esp_kpipe_output()
H A Desp_rijndael.c683 const bool gmac_only = (sav->alg_enc == SADB_X_EALG_AES_GMAC); in esp_gcm_schedule()
777 const bool gmac_only = (sav->alg_enc == SADB_X_EALG_AES_GMAC); in esp_gcm_encrypt_aes()
936 const bool gmac_only = (sav->alg_enc == SADB_X_EALG_AES_GMAC); in esp_gcm_decrypt_aes()
1078 const bool gmac_only = (sav->alg_enc == SADB_X_EALG_AES_GMAC); in esp_aes_gcm_encrypt_data()
1187 const bool gmac_only = (sav->alg_enc == SADB_X_EALG_AES_GMAC); in esp_aes_gcm_decrypt_data()
H A Desp_input.c297 algo = esp_algorithm_lookup(sav->alg_enc); in esp4_input_extended()
484 IPSEC_STAT_INCREMENT(ipsecstat.in_esphist[sav->alg_enc]); in esp4_input_extended()
1015 algo = esp_algorithm_lookup(sav->alg_enc); in esp6_input_extended()
1198 IPSEC_STAT_INCREMENT(ipsec6stat.in_esphist[sav->alg_enc]); in esp6_input_extended()
1907 e_algo = esp_algorithm_lookup(sav->alg_enc); in esp_kpipe_input()
1910 sav->alg_enc, ntohl(sav->spi)); in esp_kpipe_input()
2007 IPSEC_STAT_INCREMENT(stat->in_esphist[sav->alg_enc]); in esp_kpipe_input()
/xnu-10002.41.9/bsd/netkey/
H A Dkeydb.h88 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.c4413 sav->alg_enc = sa0->sadb_sa_encrypt; in key_setsaval()
4523 sav->alg_enc != SADB_EALG_NULL) { in key_setsaval()
4547 algo = esp_algorithm_lookup(sav->alg_enc); in key_setsaval()
4707 if (sav->alg_enc != SADB_EALG_NONE) { in key_mature()
4767 algo = esp_algorithm_lookup(sav->alg_enc); in key_mature()
5068 p->sadb_sa_encrypt = sav->alg_enc; in key_setsadbsa()