Home
last modified time | relevance | path

Searched refs:mKeySizeBits (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java54 if ((mKeySizeBits != 128) && (mKeySizeBits != 192) && (mKeySizeBits != 256)) { in engineInit()
56 "Unsupported key size: " + mKeySizeBits in engineInit()
114 protected int mKeySizeBits; field in AndroidKeyStoreKeyGeneratorSpi
174 mKeySizeBits = (spec.getKeySize() != -1) ? spec.getKeySize() : mDefaultKeySizeBits; in engineInit()
175 if (mKeySizeBits <= 0) { in engineInit()
177 "Key size must be positive: " + mKeySizeBits); in engineInit()
178 } else if ((mKeySizeBits % 8) != 0) { in engineInit()
180 "Key size must be a multiple of 8: " + mKeySizeBits); in engineInit()
207 if (mKeySizeBits != 168) { in engineInit()
213 if (mKeySizeBits < 64) { in engineInit()
[all …]
DAndroidKeyStoreKeyPairGeneratorSpi.java162 private int mKeySizeBits; field in AndroidKeyStoreKeyPairGeneratorSpi
301 mKeySizeBits = spec.getKeySize(); in initialize()
303 if (mKeySizeBits == -1) { in initialize()
304 mKeySizeBits = getDefaultKeySize(keymasterAlgorithm); in initialize()
306 checkValidKeySize(keymasterAlgorithm, mKeySizeBits, mSpec.isStrongBoxBacked()); in initialize()
373 mKeySizeBits = 0; in resetAll()
389 if (mKeySizeBits == -1) { in initAlgorithmSpecificParameters()
390 mKeySizeBits = rsaSpec.getKeysize(); in initAlgorithmSpecificParameters()
391 } else if (mKeySizeBits != rsaSpec.getKeysize()) { in initAlgorithmSpecificParameters()
394 + ": " + mKeySizeBits + " vs " + rsaSpec.getKeysize()); in initAlgorithmSpecificParameters()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt66177 Landroid/security/keystore/AndroidKeyStoreKeyGeneratorSpi;->mKeySizeBits:I
66214 Landroid/security/keystore/AndroidKeyStoreKeyPairGeneratorSpi;->mKeySizeBits:I