shithub: blake2

Download patch

ref: 467c5446ac1cb7105f5b3e035761bdfc2193545c
parent: 3d6155ab1682e68c30f93064f988247508f55bbe
author: mjvk <29380294+mjvk@users.noreply.github.com>
date: Wed May 9 07:49:17 EDT 2018

Update blake2-impl.h

--- a/neon/blake2-impl.h
+++ b/neon/blake2-impl.h
@@ -72,8 +72,8 @@
   return w;
 #else
   const uint8_t *p = ( const uint8_t * )src;
-  return (( uint16_t )( p[0] ) <<  0) |
-         (( uint16_t )( p[1] ) <<  8) ;
+  return ( uint16_t )((( uint32_t )( p[0] ) <<  0) |
+                      (( uint32_t )( p[1] ) <<  8));
 #endif
 }
 
--