Re: EVP_MD_CTX_new - dynamic allocation

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

 



No, this is no longer possible. The contexts are completely internal
structures and thus it is not possible to declare them on stack.

Tomas Mraz, OpenSSL

On Thu, 2023-05-18 at 16:09 +0530, sushma s wrote:
> In OpenSSL 1.0, we could stack allocate EVP_MD_CTX. 
> 
> Now this is replaced with 'EVP_MD_CTX_new' which needs to be
> dynamically allocated. 
> 
> Are there any alternatives to 'EVP_MD_CTX_new' which enables us to
> continue to do a stack allocation for the digest routines. 
> 
> NOTE: we have some constraints wrt dynamic allocation in our work. 
> 
> Thanks.

-- 
Tomáš Mráz, OpenSSL





[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