Home
last modified time | relevance | path

Searched refs:getInputBlockSize (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java104 return cipher.getInputBlockSize(); in engineGetBlockSize()
419 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
426 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
446 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
453 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
475 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal()
482 if (bOut.size() > cipher.getInputBlockSize()) in engineDoFinal()
506 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal()
513 if (bOut.size() > cipher.getInputBlockSize()) in engineDoFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRSACoreEngine.java50 public int getInputBlockSize() in getInputBlockSize() method in RSACoreEngine
90 if (inLen > (getInputBlockSize() + 1)) in convertInput()
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
DRSABlindedEngine.java59 public int getInputBlockSize() in getInputBlockSize() method in RSABlindedEngine
61 return core.getInputBlockSize(); in getInputBlockSize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java101 public int getInputBlockSize() in getInputBlockSize() method in OAEPEncoding
103 int baseBlockSize = engine.getInputBlockSize(); in getInputBlockSize()
151 if (inLen > getInputBlockSize()) in encodeBlock()
156 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length]; in encodeBlock()
DPKCS1Encoding.java160 public int getInputBlockSize() in getInputBlockSize() method in PKCS1Encoding
162 int baseBlockSize = engine.getInputBlockSize(); in getInputBlockSize()
210 if (inLen > getInputBlockSize()) in encodeBlock()
215 byte[] block = new byte[engine.getInputBlockSize()]; in encodeBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DAsymmetricBlockCipher.java24 public int getInputBlockSize(); in getInputBlockSize() method