Searched refs:aalg (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 1052 ipsec_alginfo_t *aalg; in ah_add_sa() local 1127 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH][assoc->sadb_sa_auth]; in ah_add_sa() 1128 if (aalg == NULL || !ALG_VALID(aalg)) { in ah_add_sa() 1135 ASSERT(aalg->alg_mech_type != CRYPTO_MECHANISM_INVALID); in ah_add_sa() 1138 if (!ipsec_valid_key_size(key->sadb_key_bits, aalg)) { in ah_add_sa() 1145 if (ipsec_check_key(aalg->alg_mech_type, key, B_TRUE, in ah_add_sa() 1769 ipsec_alginfo_t *aalg; in ah_insert_prop() local 1779 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH] in ah_insert_prop() 1781 if (aalg == NULL || !ALG_VALID(aalg)) in ah_insert_prop() 1792 comb->sadb_comb_auth = aalg->alg_id; in ah_insert_prop() [all …]
|
H A D | ipsecesp.c | 1219 ipsec_alginfo_t *aalg = NULL; in esp_insert_prop() local 1230 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH] in esp_insert_prop() 1232 if (aalg == NULL || !ALG_VALID(aalg)) in esp_insert_prop() 1250 if (aalg == NULL) { in esp_insert_prop() 1255 comb->sadb_comb_auth = aalg->alg_id; in esp_insert_prop() 1257 MAX(prot->ipp_espa_minbits, aalg->alg_ef_minbits); in esp_insert_prop() 1259 MIN(prot->ipp_espa_maxbits, aalg->alg_ef_maxbits); in esp_insert_prop() 3704 ipsec_alginfo_t *aalg; local 3706 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH] 3708 if (aalg == NULL || !ALG_VALID(aalg)) { [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 378 authalg_to_str(uint8_t aproto, uint8_t aalg) in authalg_to_str() argument 383 switch (aalg) { in authalg_to_str()
|
/titanic_50/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 451 dump_aalg(uint8_t aalg, FILE *where) in dump_aalg() argument 453 return (dump_generic_alg(aalg, IPSEC_PROTO_AH, where)); in dump_aalg()
|