Lines Matching defs:keytemplate
1284 CK_ATTRIBUTE keytemplate[4];
1292 keytemplate[0].type = CKA_CLASS;
1293 keytemplate[0].pValue = &keyclass;
1294 keytemplate[0].ulValueLen = sizeof (keyclass);
1296 keytemplate[1].type = CKA_KEY_TYPE;
1297 keytemplate[1].pValue = &keytype;
1298 keytemplate[1].ulValueLen = sizeof (keytype);
1300 keytemplate[2].type = CKA_SIGN;
1301 keytemplate[2].pValue = &True;
1302 keytemplate[2].ulValueLen = sizeof (True);
1304 keytemplate[3].type = CKA_VALUE;
1305 keytemplate[3].pValue = passwd;
1306 keytemplate[3].ulValueLen = passwd_len;
1312 rv = soft_gen_keyobject(keytemplate,
1313 sizeof (keytemplate)/sizeof (CK_ATTRIBUTE), phKey, session_p,