Searched refs:labelBytes (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeSsl.java | 137 byte[] labelBytes = label.getBytes(Charset.forName("US-ASCII")); in exportKeyingMaterial() 138 return NativeCrypto.SSL_export_keying_material(ssl, this, labelBytes, context, length); in exportKeyingMaterial()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeSsl.java | 138 byte[] labelBytes = label.getBytes(Charset.forName("US-ASCII")); in exportKeyingMaterial() 139 return NativeCrypto.SSL_export_keying_material(ssl, this, labelBytes, context, length); in exportKeyingMaterial()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 3186 ScopedByteArrayRO labelBytes(env, labelJava); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() local 3187 if (labelBytes.get() == nullptr) { in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() 3191 bssl::UniquePtr<uint8_t> label(reinterpret_cast<uint8_t*>(OPENSSL_malloc(labelBytes.size()))); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() 3192 memcpy(label.get(), labelBytes.get(), labelBytes.size()); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() 3194 int result = EVP_PKEY_CTX_set0_rsa_oaep_label(pkeyCtx, label.get(), labelBytes.size()); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() 7617 ScopedByteArrayRO labelBytes(env, label); in NativeCrypto_SSL_export_keying_material() local 7618 if (labelBytes.get() == nullptr) { in NativeCrypto_SSL_export_keying_material() 7626 reinterpret_cast<const char*>(labelBytes.get()), labelBytes.size(), in NativeCrypto_SSL_export_keying_material() 7636 ssl, out.get(), num_bytes, reinterpret_cast<const char*>(labelBytes.get()), in NativeCrypto_SSL_export_keying_material() 7637 labelBytes.size(), reinterpret_cast<const uint8_t*>(contextBytes.get()), in NativeCrypto_SSL_export_keying_material()
|