Searched refs:attr_template (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/contrib/pkcs11-keygen/
H A Dreadkey.c47 CK_ATTRIBUTE attr_template[] = { local
158 rv = C_GetAttributeValue(hSession, key, attr_template, 9);
165 printf("ID[%u]=", attr_template[0].ulValueLen);
166 for (i = 0; i < attr_template[0].ulValueLen; i++)
170 if (attr_template[1].ulValueLen > 0)
171 rsa->n = BN_bin2bn(data[0], attr_template[1].ulValueLen, NULL);
172 if (attr_template[2].ulValueLen > 0)
173 rsa->e = BN_bin2bn(data[1], attr_template[2].ulValueLen, NULL);
174 if (attr_template[3].ulValueLen > 0)
175 rsa->d = BN_bin2bn(data[2], attr_template[
[all...]
H A Dlistobjs.c138 CK_ATTRIBUTE attr_template[] = { local
148 rv = C_GetAttributeValue(hSession, akey[i], attr_template, 3);
154 attr_template[0].ulValueLen,
155 attr_template[1].ulValueLen,
156 attr_template[2].ulValueLen);
161 len = attr_template[2].ulValueLen;
164 attr_template[1].ulValueLen, labelbuf,
165 attr_template[2].ulValueLen);
175 if (attr_template[2].ulValueLen > len)
H A Ddestroyobj.c128 CK_ATTRIBUTE attr_template[] = { local
138 rv = C_GetAttributeValue(hSession, akey[i], attr_template, 3);
144 len = attr_template[2].ulValueLen;
146 i, oclass, labelbuf, attr_template[2].ulValueLen);
151 if (attr_template[2].ulValueLen > len)

Completed in 10 milliseconds