Lines Matching refs:commitments
87 bi_array_ptr *commitments,
140 LogDebug("commitments");
142 for( j=0; j<commitments[i]->length; j++) {
143 toByteArray( array, length, commitments[i]->array[j],
144 "!! [generateMessageDigest commitments] current_size=%d length=%d\n");
182 bi_array_ptr *commitments;
190 commitments = (bi_array_ptr *)malloc( sizeof(bi_array_ptr) * num_of_variables);
191 if (commitments == NULL) {
197 commitments[i] = ALLOC_BI_ARRAY();
198 BI_LOAD_ARRAY( commitments[i], f);
323 LogDebug("STEP 3 - compute verification commitments");
357 if( commitments != NULL &&
359 commitments[i]->array[j]) ==0) {
361 DUMP_BI( commitments[i]->array[j]);
442 // Compute commitments
443 LogDebug("\ncompute commitments");
444 bi_array_ptr *commitments =
446 if (commitments == NULL) {
451 commitments[i] = ALLOC_BI_ARRAY();
452 bi_new_array( commitments[i], bit_size_message_digest);
458 bi_mod_exp( commitments[i]->array[j],
467 BI_SAVE_ARRAY( commitments[i], f);
477 commitments,