From: Dmitry Belyavskiy <beldmit@gmail.com>
Date: Sun, 10 May 2020 14:37:49 +0000 (+0300)
Subject: Update the HMAC calculation example
X-Git-Tag: v3.0.0~121
X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=f6ef1ec72ce8795cfbfb50ca9bd99a52483a9abd;p=openssl-gost%2Fengine.git

Update the HMAC calculation example

Fix #244
---

diff --git a/README.gost b/README.gost
index 3579665..65544b9 100644
--- a/README.gost
+++ b/README.gost
@@ -152,7 +152,7 @@ Russian clients and RSA/DSA ciphersuites for foreign clients.
  
  Calculation of HMAC based on GOST R 34.11-94
 
- openssl dgst -md_gost94 -mac hmac -macopt key:<32 bytes of key> datafile
+ openssl dgst -md_gost94 -hmac <32 bytes of key> datafile
   
   (or use hexkey if key contain NUL bytes)
  Calculation of GOST 28147 MAC