Home
last modified time | relevance | path

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

/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyGeneratorImpl.java35 private int keySizeBits; field in KeyGeneratorImpl
39 this.keySizeBits = defaultKeySizeBits; in KeyGeneratorImpl()
67 this.keySizeBits = keySize; in engineInit()
83 return new SecretKeySpec(doKeyGeneration((keySizeBits + 7) / 8), algorithm); in engineGenerateKey()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DKeyGeneratorImpl.java38 private int keySizeBits; field in KeyGeneratorImpl
42 this.keySizeBits = defaultKeySizeBits; in KeyGeneratorImpl()
70 this.keySizeBits = keySize; in engineInit()
86 return new SecretKeySpec(doKeyGeneration((keySizeBits + 7) / 8), algorithm); in engineGenerateKey()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3417 jint keySizeBits) { in NativeCrypto_EVP_CIPHER_CTX_set_key_length() argument
3420 JNI_TRACE("EVP_CIPHER_CTX_set_key_length(%p, %d)", ctx, keySizeBits); in NativeCrypto_EVP_CIPHER_CTX_set_key_length()
3427 if (!EVP_CIPHER_CTX_set_key_length(ctx, static_cast<unsigned int>(keySizeBits))) { in NativeCrypto_EVP_CIPHER_CTX_set_key_length()
3433 JNI_TRACE("EVP_CIPHER_CTX_set_key_length(%p, %d) => success", ctx, keySizeBits); in NativeCrypto_EVP_CIPHER_CTX_set_key_length()