Searched refs:mech_infos (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c643 crypto_mechanism_info_t **mech_infos, uint_t *num_mech_infos,
698 *mech_infos = infos;
708 crypto_free_all_mech_info(crypto_mechanism_info_t *mech_infos, uint_t count) argument
710 if ((mech_infos != NULL) && (count > 0))
711 kmem_free(mech_infos, count * sizeof (crypto_mechanism_info_t));
642 crypto_get_all_mech_info(crypto_mech_type_t mech_type, crypto_mechanism_info_t **mech_infos, uint_t *num_mech_infos, int km_flag) argument
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c4699 crypto_mechanism_info_t *mech_infos; local
4754 &mech_infos, &nmech_infos, KM_SLEEP);
4774 if ((mech_infos[i].mi_usage & mask) != mask)
4777 unit_bits = (mech_infos[i].mi_keysize_unit ==
4780 cur_crypto_min = mech_infos[i].mi_min_key_size * unit_bits;
4781 cur_crypto_max = mech_infos[i].mi_max_key_size * unit_bits;
4790 if (mech_infos[i].mi_max_key_size ==
4800 kmem_free(mech_infos, sizeof (crypto_mechanism_info_t) *
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c1036 * Copyout kernel array of mech_infos to user space.
1088 crypto_mechanism_info_t *mech_infos = NULL; local
1113 rv = crypto_get_all_mech_info(mech_type, &mech_infos, &num_mech_infos,
1149 /* copyout mech_infos */
1155 mech_infos, u_minfos);
1158 if (mech_infos != NULL)
1159 crypto_free_all_mech_info(mech_infos, num_mech_infos);

Completed in 753 milliseconds