Searched refs:SBOX_SK (Results 1 – 1 of 1) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | BlowfishEngine.java | 301 private static final int SBOX_SK = 256; field in BlowfishEngine 313 S0 = new int[SBOX_SK]; in BlowfishEngine() 314 S1 = new int[SBOX_SK]; in BlowfishEngine() 315 S2 = new int[SBOX_SK]; in BlowfishEngine() 316 S3 = new int[SBOX_SK]; in BlowfishEngine() 442 System.arraycopy(KS0, 0, S0, 0, SBOX_SK); in setKey() 443 System.arraycopy(KS1, 0, S1, 0, SBOX_SK); in setKey() 444 System.arraycopy(KS2, 0, S2, 0, SBOX_SK); in setKey() 445 System.arraycopy(KS3, 0, S3, 0, SBOX_SK); in setKey() 501 processTable(S0[SBOX_SK - 2], S0[SBOX_SK - 1], S1); in setKey() [all …]
|