Home
last modified time | relevance | path

Searched refs:zzOff (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/
DNat192.java328 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument
340 zz[zzOff + 0] = (int)c; in mul()
343 zz[zzOff + 1] = (int)c; in mul()
346 zz[zzOff + 2] = (int)c; in mul()
349 zz[zzOff + 3] = (int)c; in mul()
352 zz[zzOff + 4] = (int)c; in mul()
355 zz[zzOff + 5] = (int)c; in mul()
357 zz[zzOff + 6] = (int)c; in mul()
362 ++zzOff; in mul()
364 c += x_i * y_0 + (zz[zzOff + 0] & M); in mul()
[all …]
DNat256.java436 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument
450 zz[zzOff + 0] = (int)c; in mul()
453 zz[zzOff + 1] = (int)c; in mul()
456 zz[zzOff + 2] = (int)c; in mul()
459 zz[zzOff + 3] = (int)c; in mul()
462 zz[zzOff + 4] = (int)c; in mul()
465 zz[zzOff + 5] = (int)c; in mul()
468 zz[zzOff + 6] = (int)c; in mul()
471 zz[zzOff + 7] = (int)c; in mul()
473 zz[zzOff + 8] = (int)c; in mul()
[all …]
DNat224.java406 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument
419 zz[zzOff + 0] = (int)c; in mul()
422 zz[zzOff + 1] = (int)c; in mul()
425 zz[zzOff + 2] = (int)c; in mul()
428 zz[zzOff + 3] = (int)c; in mul()
431 zz[zzOff + 4] = (int)c; in mul()
434 zz[zzOff + 5] = (int)c; in mul()
437 zz[zzOff + 6] = (int)c; in mul()
439 zz[zzOff + 7] = (int)c; in mul()
444 ++zzOff; in mul()
[all …]
DNat.java429 public static void mul(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument
431 zz[zzOff + len] = mulWord(len, x[xOff], y, yOff, zz, zzOff); in mul()
435 zz[zzOff + i + len] = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff + i); in mul()
452 public static int mulAddTo(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mulAddTo() argument
457 long c = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff) & M; in mulAddTo()
458 c += zc + (zz[zzOff + len] & M); in mulAddTo()
459 zz[zzOff + len] = (int)c; in mulAddTo()
461 ++zzOff; in mulAddTo()
766 public static void square(int len, int[] x, int xOff, int[] zz, int zzOff) in square() argument
775 zz[zzOff + --k] = (c << 31) | (int)(p >>> 33); in square()
[all …]