On 09/09/2015 12:13 PM, Stephan Mueller wrote: >> >Also a question regarding .get_len: for RSA with padding the minimum >> >dest buffer length depends on the input. What is that call supposed >> >to return in that case? > I would guess that the destination buffer minimum size should be RSA size > minus the minimum padding size. This way, the caller is always sure to get all > data without error. I think it should always be the size of modulo. -- 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