Home | History | Annotate | Download | only in patches

Lines Matching full:rc5

4753 -            if (baseEngine.getAlgorithmName().startsWith("RC5"))
4755 - if (baseEngine.getAlgorithmName().equals("RC5-32"))
4759 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
4762 - else if (baseEngine.getAlgorithmName().equals("RC5-64"))
4766 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
4772 - throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
4811 + // if (baseEngine.getAlgorithmName().startsWith("RC5"))
4813 + // if (baseEngine.getAlgorithmName().equals("RC5-32"))
4817 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
4820 + // else if (baseEngine.getAlgorithmName().equals("RC5-64"))
4824 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
4830 + // throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
6018 - "Noekeon", "RC2", "RC5", "RC6", "Rijndael", "Salsa20", "SEED", "Serpent", "Skipjack", "TEA", "Twofish", "VMPC", "VMPCKSA3", "XTEA"
6021 + // "Noekeon", "RC2", "RC5", "RC6", "Rijndael", "Salsa20", "SEED", "Serpent", "Skipjack", "TEA", "Twofish", "VMPC", "VMPCKSA3", "XTEA"
6965 - // for RC5-64 we must have some default parameters
6967 - if (params == null && baseEngine.getAlgorithmName().startsWith("RC5-64"))
6969 - throw new InvalidAlgorithmParameterException("RC5 requires an RC5ParametersSpec to be passed in.");
6973 + // // for RC5-64 we must have some default parameters
6975 + // if (params == null && baseEngine.getAlgorithmName().startsWith("RC5-64"))
6977 + // throw new InvalidAlgorithmParameterException("RC5 requires an RC5ParametersSpec to be passed in.");
7017 - if (baseEngine.getAlgorithmName().startsWith("RC5"))
7019 - if (baseEngine.getAlgorithmName().equals("RC5-32"))
7023 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
7026 - else if (baseEngine.getAlgorithmName().equals("RC5-64"))
7030 - throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
7036 - throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");
7075 + // if (baseEngine.getAlgorithmName().startsWith("RC5"))
7077 + // if (baseEngine.getAlgorithmName().equals("RC5-32"))
7081 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 32 not " + rc5Param.getWordSize() + ".");
7084 + // else if (baseEngine.getAlgorithmName().equals("RC5-64"))
7088 + // throw new InvalidAlgorithmParameterException("RC5 already set up for a word size of 64 not " + rc5Param.getWordSize() + ".");
7094 + // throw new InvalidAlgorithmParameterException("RC5 parameters passed to a cipher that is not RC5.");