Fixing invalid signature with 3072 RSA bits in GemsafeV1
This commit is contained in:
parent
642a3ee734
commit
dbe932152d
|
@ -455,8 +455,8 @@ static int gemsafe_compute_signature(struct sc_card *card, const u8 * data,
|
||||||
{
|
{
|
||||||
int r, len;
|
int r, len;
|
||||||
struct sc_apdu apdu;
|
struct sc_apdu apdu;
|
||||||
u8 rbuf[SC_MAX_APDU_BUFFER_SIZE];
|
u8 rbuf[SC_MAX_APDU_BUFFER_SIZE + 257];
|
||||||
u8 sbuf[SC_MAX_APDU_BUFFER_SIZE];
|
u8 sbuf[SC_MAX_APDU_BUFFER_SIZE + 257];
|
||||||
sc_context_t *ctx = card->ctx;
|
sc_context_t *ctx = card->ctx;
|
||||||
|
|
||||||
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_VERBOSE);
|
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_VERBOSE);
|
||||||
|
|
Loading…
Reference in New Issue