crypto_mech2id
rngmech_type = crypto_mech2id(SUN_RANDOM);
mech_type = crypto_mech2id(mech_name);
t = crypto_mech2id(name);
t = crypto_mech2id(name);
t = crypto_mech2id(SUN_CKM_SHA512);
t = crypto_mech2id(name);
t = crypto_mech2id(name);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
mech.cm_type = crypto_mech2id(crypt_info.ci_mechname);
mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
ck->kef_cksum_mt = crypto_mech2id(ck->mt_c_name);
ASSERT(key->kef_mt == crypto_mech2id(SUN_CKM_AES_CBC));
ASSERT(key->kef_mt == crypto_mech2id(SUN_CKM_AES_CBC));
crypto_mech2id(kt->mt_e_name);
crypto_mech2id(kt->mt_h_name);
mt = crypto_mech2id(alg->alg_mech_name);
cd->mech_type = crypto_mech2id(SUN_CKM_DES_ECB);
cd->mech_type = crypto_mech2id(SUN_CKM_DES_CBC);
cd->mech_type = crypto_mech2id(SUN_CKM_DES3_CBC);
cd->mech_type = crypto_mech2id(SUN_CKM_RC4);
cd->mech_type = crypto_mech2id(SUN_CKM_AES_ECB);
sha1_hmac_mech = crypto_mech2id(SUN_CKM_SHA1_HMAC);
md5_hmac_mech = crypto_mech2id(SUN_CKM_MD5_HMAC);
sha1_hash_mech = crypto_mech2id(SUN_CKM_SHA1);
md5_hash_mech = crypto_mech2id(SUN_CKM_MD5);
(void) crypto_mech2id(SUN_CKM_RC4);
(void) crypto_mech2id(SUN_CKM_RC4);
lsp->ls_mech.cm_type = crypto_mech2id(klip->li_cipher);
lsp->ls_iv_mech.cm_type = crypto_mech2id(klip->li_iv_cipher);
(void) crypto_mech2id(SUN_CKM_RC4); /* Load RC4 */
(void) crypto_mech2id(SUN_CKM_AES_CBC); /* Load AES-CBC */
(void) crypto_mech2id(SUN_CKM_AES_CCM); /* Load AES-CCM */
mech.cm_type = crypto_mech2id(SUN_CKM_AES_CCM);
mech.cm_type = crypto_mech2id(SUN_CKM_AES_CCM);
mech.cm_type = crypto_mech2id(SUN_CKM_RC4);
extern crypto_mech_type_t crypto_mech2id(const char *name);