Home
last modified time | relevance | path

Searched refs:SBOX_SK (Results 1 – 2 of 2) sorted by relevance

/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DBlowFish.java170 private static final int SBOX_SK = 256; field in BlowFish
182 S0 = new int[SBOX_SK]; in BlowFish()
183 S1 = new int[SBOX_SK]; in BlowFish()
184 S2 = new int[SBOX_SK]; in BlowFish()
185 S3 = new int[SBOX_SK]; in BlowFish()
283 System.arraycopy(KS0, 0, S0, 0, SBOX_SK); in setKey()
284 System.arraycopy(KS1, 0, S1, 0, SBOX_SK); in setKey()
285 System.arraycopy(KS2, 0, S2, 0, SBOX_SK); in setKey()
286 System.arraycopy(KS3, 0, S3, 0, SBOX_SK); in setKey()
336 processTable(S0[SBOX_SK - 2], S0[SBOX_SK - 1], S1); in setKey()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java300 private static final int SBOX_SK = 256; field in BlowfishEngine
312 S0 = new int[SBOX_SK]; in BlowfishEngine()
313 S1 = new int[SBOX_SK]; in BlowfishEngine()
314 S2 = new int[SBOX_SK]; in BlowfishEngine()
315 S3 = new int[SBOX_SK]; in BlowfishEngine()
441 System.arraycopy(KS0, 0, S0, 0, SBOX_SK); in setKey()
442 System.arraycopy(KS1, 0, S1, 0, SBOX_SK); in setKey()
443 System.arraycopy(KS2, 0, S2, 0, SBOX_SK); in setKey()
444 System.arraycopy(KS3, 0, S3, 0, SBOX_SK); in setKey()
500 processTable(S0[SBOX_SK - 2], S0[SBOX_SK - 1], S1); in setKey()
[all …]