Lines Matching refs:wNAF
304 signed char **wNAF = NULL; /* individual wNAFs */ in ec_wNAF_mul() local
384 wNAF = OPENSSL_malloc((totalnum + 1) * in ec_wNAF_mul()
385 sizeof wNAF[0]); /* includes space for pivot */ in ec_wNAF_mul()
389 if (wNAF) { in ec_wNAF_mul()
390 wNAF[0] = NULL; /* preliminary pivot */ in ec_wNAF_mul()
393 if (!wsize || !wNAF_len || !wNAF || !val_sub) { in ec_wNAF_mul()
407 wNAF[i + 1] = NULL; /* make sure we always have a pivot */ in ec_wNAF_mul()
408 wNAF[i] = in ec_wNAF_mul()
410 if (wNAF[i] == NULL) { in ec_wNAF_mul()
450 wNAF[num] = tmp_wNAF; in ec_wNAF_mul()
451 wNAF[num + 1] = NULL; in ec_wNAF_mul()
490 wNAF[i + 1] = NULL; in ec_wNAF_mul()
491 wNAF[i] = OPENSSL_malloc(wNAF_len[i]); in ec_wNAF_mul()
492 if (wNAF[i] == NULL) { in ec_wNAF_mul()
497 memcpy(wNAF[i], pp, wNAF_len[i]); in ec_wNAF_mul()
590 int digit = wNAF[i][k]; in ec_wNAF_mul()
639 if (wNAF != NULL) { in ec_wNAF_mul()
642 for (w = wNAF; *w != NULL; w++) { in ec_wNAF_mul()
646 OPENSSL_free(wNAF); in ec_wNAF_mul()