Searched refs:naf (Results 1 – 1 of 1) sorted by relevance
229 signed char *naf = NULL; in ec_GFp_pt_mul_jm_wNAF() local293 naf = (signed char *) kmem_alloc((orderBitSize + 1), FLAG(n)); in ec_GFp_pt_mul_jm_wNAF()295 naf = (signed char *) malloc(sizeof(signed char) * (orderBitSize + 1)); in ec_GFp_pt_mul_jm_wNAF()296 if (naf == NULL) { in ec_GFp_pt_mul_jm_wNAF()303 ec_compute_wNAF(naf, orderBitSize, n, 5); in ec_GFp_pt_mul_jm_wNAF()310 if (naf[i] != 0) { in ec_GFp_pt_mul_jm_wNAF()312 &precomp[(naf[i] + 15) / 2][0], in ec_GFp_pt_mul_jm_wNAF()313 &precomp[(naf[i] + 15) / 2][1], rx, ry, in ec_GFp_pt_mul_jm_wNAF()334 kmem_free(naf, (orderBitSize + 1)); in ec_GFp_pt_mul_jm_wNAF()336 free(naf); in ec_GFp_pt_mul_jm_wNAF()