Lines Matching refs:aalg
1052 ipsec_alginfo_t *aalg;
1127 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH][assoc->sadb_sa_auth];
1128 if (aalg == NULL || !ALG_VALID(aalg)) {
1135 ASSERT(aalg->alg_mech_type != CRYPTO_MECHANISM_INVALID);
1138 if (!ipsec_valid_key_size(key->sadb_key_bits, aalg)) {
1145 if (ipsec_check_key(aalg->alg_mech_type, key, B_TRUE,
1769 ipsec_alginfo_t *aalg;
1779 aalg = ipss->ipsec_alglists[IPSEC_ALG_AUTH]
1781 if (aalg == NULL || !ALG_VALID(aalg))
1784 /* XXX check aalg for duplicates??.. */
1792 comb->sadb_comb_auth = aalg->alg_id;
1794 MAX(prot->ipp_ah_minbits, aalg->alg_ef_minbits);
1796 MIN(prot->ipp_ah_maxbits, aalg->alg_ef_maxbits);