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 || mKeySizeBits > 512) { in engineInit()[all …]
161 private int mKeySizeBits; field in AndroidKeyStoreKeyPairGeneratorSpi300 mKeySizeBits = spec.getKeySize(); in initialize()302 if (mKeySizeBits == -1) { in initialize()303 mKeySizeBits = getDefaultKeySize(keymasterAlgorithm); in initialize()305 checkValidKeySize(keymasterAlgorithm, mKeySizeBits, mSpec.isStrongBoxBacked()); in initialize()372 mKeySizeBits = 0; in resetAll()388 if (mKeySizeBits == -1) { in initAlgorithmSpecificParameters()389 mKeySizeBits = rsaSpec.getKeysize(); in initAlgorithmSpecificParameters()390 } else if (mKeySizeBits != rsaSpec.getKeysize()) { in initAlgorithmSpecificParameters()393 + ": " + mKeySizeBits + " vs " + rsaSpec.getKeysize()); in initAlgorithmSpecificParameters()[all …]
61844 Landroid/security/keystore/AndroidKeyStoreKeyGeneratorSpi;->mKeySizeBits:I61878 Landroid/security/keystore/AndroidKeyStoreKeyPairGeneratorSpi;->mKeySizeBits:I