Lines Matching full:rc5
5017 - if (baseEngine.getAlgorithmName().startsWith("RC5"))
5019 - if (baseEngine.getAlgorithmName().equals("RC5-32"))
5023 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
5026 - else if (baseEngine.getAlgorithmName().equals("RC5-64"))
5030 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
5036 - throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
5075 + // if (baseEngine.getAlgorithmName().startsWith("RC5"))
5077 + // if (baseEngine.getAlgorithmName().equals("RC5-32"))
5081 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
5084 + // else if (baseEngine.getAlgorithmName().equals("RC5-64"))
5088 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
5094 + // throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
6351 - "Noekeon", "RC2", "RC5", "RC6", "Rijndael", "Salsa20", "SEED", "Serpent", "Skipjack", "TEA", "Twofish", "VMPC", "VMPCKSA3", "XTEA"
6354 + // "Noekeon", "RC2", "RC5", "RC6", "Rijndael", "Salsa20", "SEED", "Serpent", "Skipjack", "TEA", "Twofish", "VMPC", "VMPCKSA3", "XTEA"
7311 - // for RC5-64 we must have some default parameters
7313 - if (params == null && baseEngine.getAlgorithmName().startsWith("RC5-64"))
7315 - throw new InvalidAlgorithmParameterException("RC5 requires an RC5ParametersSpec to be passed in.");
7319 + // // for RC5-64 we must have some default parameters
7321 + // if (params == null && baseEngine.getAlgorithmName().startsWith("RC5-64"))
7323 + // throw new InvalidAlgorithmParameterException("RC5 requires an RC5ParametersSpec to be passed in.");
7363 - if (baseEngine.getAlgorithmName().startsWith("RC5"))
7365 - if (baseEngine.getAlgorithmName().equals("RC5-32"))
7369 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
7372 - else if (baseEngine.getAlgorithmName().equals("RC5-64"))
7376 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
7382 - throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
7421 + // if (baseEngine.getAlgorithmName().startsWith("RC5"))
7423 + // if (baseEngine.getAlgorithmName().equals("RC5-32"))
7427 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
7430 + // else if (baseEngine.getAlgorithmName().equals("RC5-64"))
7434 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
7440 + // throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");