equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
251 } |
251 } |
252 } |
252 } |
253 for (j = 0; j < 8; j++) { |
253 for (j = 0; j < 8; j++) { |
254 if (AA[i][j] != 0) { |
254 if (AA[i][j] != 0) { |
255 AA[i][j] = (byte) |
255 AA[i][j] = (byte) |
256 alog[(255 + log[AA[i][j] & 0xFF] - log[pivot & 0xFF]) % 255]; |
256 alog[(255 + log[AA[i][j] & 0xFF] - log[pivot & 0xFF]) |
|
257 % 255]; |
257 } |
258 } |
258 } |
259 } |
259 for (t = 0; t < 4; t++) { |
260 for (t = 0; t < 4; t++) { |
260 if (i != t) { |
261 if (i != t) { |
261 for (j = i+1; j < 8; j++) { |
262 for (j = i+1; j < 8; j++) { |