Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc445 std::string padded_input; in TpmCompatibleOAEPEncrypt() local
446 padded_input.resize(RSA_size(key)); in TpmCompatibleOAEPEncrypt()
448 reinterpret_cast<unsigned char*>(string_as_array(&padded_input)); in TpmCompatibleOAEPEncrypt()
450 int result = RSA_padding_add_PKCS1_OAEP(padded_buffer, padded_input.size(), in TpmCompatibleOAEPEncrypt()
458 output->resize(padded_input.size()); in TpmCompatibleOAEPEncrypt()
461 result = RSA_public_encrypt(padded_input.size(), padded_buffer, output_buffer, in TpmCompatibleOAEPEncrypt()