Lines Matching refs:template
1269 CK_ATTRIBUTE template[] = {
1275 template[0].pValue = &class;
1276 template[1].pValue = &keyType;
1277 template[2].pValue = &true;
1283 template[3].ulValueLen = 24;
1285 template[3].ulValueLen = 8;
1287 template[3].pValue = keybuf;
1291 template[3].pValue = enckey;
1311 rv = C_CreateObject(enc_context->hSession, template,
1312 sizeof (template)/sizeof (template[0]), &enc_context->hKey);
1350 template[2].type = CKA_DECRYPT;
1359 template[3].pValue = deckey;
1362 rv = C_CreateObject(dec_context->hSession, template,
1363 sizeof (template)/sizeof (template[0]), &dec_context->hKey);