summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nettle/cipher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c
index eab1a03588..e28c39038c 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -176,21 +176,21 @@ static void
_gost28147_set_key_cpb(void *ctx, const uint8_t *key)
{
gost28147_set_key(ctx, key);
- gost28147_set_param(ctx, &gost28147_param_CryptoPro_A);
+ gost28147_set_param(ctx, &gost28147_param_CryptoPro_B);
}
static void
_gost28147_set_key_cpc(void *ctx, const uint8_t *key)
{
gost28147_set_key(ctx, key);
- gost28147_set_param(ctx, &gost28147_param_CryptoPro_A);
+ gost28147_set_param(ctx, &gost28147_param_CryptoPro_C);
}
static void
_gost28147_set_key_cpd(void *ctx, const uint8_t *key)
{
gost28147_set_key(ctx, key);
- gost28147_set_param(ctx, &gost28147_param_CryptoPro_A);
+ gost28147_set_param(ctx, &gost28147_param_CryptoPro_D);
}
#endif