Home
last modified time | relevance | path

Searched refs:bitLength (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java402 int bitLength = 0; in getSuiteBCipherFromCert() local
417 bitLength = rsaPublicKey.getModulus().bitLength(); in getSuiteBCipherFromCert()
418 if (bitLength >= 3072) { in getSuiteBCipherFromCert()
432 bitLength = ecParameterSpec.getOrder().bitLength(); in getSuiteBCipherFromCert()
433 if (bitLength >= 384) { in getSuiteBCipherFromCert()
443 + " bit length: " + bitLength); in getSuiteBCipherFromCert()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DPrefixUtils.java80 final int bitLength = (ip instanceof Inet4Address) in ipAddressAsPrefix() local
83 return new IpPrefix(ip, bitLength); in ipAddressAsPrefix()
/packages/modules/IPsec/src/java/com/android/internal/net/utils/
DBigIntegerUtils.java61 if (bigInteger.bitLength() % 8 == 0) { in bigIntegerToUnsignedByteArray()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java187 protected static byte[] getKey(int bitLength) { in getKey() argument
188 if (bitLength % 8 != 0) { in getKey()
189 throw new IllegalArgumentException("Invalid key length in bits" + bitLength); in getKey()
191 return getKeyBytes(bitLength / 8); in getKey()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DUtils.java97 int keySizeBytes = (privateKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) in getBytesFromP256PrivateKey()
115 (publicKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) / Byte.SIZE; in getBytesFromP256PublicKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverter.java179 final int bytesExcludingSign = (int) Math.ceil(contribution.getKey().bitLength() / 8d); in encodeWithCbor()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java1936 && rsaPublicKey.getModulus().bitLength() >= 3072) { in isSuiteBCipherCert()
1947 && ecParameterSpec.getOrder().bitLength() >= 384) { in isSuiteBCipherCert()