Lines Matching refs:wNAF
418 signed char **wNAF = NULL; /* individual wNAFs */ in ossl_ec_wNAF_mul() local
510 wNAF = OPENSSL_malloc((totalnum + 1) * sizeof(wNAF[0])); in ossl_ec_wNAF_mul()
514 if (wNAF != NULL) in ossl_ec_wNAF_mul()
515 wNAF[0] = NULL; /* preliminary pivot */ in ossl_ec_wNAF_mul()
517 if (wsize == NULL || wNAF_len == NULL || wNAF == NULL || val_sub == NULL) in ossl_ec_wNAF_mul()
531 wNAF[i + 1] = NULL; /* make sure we always have a pivot */ in ossl_ec_wNAF_mul()
532 wNAF[i] = in ossl_ec_wNAF_mul()
535 if (wNAF[i] == NULL) in ossl_ec_wNAF_mul()
576 wNAF[num] = tmp_wNAF; in ossl_ec_wNAF_mul()
577 wNAF[num + 1] = NULL; in ossl_ec_wNAF_mul()
625 wNAF[i + 1] = NULL; in ossl_ec_wNAF_mul()
626 wNAF[i] = OPENSSL_malloc(wNAF_len[i]); in ossl_ec_wNAF_mul()
627 if (wNAF[i] == NULL) { in ossl_ec_wNAF_mul()
631 memcpy(wNAF[i], pp, wNAF_len[i]); in ossl_ec_wNAF_mul()
719 int digit = wNAF[i][k]; in ossl_ec_wNAF_mul()
781 if (wNAF != NULL) { in ossl_ec_wNAF_mul()
784 for (w = wNAF; *w != NULL; w++) in ossl_ec_wNAF_mul()
787 OPENSSL_free(wNAF); in ossl_ec_wNAF_mul()