Lines Matching refs:domain
171 * attributes that exists only in domain parameter objects
3208 /* common domain parameter attribute */
3214 * The following common domain parameter attribute
3222 * The following domain parameter attributes must be
3287 new_object->object_class_u.domain = dom;
3308 * designated place in the domain parameter
3727 /* Unwrapping domain parameters is not supported. */
3751 * classes (i.e. public key, private key, secret key, domain parameters,
4419 * Rule: All the attributes in the domain parameters object can be revealed.
6180 free_domain_attr(domain_obj_t *domain, CK_KEY_TYPE key_type)
6182 if (domain == NULL) {
6188 bigint_attr_cleanup(KEY_DOM_DSA_PRIME(domain));
6189 bigint_attr_cleanup(KEY_DOM_DSA_SUBPRIME(domain));
6190 bigint_attr_cleanup(KEY_DOM_DSA_BASE(domain));
6193 bigint_attr_cleanup(KEY_DOM_DH_PRIME(domain));
6194 bigint_attr_cleanup(KEY_DOM_DH_BASE(domain));
6197 bigint_attr_cleanup(KEY_DOM_DH942_PRIME(domain));
6198 bigint_attr_cleanup(KEY_DOM_DH942_SUBPRIME(domain));
6199 bigint_attr_cleanup(KEY_DOM_DH942_BASE(domain));
6204 free(domain);
6212 domain_obj_t *domain;
6214 domain = calloc(1, sizeof (domain_obj_t));
6215 if (domain == NULL) {
6221 (void) memcpy(KEY_DOM_DSA(domain),
6226 rv = copy_bigint(KEY_DOM_DSA_PRIME(domain),
6229 free_domain_attr(domain, key_type);
6234 rv = copy_bigint(KEY_DOM_DSA_SUBPRIME(domain),
6237 free_domain_attr(domain, key_type);
6242 rv = copy_bigint(KEY_DOM_DSA_BASE(domain),
6245 free_domain_attr(domain, key_type);
6251 (void) memcpy(KEY_DOM_DH(domain),
6256 rv = copy_bigint(KEY_DOM_DH_PRIME(domain),
6259 free_domain_attr(domain, key_type);
6264 rv = copy_bigint(KEY_DOM_DH_BASE(domain),
6267 free_domain_attr(domain, key_type);
6273 (void) memcpy(KEY_DOM_DH942(domain),
6278 rv = copy_bigint(KEY_DOM_DH942_PRIME(domain),
6281 free_domain_attr(domain, key_type);
6286 rv = copy_bigint(KEY_DOM_DH942_SUBPRIME(domain),
6289 free_domain_attr(domain, key_type);
6294 rv = copy_bigint(KEY_DOM_DH942_BASE(domain),
6297 free_domain_attr(domain, key_type);
6305 *new_domain_obj_p = domain;