Lines Matching refs:wNAF_len
305 size_t *wNAF_len = NULL; in ec_wNAF_mul() local
383 wNAF_len = OPENSSL_malloc(totalnum * sizeof wNAF_len[0]); in ec_wNAF_mul()
393 if (!wsize || !wNAF_len || !wNAF || !val_sub) { in ec_wNAF_mul()
409 compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]); in ec_wNAF_mul()
413 if (wNAF_len[i] > max_len) { in ec_wNAF_mul()
414 max_len = wNAF_len[i]; in ec_wNAF_mul()
452 wNAF_len[num] = tmp_len; in ec_wNAF_mul()
478 wNAF_len[i] = blocksize; in ec_wNAF_mul()
487 wNAF_len[i] = tmp_len; in ec_wNAF_mul()
491 wNAF[i] = OPENSSL_malloc(wNAF_len[i]); in ec_wNAF_mul()
497 memcpy(wNAF[i], pp, wNAF_len[i]); in ec_wNAF_mul()
498 if (wNAF_len[i] > max_len) { in ec_wNAF_mul()
499 max_len = wNAF_len[i]; in ec_wNAF_mul()
589 if (wNAF_len[i] > (size_t)k) { in ec_wNAF_mul()
638 OPENSSL_free(wNAF_len); in ec_wNAF_mul()