Fix SM wrap for large RAPDU.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
823c1d53ea
commit
22c9b7321b
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ int sm_wrap() {
|
|||
if (sm_indicator == 0) {
|
||||
return CCID_OK;
|
||||
}
|
||||
uint8_t input[1024];
|
||||
uint8_t input[4096];
|
||||
size_t input_len = 0;
|
||||
memset(input, 0, sizeof(input));
|
||||
mbedtls_mpi ssc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue