Home | History | Annotate | Download | only in generators

Lines Matching refs:strength

10      * initialise the key generator - if strength is set to zero
12 * strength can be 128 or 192 (or 112 or 168 if you don't count
22 this.strength = (param.getStrength() + 7) / 8;
24 if (strength == 0 || strength == (168 / 8))
26 strength = DESedeParameters.DES_EDE_KEY_LENGTH;
28 else if (strength == (112 / 8))
30 strength = 2 * DESedeParameters.DES_KEY_LENGTH;
32 else if (strength != DESedeParameters.DES_EDE_KEY_LENGTH
33 && strength != (2 * DESedeParameters.DES_KEY_LENGTH))
44 byte[] newKey = new byte[strength];