From 74d0166682a70042b29eaa763721e14defd7fed2 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 6 Jun 2024 17:08:37 +0100 Subject: [PATCH] Fixed GOST sBox arg bug --- src/core/operations/GOSTDecrypt.mjs | 2 +- src/core/operations/GOSTEncrypt.mjs | 2 +- src/core/operations/GOSTKeyUnwrap.mjs | 2 +- src/core/operations/GOSTKeyWrap.mjs | 2 +- src/core/operations/GOSTSign.mjs | 2 +- src/core/operations/GOSTVerify.mjs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/operations/GOSTDecrypt.mjs b/src/core/operations/GOSTDecrypt.mjs index e9699f842..2e7467dae 100644 --- a/src/core/operations/GOSTDecrypt.mjs +++ b/src/core/operations/GOSTDecrypt.mjs @@ -56,7 +56,7 @@ class GOSTDecrypt extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)", diff --git a/src/core/operations/GOSTEncrypt.mjs b/src/core/operations/GOSTEncrypt.mjs index cb67476c6..82bdaeda0 100644 --- a/src/core/operations/GOSTEncrypt.mjs +++ b/src/core/operations/GOSTEncrypt.mjs @@ -56,7 +56,7 @@ class GOSTEncrypt extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)", diff --git a/src/core/operations/GOSTKeyUnwrap.mjs b/src/core/operations/GOSTKeyUnwrap.mjs index 7a3e29cb3..52b0a9ecb 100644 --- a/src/core/operations/GOSTKeyUnwrap.mjs +++ b/src/core/operations/GOSTKeyUnwrap.mjs @@ -56,7 +56,7 @@ class GOSTKeyUnwrap extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)", diff --git a/src/core/operations/GOSTKeyWrap.mjs b/src/core/operations/GOSTKeyWrap.mjs index d86920239..443c9ba04 100644 --- a/src/core/operations/GOSTKeyWrap.mjs +++ b/src/core/operations/GOSTKeyWrap.mjs @@ -56,7 +56,7 @@ class GOSTKeyWrap extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)", diff --git a/src/core/operations/GOSTSign.mjs b/src/core/operations/GOSTSign.mjs index d83caab7a..2af850e79 100644 --- a/src/core/operations/GOSTSign.mjs +++ b/src/core/operations/GOSTSign.mjs @@ -56,7 +56,7 @@ class GOSTSign extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)", diff --git a/src/core/operations/GOSTVerify.mjs b/src/core/operations/GOSTVerify.mjs index 085a46c23..2fa362fba 100644 --- a/src/core/operations/GOSTVerify.mjs +++ b/src/core/operations/GOSTVerify.mjs @@ -57,7 +57,7 @@ class GOSTVerify extends Operation { value: [ { name: "GOST 28147 (1989)", - on: [6] + on: [5] }, { name: "GOST R 34.12 (Magma, 2015)",