Lines Matching refs:pTmpl
284 CK_ATTRIBUTE pTmpl[10]; in get_token_key() local
302 pTmpl[i].type = CKA_TOKEN; in get_token_key()
303 pTmpl[i].pValue = &is_token; in get_token_key()
304 pTmpl[i].ulValueLen = sizeof (CK_BBOOL); in get_token_key()
307 pTmpl[i].type = CKA_CLASS; in get_token_key()
308 pTmpl[i].pValue = &class; in get_token_key()
309 pTmpl[i].ulValueLen = sizeof (class); in get_token_key()
312 pTmpl[i].type = CKA_LABEL; in get_token_key()
313 pTmpl[i].pValue = keylabel; in get_token_key()
314 pTmpl[i].ulValueLen = strlen(keylabel); in get_token_key()
317 pTmpl[i].type = CKA_KEY_TYPE; in get_token_key()
318 pTmpl[i].pValue = &ckKeyType; in get_token_key()
319 pTmpl[i].ulValueLen = sizeof (ckKeyType); in get_token_key()
322 pTmpl[i].type = CKA_PRIVATE; in get_token_key()
323 pTmpl[i].pValue = &true; in get_token_key()
324 pTmpl[i].ulValueLen = sizeof (true); in get_token_key()
327 rv = C_FindObjectsInit(hSession, pTmpl, i); in get_token_key()