Re: [PATCH 4/8] crypto: akcipher - Changes to asymmetric key API

From
Tadeusz Struk <hidden>
Date
2015-09-09 19:37:37
Reply to
Stephan Mueller, 2015-09-09
On 09/09/2015 12:13 PM, Stephan Mueller wrote:
quoted
quoted
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.
Thread (32 messages) 32 messages, 4 authors, 2015-09-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help