Lines Matching refs:pTmpl
342 CK_ATTRIBUTE pTmpl[10]; in get_token_key() local
360 pTmpl[i].type = CKA_TOKEN; in get_token_key()
361 pTmpl[i].pValue = &is_token; in get_token_key()
362 pTmpl[i].ulValueLen = sizeof (CK_BBOOL); in get_token_key()
365 pTmpl[i].type = CKA_CLASS; in get_token_key()
366 pTmpl[i].pValue = &class; in get_token_key()
367 pTmpl[i].ulValueLen = sizeof (class); in get_token_key()
370 pTmpl[i].type = CKA_LABEL; in get_token_key()
371 pTmpl[i].pValue = keylabel; in get_token_key()
372 pTmpl[i].ulValueLen = strlen(keylabel); in get_token_key()
375 pTmpl[i].type = CKA_KEY_TYPE; in get_token_key()
376 pTmpl[i].pValue = &ckKeyType; in get_token_key()
377 pTmpl[i].ulValueLen = sizeof (ckKeyType); in get_token_key()
380 pTmpl[i].type = CKA_PRIVATE; in get_token_key()
381 pTmpl[i].pValue = &true; in get_token_key()
382 pTmpl[i].ulValueLen = sizeof (true); in get_token_key()
385 rv = C_FindObjectsInit(hSession, pTmpl, i); in get_token_key()