Lines Matching refs:nattr
838 int nattr = 0; in execute_cmd() local
840 template[nattr].type = CKA_CLASS; in execute_cmd()
841 template[nattr].pValue = &objclass; in execute_cmd()
842 template[nattr].ulValueLen = sizeof (objclass); in execute_cmd()
843 nattr++; in execute_cmd()
845 template[nattr].type = CKA_KEY_TYPE; in execute_cmd()
846 template[nattr].pValue = &keytype; in execute_cmd()
847 template[nattr].ulValueLen = sizeof (keytype); in execute_cmd()
848 nattr++; in execute_cmd()
850 template[nattr].type = cmd->type; in execute_cmd()
851 template[nattr].pValue = &truevalue; in execute_cmd()
852 template[nattr].ulValueLen = sizeof (truevalue); in execute_cmd()
853 nattr++; in execute_cmd()
855 template[nattr].type = CKA_TOKEN; in execute_cmd()
856 template[nattr].pValue = &falsevalue; in execute_cmd()
857 template[nattr].ulValueLen = sizeof (falsevalue); in execute_cmd()
858 nattr++; in execute_cmd()
860 template[nattr].type = CKA_VALUE; in execute_cmd()
861 template[nattr].pValue = pkeydata; in execute_cmd()
862 template[nattr].ulValueLen = keysize; in execute_cmd()
863 nattr++; in execute_cmd()
865 rv = C_CreateObject(hSession, template, nattr, &key); in execute_cmd()