Re: On reference counting keydata returned from keymgmt_load()

2021-09-13 Thread Selva Nair
Hi, Replying to self.. On Mon, Sep 13, 2021 at 10:08 PM Selva Nair wrote: > Hi, > > When an EVP_PKEY is created with some custom data, provider's > keymgmt_load() gets called. I want to keep a reference count on the keydata > returned from it. But there is no call to keymgmt_free() or anything

On reference counting keydata returned from keymgmt_load()

2021-09-13 Thread Selva Nair
Hi, When an EVP_PKEY is created with some custom data, provider's keymgmt_load() gets called. I want to keep a reference count on the keydata returned from it. But there is no call to keymgmt_free() or anything similar when the EVP_PKEY is freed. How does one keep track of references to keydata?