Searched refs:naf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_jm.c231 signed char *naf = NULL; local
295 naf = (signed char *) kmem_alloc((orderBitSize + 1), FLAG(n));
297 naf = (signed char *) malloc(sizeof(signed char) * (orderBitSize + 1));
298 if (naf == NULL) {
305 ec_compute_wNAF(naf, orderBitSize, n, 5);
312 if (naf[i] != 0) {
314 &precomp[(naf[i] + 15) / 2][0],
315 &precomp[(naf[i] + 15) / 2][1], rx, ry,
336 kmem_free(naf, (orderBitSize + 1));
338 free(naf);
[all...]

Completed in 70 milliseconds