Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp2860 ScopedByteArrayRO labelBytes(env, labelJava); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label() local
2861 if (labelBytes.get() == nullptr) { in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label()
2865 bssl::UniquePtr<uint8_t> label(reinterpret_cast<uint8_t*>(OPENSSL_malloc(labelBytes.size()))); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label()
2866 memcpy(label.get(), labelBytes.get(), labelBytes.size()); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label()
2868 int result = EVP_PKEY_CTX_set0_rsa_oaep_label(pkeyCtx, label.get(), labelBytes.size()); in NativeCrypto_EVP_PKEY_CTX_set_rsa_oaep_label()