Re: overriding EVP_PKEY method callbacks for a specific key only

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

 



Hi,

On Mon, Oct 15, 2018 at 4:19 PM Dmitry Belyavsky <beldmit@xxxxxxxxx> wrote:
Well, you can use opaque pointer and own structure containing a flag and switch between native and custom implementations depending on it.

I've tried it and it works

We do store some state information in the method app_data, so singling out calls for our key is not hard. So, it would be necessary to check this in both sign_init() and sign() and call the default implementations of both as/when required, right? Will test it out.

Is there any plan to expose per-key EVP_PKEY_METHODs in the API?

Thanks,

Selva
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[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