Searched refs:keySizeBits (Results 1 – 3 of 3) sorted by relevance
162 long keySizeBits = keyCharacteristics.getUnsignedInt(KeymasterDefs.KM_TAG_KEY_SIZE, -1); in initKey() local163 if (keySizeBits == -1) { in initKey()165 } else if (keySizeBits > Integer.MAX_VALUE) { in initKey()166 throw new InvalidKeyException("Key too large: " + keySizeBits + " bits"); in initKey()168 mGroupSizeBits = (int) keySizeBits; in initKey()
423 long keySizeBits = keyCharacteristics.getUnsignedInt(KeymasterDefs.KM_TAG_KEY_SIZE, -1); in initKey() local424 if (keySizeBits == -1) { in initKey()426 } else if (keySizeBits > Integer.MAX_VALUE) { in initKey()427 throw new InvalidKeyException("Key too large: " + keySizeBits + " bits"); in initKey()429 mModulusSizeBytes = (int) ((keySizeBits + 7) / 8); in initKey()
762 int keySizeBits, in getCertificateSignatureAlgorithm() argument795 if (outputSizeBits == keySizeBits) { in getCertificateSignatureAlgorithm()809 if (bestDigestOutputSizeBits < keySizeBits) { in getCertificateSignatureAlgorithm()820 && (outputSizeBits >= keySizeBits)) { in getCertificateSignatureAlgorithm()858 int maxDigestOutputSizeBits = keySizeBits - 30 * 8; in getCertificateSignatureAlgorithm()