Hi Stephan, > But then I need to refine my question: isn't rsa_parse_priv_key allocating > the > MPIs (at least rsa_parse_priv_key seems to hint to that considering the > error > code path)? So, shouldn't the MPIs be freed here with free_mpis()? This > would > apply to parse_pub_key too. rsa_parse_priv_key is not allocating the MPIs, mpi_read_raw_data is. MPIs are freed on error path. On success, they are freed when exiting the tfm or when setting a new key. Thanks, ta -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html