Searched refs:outlen (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 861 size_t outlen; in LocalRsaEncryptMessage() local 862 if (EVP_PKEY_encrypt(ctx.get(), nullptr /* out */, &outlen, in LocalRsaEncryptMessage() 873 if (padding == PaddingMode::NONE && to_encrypt_len < outlen) { in LocalRsaEncryptMessage() 874 zero_padded_message.reset(new string(outlen, '\0')); in LocalRsaEncryptMessage() 875 memcpy(zero_padded_message->data() + (outlen - to_encrypt_len), message.data(), in LocalRsaEncryptMessage() 878 to_encrypt_len = outlen; in LocalRsaEncryptMessage() 882 string output(outlen, '\0'); in LocalRsaEncryptMessage() 883 if (EVP_PKEY_encrypt(ctx.get(), reinterpret_cast<uint8_t*>(output.data()), &outlen, to_encrypt, in LocalRsaEncryptMessage()
|