X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=openssl-gost%2Fengine.git;a=blobdiff_plain;f=gost_grasshopper_math.h;h=91f276fd3bf36122992fcc76d96af531380fcf6d;hp=87d1265267b7e150e7bb266a84e6339cfafe05a4;hb=HEAD;hpb=ec0ca76a5958c943eef76f1be2da444ab67ae2f4 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++) {