Fix engine cryptodev: pointer to IV
[oweals/openssl.git] / crypto / blake2 / m_blake2s.c
index 01974d966c6b0fda9fc097863f9b1f8fc5b3d326..3fbb232e056a101b56cf099ea12f6699bcf2f174 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2012, Samuel Neves <sneves@dei.uc.pt>.
  * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
  *
- * Licensed under the OpenSSL licenses, (the "License");
+ * Licensed under the OpenSSL licenses (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * https://www.openssl.org/source/license.html
@@ -21,7 +21,7 @@
 
 # include <openssl/evp.h>
 # include <openssl/objects.h>
-# include "internal/blake2_locl.h"
+# include "blake2_locl.h"
 # include "internal/evp_int.h"
 
 static int init(EVP_MD_CTX *ctx)
@@ -49,7 +49,7 @@ static const EVP_MD blake2s_md = {
     final,
     NULL,
     NULL,
-    0,
+    BLAKE2S_BLOCKBYTES,
     sizeof(EVP_MD *) + sizeof(BLAKE2S_CTX),
 };