Searched refs:padded_input (Results 1 – 1 of 1) sorted by relevance
446 std::string padded_input; in TpmCompatibleOAEPEncrypt() local447 padded_input.resize(RSA_size(key)); in TpmCompatibleOAEPEncrypt()449 string_as_array(&padded_input)); in TpmCompatibleOAEPEncrypt()451 int result = RSA_padding_add_PKCS1_OAEP(padded_buffer, padded_input.size(), in TpmCompatibleOAEPEncrypt()459 output->resize(padded_input.size()); in TpmCompatibleOAEPEncrypt()462 result = RSA_public_encrypt(padded_input.size(), padded_buffer, in TpmCompatibleOAEPEncrypt()