Lines Matching refs:keytemplate
1258 CK_ATTRIBUTE keytemplate[4];
1266 keytemplate[0].type = CKA_CLASS;
1267 keytemplate[0].pValue = &keyclass;
1268 keytemplate[0].ulValueLen = sizeof (keyclass);
1270 keytemplate[1].type = CKA_KEY_TYPE;
1271 keytemplate[1].pValue = &keytype;
1272 keytemplate[1].ulValueLen = sizeof (keytype);
1274 keytemplate[2].type = CKA_SIGN;
1275 keytemplate[2].pValue = &True;
1276 keytemplate[2].ulValueLen = sizeof (True);
1278 keytemplate[3].type = CKA_VALUE;
1279 keytemplate[3].pValue = passwd;
1280 keytemplate[3].ulValueLen = passwd_len;
1286 rv = soft_gen_keyobject(keytemplate,
1287 sizeof (keytemplate)/sizeof (CK_ATTRIBUTE), phKey, session_p,