Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc433 jbooleanArray ASN1BitStringToBooleanArray(JNIEnv* env, const ASN1_BIT_STRING* bitStr) { in ASN1BitStringToBooleanArray() argument
434 int size = ASN1_STRING_length(bitStr) * 8; in ASN1BitStringToBooleanArray()
435 if (bitStr->flags & ASN1_STRING_FLAG_BITS_LEFT) { in ASN1BitStringToBooleanArray()
436 size -= bitStr->flags & 0x07; in ASN1BitStringToBooleanArray()
446 bitsArray[i] = static_cast<jboolean>(ASN1_BIT_STRING_get_bit(bitStr, static_cast<int>(i))); in ASN1BitStringToBooleanArray()
6076 bssl::UniquePtr<ASN1_BIT_STRING> bitStr( in NativeCrypto_get_X509_ex_kusage() local
6078 if (bitStr.get() == nullptr) { in NativeCrypto_get_X509_ex_kusage()
6084 return ASN1BitStringToBooleanArray(env, bitStr.get()); in NativeCrypto_get_X509_ex_kusage()