X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_grasshopper_math.h;h=91f276fd3bf36122992fcc76d96af531380fcf6d;hb=7df766124f87768b43b9e8947c5a01e17545772c;hp=87d1265267b7e150e7bb266a84e6339cfafe05a4;hpb=1997dd99db27383a89d1f91bd4d7091b553ca6ee;p=openssl-gost%2Fengine.git diff --git a/gost_grasshopper_math.h b/gost_grasshopper_math.h index 87d1265..91f276f 100644 --- a/gost_grasshopper_math.h +++ b/gost_grasshopper_math.h @@ -66,7 +66,7 @@ static GRASSHOPPER_INLINE void grasshopper_zero128(grasshopper_w128_t* x) { static GRASSHOPPER_INLINE void grasshopper_copy128(grasshopper_w128_t* to, const grasshopper_w128_t* from) { #if(GRASSHOPPER_BITS == 8 || GRASSHOPPER_BITS == 16) - __builtin_memcpy(&to, &from, sizeof(w128_t)); + __builtin_memcpy(&to, &from, sizeof(grasshopper_w128_t)); #else int i; for (i = 0; i < GRASSHOPPER_BIT_PARTS; i++) {