Skip to content

Commit f8b021f

Browse files
fix: correct GOST 28147 algorithm names (#921)
## Summary Corrects misspelled GOST 28147 algorithm patterns in `schema/cryptography-defs.json`. ## Changes Updates: - `GOST38147[-{mode}][-{padding}]` to `GOST28147[-{mode}][-{padding}]` - `GOST38147_MAC` to `GOST28147_MAC` ## Rationale RFC 4357 defines the block cipher as GOST 28147-89. The previous patterns used `38147`, which appears to be a typo. ## Validation - Validated `schema/cryptography-defs.json` - Verified no `GOST38147` references remain under `schema` Fixes #920
2 parents 3749afd + c2466ad commit f8b021f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

schema/cryptography-defs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@
970970
"url": "https://doi.org/10.17487/RFC4357"
971971
}
972972
],
973-
"pattern": "GOST38147[-{mode}][-{padding}]",
973+
"pattern": "GOST28147[-{mode}][-{padding}]",
974974
"primitive": "block-cipher"
975975
},
976976
{
@@ -980,7 +980,7 @@
980980
"url": "https://doi.org/10.17487/RFC4357"
981981
}
982982
],
983-
"pattern": "GOST38147_MAC",
983+
"pattern": "GOST28147_MAC",
984984
"primitive": "mac"
985985
}
986986
]

0 commit comments

Comments
 (0)