RSA_NO_PADDING can be used when message length exactly matches the length of
the asymmetric key. As for now no digest can produce matching output so only
plain asymmetric operation without digest supports it. RSA_SSLV23_PADDING can
be used in asymmetric encryption only.
Change-Id: I9f4b84086bf150994f5eb5cc270203cf8834b683
padding = *(yaca_padding_e *)(value);
- // TODO: investigate whether it's possible to set
- // RSA_NO_PADDING or RSA_SSLV23_PADDING in some cases
switch (padding) {
case YACA_PADDING_X931:
pad = RSA_X931_PADDING;