Searched refs:mech_infos (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 643 crypto_mechanism_info_t **mech_infos, uint_t *num_mech_infos, in crypto_get_all_mech_info() argument 698 *mech_infos = infos; in crypto_get_all_mech_info() 708 crypto_free_all_mech_info(crypto_mechanism_info_t *mech_infos, uint_t count) in crypto_free_all_mech_info() argument 710 if ((mech_infos != NULL) && (count > 0)) in crypto_free_all_mech_info() 711 kmem_free(mech_infos, count * sizeof (crypto_mechanism_info_t)); in crypto_free_all_mech_info()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | spd.c | 4700 crypto_mechanism_info_t *mech_infos; in ipsec_alg_fix_min_max() local 4755 &mech_infos, &nmech_infos, KM_SLEEP); in ipsec_alg_fix_min_max() 4775 if ((mech_infos[i].mi_usage & mask) != mask) in ipsec_alg_fix_min_max() 4778 unit_bits = (mech_infos[i].mi_keysize_unit == in ipsec_alg_fix_min_max() 4781 cur_crypto_min = mech_infos[i].mi_min_key_size * unit_bits; in ipsec_alg_fix_min_max() 4782 cur_crypto_max = mech_infos[i].mi_max_key_size * unit_bits; in ipsec_alg_fix_min_max() 4791 if (mech_infos[i].mi_max_key_size == in ipsec_alg_fix_min_max() 4801 kmem_free(mech_infos, sizeof (crypto_mechanism_info_t) * in ipsec_alg_fix_min_max()
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 1088 crypto_mechanism_info_t *mech_infos = NULL; in get_all_mechanism_info() local 1113 rv = crypto_get_all_mech_info(mech_type, &mech_infos, &num_mech_infos, in get_all_mechanism_info() 1155 mech_infos, u_minfos); in get_all_mechanism_info() 1158 if (mech_infos != NULL) in get_all_mechanism_info() 1159 crypto_free_all_mech_info(mech_infos, num_mech_infos); in get_all_mechanism_info()
|