diff options
Diffstat (limited to 'cmd/pk11gcmtest/pk11gcmtest.c')
-rw-r--r-- | cmd/pk11gcmtest/pk11gcmtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/pk11gcmtest/pk11gcmtest.c b/cmd/pk11gcmtest/pk11gcmtest.c index 1f436953a..c07d22024 100644 --- a/cmd/pk11gcmtest/pk11gcmtest.c +++ b/cmd/pk11gcmtest/pk11gcmtest.c @@ -39,7 +39,7 @@ aes_encrypt_buf( const unsigned char *iv, unsigned int ivsize, unsigned char *output, unsigned int *outputlen, unsigned int maxoutputlen, const unsigned char *input, unsigned int inputlen, - const unsigned char *aad, unsigned int aadlen, unsigned int tagsize) + const unsigned char *aad, unsigned int aadlen, unsigned int tagsize) { SECStatus rv = SECFailure; SECItem key_item; @@ -135,7 +135,7 @@ aes_decrypt_buf( param.type = siBuffer; param.data = (unsigned char *) &gcm_params; param.len = sizeof(gcm_params); - + if (PK11_Decrypt(symKey, CKM_AES_GCM, ¶m, output, outputlen, maxoutputlen, concatenated, inputlen + tagsize) != SECSuccess) { |