X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=gost3410%2Fukm.go;h=368b88fb43c8650b3f59685285f6e5d44e967605;hb=d681002980ca0b115936a6e217de5649bb8966d3;hp=ab6fab6b71d35f2008fc500a419be4fd143c94fd;hpb=5afe1dcbfaf1043ed9e72e215a285966eaba3369;p=gogost.git diff --git a/gost3410/ukm.go b/gost3410/ukm.go index ab6fab6..368b88f 100644 --- a/gost3410/ukm.go +++ b/gost3410/ukm.go @@ -1,5 +1,5 @@ // GoGOST -- Pure Go GOST cryptographic functions library -// Copyright (C) 2015-2023 Sergey Matveev +// Copyright (C) 2015-2024 Sergey Matveev // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -19,6 +19,7 @@ import ( "math/big" ) +// Unmarshal little-endian UKM value. func NewUKM(raw []byte) *big.Int { t := make([]byte, len(raw)) for i := 0; i < len(t); i++ {