ipsec_check_key
if (ipsec_check_key(aalg->alg_mech_type, key, B_TRUE,
if (ipsec_check_key(aalg->alg_mech_type, akey, B_TRUE,
if (ipsec_check_key(ealg->alg_mech_type, ekey, B_FALSE,
extern int ipsec_check_key(crypto_mech_type_t, sadb_key_t *, boolean_t, int *);