X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=gost3410%2Fukm.go;h=5e8a55783b50ac33208780b2d8d725f924dc3778;hb=HEAD;hp=f9945a9ceeda6f07738be48281e72eb26424f988;hpb=c40d1e5634cf6d540d908a57423f4b504e39f186;p=gogost.git diff --git a/gost3410/ukm.go b/gost3410/ukm.go index f9945a9..368b88f 100644 --- a/gost3410/ukm.go +++ b/gost3410/ukm.go @@ -1,5 +1,5 @@ // GoGOST -- Pure Go GOST cryptographic functions library -// Copyright (C) 2015-2020 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++ {