Lines Matching refs:template
150 CK_ATTRIBUTE template;
166 template.type = CKA_EC_PARAMS;
167 template.pValue = param_buffer;
168 template.ulValueLen = sizeof (param_buffer);
169 rv = soft_get_public_key_attribute(pubkey, &template);
173 paramlen = template.ulValueLen;
176 rv = set_extra_attr_to_object(prikey, CKA_EC_PARAMS, &template);
217 CK_ATTRIBUTE template;
234 template.type = CKA_VALUE;
235 template.pValue = value;
236 template.ulValueLen = value_len;
237 rv = soft_get_private_key_attribute(basekey, &template);
241 value_len = template.ulValueLen;
245 template.type = CKA_EC_PARAMS;
246 template.pValue = params;
247 template.ulValueLen = params_len;
248 rv = soft_get_private_key_attribute(basekey, &template);
252 params_len = template.ulValueLen;
335 CK_ATTRIBUTE template;
374 template.type = CKA_EC_PARAMS;
375 template.pValue = params;
376 template.ulValueLen = sizeof (params);
377 rv = soft_get_private_key_attribute(key_p, &template);
385 params[1] != template.ulValueLen - 2) {
390 params_item.len = template.ulValueLen;
537 CK_ATTRIBUTE template;
560 template.type = CKA_EC_POINT;
561 template.pValue = point;
562 template.ulValueLen = sizeof (point);
563 rv = soft_get_public_key_attribute(key, &template);
569 ECkey.publicValue.len = template.ulValueLen;