Lines Matching refs:attrs

184 	crypto_object_attribute_t *attrs, *cur_attr;  in get_rsa_private_key()  local
195 attrs = calloc(1, in get_rsa_private_key()
197 if (attrs == NULL) { in get_rsa_private_key()
203 key->ck_attrs = attrs; in get_rsa_private_key()
204 cur_attr = attrs; in get_rsa_private_key()
318 crypto_object_attribute_t *attrs, *cur_attr; in get_rsa_public_key() local
328 attrs = calloc(1, in get_rsa_public_key()
330 if (attrs == NULL) { in get_rsa_public_key()
337 key->ck_attrs = attrs; in get_rsa_public_key()
339 cur_attr = attrs; in get_rsa_public_key()
393 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_private_key() local
403 attrs = calloc(1, in get_dsa_private_key()
405 if (attrs == NULL) { in get_dsa_private_key()
412 key->ck_attrs = attrs; in get_dsa_private_key()
414 cur_attr = attrs; in get_dsa_private_key()
455 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_public_key() local
465 attrs = calloc(1, in get_dsa_public_key()
467 if (attrs == NULL) { in get_dsa_public_key()
474 key->ck_attrs = attrs; in get_dsa_public_key()
476 cur_attr = attrs; in get_dsa_public_key()
517 crypto_object_attribute_t *attrs, *cur_attr; in get_ec_private_key() local
529 attrs = calloc(EC_ATTR_COUNT, sizeof (crypto_object_attribute_t)); in get_ec_private_key()
530 if (attrs == NULL) { in get_ec_private_key()
537 key->ck_attrs = attrs; in get_ec_private_key()
539 cur_attr = attrs; in get_ec_private_key()
589 crypto_object_attribute_t *attrs, *cur_attr; in get_ec_public_key() local
601 attrs = calloc(EC_ATTR_COUNT, sizeof (crypto_object_attribute_t)); in get_ec_public_key()
602 if (attrs == NULL) { in get_ec_public_key()
609 key->ck_attrs = attrs; in get_ec_public_key()
611 cur_attr = attrs; in get_ec_public_key()
668 crypto_object_attribute_t *attrs, *cur_attr; in process_object_attributes() local
679 attrs = calloc(1, ulCount * sizeof (crypto_object_attribute_t)); in process_object_attributes()
680 if (attrs == NULL) { in process_object_attributes()
684 cur_attr = attrs; in process_object_attributes()
743 *obj_attrs = (char *)attrs; in process_object_attributes()
747 cur_attr = attrs; in process_object_attributes()
755 (void) free(attrs); in process_object_attributes()