Tidied up Streebog operation, splitting out GOST hash into a separate op.

This commit is contained in:
n1474335 committed 2019-07-03 17:23:45 +01:00
1 parent 666c447e36
commit 99f4091c1a
11 files changed
+33 -77

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1192,8 +1192,8 @@ function GostDigest(algorithm) // <editor-fold defaultstate="collapsed">
// Define chiper algorithm
this.sBox = (algorithm.sBox || (algorithm.procreator === 'SC' ? 'D-SC' : 'D-A')).toUpperCase();
if (!GostCipher)
GostCipher = root.GostCipher;
//if (!GostCipher)
// GostCipher = root.GostCipher;
if (!GostCipher)
throw new NotSupportedError('Object GostCipher not found');
File renamed without changes.
File renamed without changes.
File renamed without changes.