Lines Matching defs:basew
121 //int basew[params->len];
124 int *basew = calloc(params->len, sizeof(int));
125 if (basew == NULL)
128 base_w(basew, params->len_1, msg, params);
131 csum += params->w - 1 - basew[i];
145 basew[params->len_1 + i] = csum_basew[i];
152 gen_chain(sig+i*params->n, sig+i*params->n, 0, basew[i], params, pub_seed, addr);
154 free(basew);
162 int *basew = calloc(params->len, sizeof(int));
163 if (basew == NULL)
166 base_w(basew, params->len_1, msg, params);
169 csum += params->w - 1 - basew[i];
183 basew[params->len_1 + i] = csum_basew[i];
187 gen_chain(pk+i*params->n, sig+i*params->n, basew[i], params->w-1-basew[i], params, pub_seed, addr);
189 free(basew);