Searched refs:mKeySizeBits (Results 1 – 3 of 3) sorted by relevance
54 if ((mKeySizeBits != 128) && (mKeySizeBits != 192) && (mKeySizeBits != 256)) { in engineInit()56 "Unsupported key size: " + mKeySizeBits in engineInit()114 protected int mKeySizeBits; field in AndroidKeyStoreKeyGeneratorSpi174 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 …]
162 private int mKeySizeBits; field in AndroidKeyStoreKeyPairGeneratorSpi301 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 …]
66177 Landroid/security/keystore/AndroidKeyStoreKeyGeneratorSpi;->mKeySizeBits:I66214 Landroid/security/keystore/AndroidKeyStoreKeyPairGeneratorSpi;->mKeySizeBits:I