Lines Matching defs:ec_attrs
2616 CK_ATTRIBUTE ec_attrs[2] = {
2620 CK_ULONG count = sizeof (ec_attrs) / sizeof (CK_ATTRIBUTE);
2624 ec_attrs, 2)) != CKR_OK) {
2635 if (ec_attrs[i].ulValueLen == (CK_ULONG)-1 ||
2636 ec_attrs[i].ulValueLen == 0) {
2637 ec_attrs[i].ulValueLen = 0;
2640 if ((ec_attrs[i].pValue =
2641 malloc(ec_attrs[i].ulValueLen)) == NULL) {
2647 ec_attrs, count)) != CKR_OK) {
2653 rawec->params.Data = ec_attrs[0].pValue;
2654 rawec->params.Length = ec_attrs[0].ulValueLen;
2655 rawec->value.val = ec_attrs[1].pValue;
2656 rawec->value.len = ec_attrs[1].ulValueLen;
2661 if (ec_attrs[i].pValue != NULL)
2662 free(ec_attrs[i].pValue);