Re: Blake2b with key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Answered my own questions:

$ openssl3 list -mac-algorithms
Provided MACs:
  BLAKE2bMAC @ default
  BLAKE2sMAC @ default
  CMAC @ default
  GMAC @ default
  HMAC @ default
  KMAC128 @ default
  KMAC256 @ default
  Poly1305 @ default
  SipHash @ default
$
$ echo -n "hello" | openssl3 mac -macopt key:secret blake2bmac

6EDF9AA44DFC7590DE00FCFDBE2F0D917CDEEB170301416929CC625D19D24EDC1040FF760C1F9BB61AD439A0AF5D492FBB01B46ED3FEB4E6076383B7885A9486
$


On 10/8/19, 11:03 AM, "Uri Blumenthal" <uri@xxxxxxxxxx> wrote:

     >   > Is keyed blake2b supported in openssl-dgst (latest OpenSSL release)?
        
     >   No, sorry.  It has been added for upcoming OpenSSL 3.0, though.
        
    Doesn't look like it's there:
    
    $ openssl3 version
    OpenSSL 3.0.0-dev xx XXX xxxx (Library: OpenSSL 3.0.0-dev xx XXX xxxx)
    $ echo -n "hello" | openssl3 dgst -blake2b512
    BLAKE2b512(stdin)= e4cfa39a3d37be31c59609e807970799caa68a19bfaa15135f165085e01d41a65ba1e1b146aeb6bd0092b49eac214c103ccfa3a365954bbbe52f74a2b3620c94
    $ echo -n "hello" | openssl3 dgst -blake2b512 -mac blake2bmac -macopt key:secret
    Algorithm blake2bmac not found
    $
    
    Besides, how does one print a list of supported MAC algorithms?
    
      
    
    
    

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux