Searched refs:naf (Results 1 – 1 of 1) sorted by relevance
231 signed char *naf = NULL; in ec_GFp_pt_mul_jm_wNAF() local295 naf = (signed char *) kmem_alloc((orderBitSize + 1), FLAG(n)); in ec_GFp_pt_mul_jm_wNAF()297 naf = (signed char *) malloc(sizeof(signed char) * (orderBitSize + 1)); in ec_GFp_pt_mul_jm_wNAF()298 if (naf == NULL) { in ec_GFp_pt_mul_jm_wNAF()305 ec_compute_wNAF(naf, orderBitSize, n, 5); in ec_GFp_pt_mul_jm_wNAF()312 if (naf[i] != 0) { in ec_GFp_pt_mul_jm_wNAF()314 &precomp[(naf[i] + 15) / 2][0], in ec_GFp_pt_mul_jm_wNAF()315 &precomp[(naf[i] + 15) / 2][1], rx, ry, in ec_GFp_pt_mul_jm_wNAF()336 kmem_free(naf, (orderBitSize + 1)); in ec_GFp_pt_mul_jm_wNAF()338 free(naf); in ec_GFp_pt_mul_jm_wNAF()