]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Update the HMAC calculation example
authorDmitry Belyavskiy <beldmit@gmail.com>
Sun, 10 May 2020 14:37:49 +0000 (17:37 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sun, 10 May 2020 14:37:49 +0000 (17:37 +0300)
Fix #244

README.gost

index 3579665ba23fbfae128adb49beead98c7697eb18..65544b9170b4ee179ec8ff245ceae7fab5c71c85 100644 (file)
@@ -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