Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp395 std::unique_ptr<string> zero_padded_message; in LocalRsaEncryptMessage() local
397 zero_padded_message.reset(new string(outlen, '\0')); in LocalRsaEncryptMessage()
398 memcpy(zero_padded_message->data() + (outlen - to_encrypt_len), message.data(), in LocalRsaEncryptMessage()
400 to_encrypt = reinterpret_cast<const uint8_t*>(zero_padded_message->data()); in LocalRsaEncryptMessage()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp1192 std::unique_ptr<string> zero_padded_message; in LocalRsaEncryptMessage() local
1194 zero_padded_message.reset(new string(outlen, '\0')); in LocalRsaEncryptMessage()
1195 memcpy(zero_padded_message->data() + (outlen - to_encrypt_len), message.data(), in LocalRsaEncryptMessage()
1197 to_encrypt = reinterpret_cast<const uint8_t*>(zero_padded_message->data()); in LocalRsaEncryptMessage()