Home
last modified time | relevance | path

Searched refs:keySizeBits (Results 1 – 7 of 7) 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.java37 private int keySizeBits; field in KeyGeneratorImpl
41 this.keySizeBits = defaultKeySizeBits; in KeyGeneratorImpl()
69 this.keySizeBits = keySize; in engineInit()
85 return new SecretKeySpec(doKeyGeneration((keySizeBits + 7) / 8), algorithm); in engineGenerateKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptCmac.c70 cState->keySizeBits = def->keyBits.sym; in CryptCmacStart()
100 UINT16 keySizeInBits = cmacState->keySizeBits; in CryptCmacData()
141 UINT16 keySizeInBits = cState->keySizeBits; in CryptCmacEnd()
DCryptEccMain.c125 keySizeInBits = (curve != NULL) ? curve->keySizeBits : 0; in CryptEccGetKeySizeForCurve()
414 parameters->keySize = curve->keySizeBits; in CryptEccGetParameters()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptEcc.h49 const UINT16 keySizeBits; member
DCryptHash.h73 UINT16 keySizeBits; member
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3484 jint keySizeBits) { in NativeCrypto_EVP_CIPHER_CTX_set_key_length() argument
3487 JNI_TRACE("EVP_CIPHER_CTX_set_key_length(%p, %d)", ctx, keySizeBits); in NativeCrypto_EVP_CIPHER_CTX_set_key_length()
3494 if (!EVP_CIPHER_CTX_set_key_length(ctx, static_cast<unsigned int>(keySizeBits))) { in NativeCrypto_EVP_CIPHER_CTX_set_key_length()
3500 JNI_TRACE("EVP_CIPHER_CTX_set_key_length(%p, %d) => success", ctx, keySizeBits); in NativeCrypto_EVP_CIPHER_CTX_set_key_length()