mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 07:12:02 +02:00
Save work on unit tests for crypto. RC4 and AES are having trouble for some reason...
This commit is contained in:
@@ -116,6 +116,7 @@ _pdfioCryptoAESInit(
|
||||
|
||||
// Clear context
|
||||
memset(ctx, 0, sizeof(_pdfio_aes_t));
|
||||
ctx->round_size = keylen / 4 + 6;
|
||||
|
||||
// The first round key is the key itself.
|
||||
memcpy(ctx->round_key, key, keylen);
|
||||
|
Reference in New Issue
Block a user