]> Cypherpunks.ru repositories - gogost.git/blobdiff - gost3410/ukm.go
Slightly more endianness documentation
[gogost.git] / gost3410 / ukm.go
index dfb94eac1d12d7b1b58ef93e4a3a7a2a67f2f70f..772b178a80ccde5c58d990f2864423026673f4d0 100644 (file)
@@ -1,5 +1,5 @@
 // GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2021 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2023 Sergey Matveev <stargrave@stargrave.org>
 //
 // 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++ {