mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Fix SM wrap for large RAPDU.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -143,7 +143,7 @@ int sm_wrap() {
|
|||||||
if (sm_indicator == 0) {
|
if (sm_indicator == 0) {
|
||||||
return CCID_OK;
|
return CCID_OK;
|
||||||
}
|
}
|
||||||
uint8_t input[1024];
|
uint8_t input[4096];
|
||||||
size_t input_len = 0;
|
size_t input_len = 0;
|
||||||
memset(input, 0, sizeof(input));
|
memset(input, 0, sizeof(input));
|
||||||
mbedtls_mpi ssc;
|
mbedtls_mpi ssc;
|
||||||
|
|||||||
Reference in New Issue
Block a user