Lines Matching refs:template
153 CK_ATTRIBUTE template;
169 template.type = CKA_EC_PARAMS;
170 template.pValue = param_buffer;
171 template.ulValueLen = sizeof (param_buffer);
172 rv = soft_get_public_key_attribute(pubkey, &template);
176 paramlen = template.ulValueLen;
179 rv = set_extra_attr_to_object(prikey, CKA_EC_PARAMS, &template);
221 CK_ATTRIBUTE template;
238 template.type = CKA_VALUE;
239 template.pValue = value;
240 template.ulValueLen = value_len;
241 rv = soft_get_private_key_attribute(basekey, &template);
245 value_len = template.ulValueLen;
249 template.type = CKA_EC_PARAMS;
250 template.pValue = params;
251 template.ulValueLen = params_len;
252 rv = soft_get_private_key_attribute(basekey, &template);
256 params_len = template.ulValueLen;
345 CK_ATTRIBUTE template;
384 template.type = CKA_EC_PARAMS;
385 template.pValue = params;
386 template.ulValueLen = sizeof (params);
387 rv = soft_get_private_key_attribute(key_p, &template);
395 params[1] != template.ulValueLen - 2) {
400 params_item.len = template.ulValueLen;
547 CK_ATTRIBUTE template;
570 template.type = CKA_EC_POINT;
571 template.pValue = point;
572 template.ulValueLen = sizeof (point);
573 rv = soft_get_public_key_attribute(key, &template);
579 ECkey.publicValue.len = template.ulValueLen;