SIGSEGV from EVP_MAC_CTX_get_mac_size()

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

 



I have a fresh ctx using cmac with AES-128-CBC all ready to go.
No key yet.

If I call EVP_MAC_CTX_get_mac_size(), I get a SIGSEGV.
If I call EVP_MAC_init() with a key first, it works.

Is this a bug?  Is there a setup step I've missed?


This is from OpenSSL 3.1.1 on Fedora:
#0  0x00007ffff7b88d14 in EVP_CIPHER_get_block_size ()
   from /lib64/libcrypto.so.3
#1  0x00007ffff7c8066f in cmac_get_ctx_params.lto_priv ()
   from /lib64/libcrypto.so.3
#2  0x00007ffff7b96b24 in get_size_t_ctx_param () from /lib64/libcrypto.so.3
#3  0x0000000000401441 in main ()




-- 
These are my opinions.  I hate spam.






[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