24346021 The test case test_pkcs11_evp failed
authorakshat.harit@oracle.com <akshat.harit@oracle.com>
Tue, 04 Oct 2016 15:53:56 -0700
changeset 7048 c1d43e41adeb
parent 7047 65ca2ca3ea90
child 7049 e8d705cba87d
24346021 The test case test_pkcs11_evp failed
components/openssl/common/engines/pkcs11/e_pk11.c
--- a/components/openssl/common/engines/pkcs11/e_pk11.c	Tue Sep 27 10:35:25 2016 -0700
+++ b/components/openssl/common/engines/pkcs11/e_pk11.c	Tue Oct 04 15:53:56 2016 -0700
@@ -557,7 +557,7 @@
 
 static EVP_CIPHER pk11_aes_128_ctr = {
 	NID_aes_128_ctr,
-	16, 16, 16,
+	1, 16, 16,
 	EVP_CIPH_CTR_MODE,
 	pk11_cipher_init,
 	pk11_cipher_do_cipher,
@@ -570,7 +570,7 @@
 
 static EVP_CIPHER pk11_aes_192_ctr = {
 	NID_aes_192_ctr,
-	16, 24, 16,
+	1, 24, 16,
 	EVP_CIPH_CTR_MODE,
 	pk11_cipher_init,
 	pk11_cipher_do_cipher,
@@ -583,7 +583,7 @@
 
 static EVP_CIPHER pk11_aes_256_ctr = {
 	NID_aes_256_ctr,
-	16, 32, 16,
+	1, 32, 16,
 	EVP_CIPH_CTR_MODE,
 	pk11_cipher_init,
 	pk11_cipher_do_cipher,