RFC Errata
RFC 5831, "GOST R 34.11-94: Hash Function Algorithm", March 2010
Note: This RFC has been updated by RFC 6986
Source of RFC: INDEPENDENTSee Also: RFC 5831 w/ inline errata
Errata ID: 4262
Status: Verified
Type: Editorial
Publication Format(s) : TEXT
Reported By: Andrey Pilsky
Date Reported: 2015-02-05
Verifier Name: Nevil Brownlee
Date Verified: 2015-02-17
Section 7.3.2. says:
STEP 3. H = 95BEA0BE 88D5AA02 FE3C9D45 436CE821 B8287CB6 2CBC135B 3E339EFE F6576CA9 L = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000190 K[1] = 95FEB83E BE3C2833 A09D7C9E BE45B6FE 88432CF6 D56CBC57 AAE8136D 02215B39 K[2] = 8695FEB8 1BBE3C28 E2A09D7C 48BE45B6 DA88432C EBD56CBC 7FABE813 F292215B K[2] = 8695FEB8 1BBE3C28 E2A09D7C 48BE45B6 DA88432C EBD56CBC 7FABE813 F292215B K[3] = B9799501 141B413C 1EE2A062 0CB74145 6FDA88BC D0142A6C FA80AA16 15F2FDB1
It should say:
STEP 3. H = 95BEA0BE 88D5AA02 FE3C9D45 436CE821 B8287CB6 2CBC135B 3E339EFE F6576CA9 L = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000190 K[1] = 95FEB83E BE3C2833 A09D7C9E BE45B6FE 88432CF6 D56CBC57 AAE8136D 02215B39 K[2] = 8695FEB8 1BBE3C28 E2A09D7C 48BE45B6 DA88432C EBD56CBC 7FABE813 F292215B K[3] = B9799501 141B413C 1EE2A062 0CB74145 6FDA88BC D0142A6C FA80AA16 15F2FDB1
Notes:
You need to remove the double K[2]