Lines Matching refs:len_2
44 params->len_2 = (wots_log2(params->len_1 * (w - 1)) / params->log_w) + 1; in wots_set_params()
45 params->len = params->len_1 + params->len_2; in wots_set_params()
134 csum = csum << (8 - ((params->len_2 * params->log_w) % 8)); in wots_sign()
136 int len_2_bytes = ((params->len_2 * params->log_w) + 7) / 8; in wots_sign()
141 int csum_basew[params->len_2]; in wots_sign()
142 base_w(csum_basew, params->len_2, csum_bytes, params); in wots_sign()
144 for (i = 0; i < params->len_2; i++) { in wots_sign()
172 csum = csum << (8 - ((params->len_2 * params->log_w) % 8)); in wots_pkFromSig()
174 int len_2_bytes = ((params->len_2 * params->log_w) + 7) / 8; in wots_pkFromSig()
179 int csum_basew[params->len_2]; in wots_pkFromSig()
180 base_w(csum_basew, params->len_2, csum_bytes, params); in wots_pkFromSig()
182 for (i = 0; i < params->len_2; i++) { in wots_pkFromSig()