Home
last modified time | relevance | path

Searched refs:bitSize (Results 1 – 2 of 2) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRSACoreEngine.java52 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local
56 return (bitSize + 7) / 8 - 1; in getInputBlockSize()
60 return (bitSize + 7) / 8; in getInputBlockSize()
73 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local
77 return (bitSize + 7) / 8; in getOutputBlockSize()
81 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
/external/zlib/src/contrib/dotzlib/DotZLib/
DDotZLib.cs230 private static int bitSize(uint bits) in bitSize() method in DotZLib.Info
263 public int SizeOfUInt { get { return bitSize(_flags & 3); } }
268 public int SizeOfULong { get { return bitSize((_flags >> 2) & 3); } }
273 public int SizeOfPointer { get { return bitSize((_flags >> 4) & 3); } }
278 public int SizeOfOffset { get { return bitSize((_flags >> 6) & 3); } }