]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/gost3411_2012.py
Split 34.11-2012 on two separate 256/512 bit modules and HMAC test vectors
[pygost.git] / pygost / gost3411_2012.py
index 5bda13500181beef1584f9121a75797e540f6500..cea2bb59242260fadd63bf0ae7bbd1849a1db40f 100644 (file)
@@ -14,7 +14,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
-""" GOST R 34.11-2012 (Streebog) hash function
+""" GOST R 34.11-2012 (Streebog) hash function common files
 
 This is implementation of :rfc:`6986`. Most function and variable names are
 taken according to specification's terminology.
@@ -274,7 +274,3 @@ class GOST34112012(PEP247):
 
     def hexdigest(self):
         return hexenc(self.digest())
-
-
-def new(data=b'', digest_size=64):
-    return GOST34112012(data, digest_size)