Lines Matching refs:mechs
407 crypto_mech_name_t *mechs; in create_kssl_entry() local
437 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); in create_kssl_entry()
438 if (mechs != NULL) { in create_kssl_entry()
442 if (strncmp(SUN_CKM_RSA_X_509, mechs[i], in create_kssl_entry()
445 else if (strncmp(SUN_CKM_MD5_HMAC, mechs[i], in create_kssl_entry()
448 else if (strncmp(SUN_CKM_SHA1_HMAC, mechs[i], in create_kssl_entry()
451 else if (strncmp(SUN_CKM_RC4, mechs[i], in create_kssl_entry()
454 else if (strncmp(SUN_CKM_DES_CBC, mechs[i], in create_kssl_entry()
457 else if (strncmp(SUN_CKM_DES3_CBC, mechs[i], in create_kssl_entry()
460 else if (strncmp(SUN_CKM_AES_CBC, mechs[i], in create_kssl_entry()
499 crypto_free_mech_list(mechs, mech_count); in create_kssl_entry()