aboutsummaryrefslogtreecommitdiff
path: root/README.gost
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-05-10 17:37:49 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-10 17:37:49 +0300
commitf6ef1ec72ce8795cfbfb50ca9bd99a52483a9abd (patch)
treeabcfa298c9f165838a99090e39ee5bcfa970e833 /README.gost
parentea599c11e431540582ccc6ca785ea6579fa248fc (diff)
downloadgost-engine-f6ef1ec72ce8795cfbfb50ca9bd99a52483a9abd.zip
gost-engine-f6ef1ec72ce8795cfbfb50ca9bd99a52483a9abd.tar.gz
gost-engine-f6ef1ec72ce8795cfbfb50ca9bd99a52483a9abd.tar.bz2
Update the HMAC calculation example
Fix #244
Diffstat (limited to 'README.gost')
-rw-r--r--README.gost2
1 files changed, 1 insertions, 1 deletions
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