Re: RSA provider use example

2021-09-24 Thread Antonio Santagiuliana
ated, how is this rsa_priv_dec pointer set up?where is the set up of it? Thank you On Fri, 24 Sep 2021, 15:02 Matt Caswell, wrote: > > > On 24/09/2021 14:49, Antonio Santagiuliana wrote: > > Hello , thank you all for the replies. Very useful. > > I have seen in Openssl/crypto/

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-13 Thread Antonio Santagiuliana
r issues may be related. > > BR > Piotr > ---------- > *Od:* Antonio Santagiuliana > *Wysłane:* wtorek, 12 października 2021 10:50 > *Do:* Piotr Lobacz ; openssl-users@openssl.org > > *Temat:* Re: Store Mgmt and keys loading ( keyform ENG ) > >

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-08 Thread Antonio Santagiuliana
ain ( I am on the dgst command ) not caring about private key but carry on with operation?or can I avoid calling the callback? Thank you On Thu, 7 Oct 2021, 09:47 Antonio Santagiuliana, wrote: > It is because of prototypes of methods.. > > On Thu, 7 Oct 2021, 08:49 Antonio Santagiulian

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-12 Thread Antonio Santagiuliana
and read my issue maybe it will help you in solving yours. > > BR > Piotr > -- > *Od:* openssl-users w imieniu > użytkownika Antonio Santagiuliana > *Wysłane:* piątek, 8 października 2021 10:34 > *Do:* Tomas Mraz > *DW:* openssl-users@openssl.org &

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-12 Thread Antonio Santagiuliana
ossl_store_handle_load_result as fixed callback method when calling the load of store mgmt. If that callback is not called , it will complain as no private key is possible to read. On Tue, Oct 12, 2021 at 9:22 AM Antonio Santagiuliana < santantonios...@gmail.com> wrote: >

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-04 Thread Antonio Santagiuliana
Forgot to write, I am using Openssl 3.0. Thank you On Mon, 4 Oct 2021, 12:12 Antonio Santagiuliana, wrote: > Hello, > I am doing my own provider starting from the default provider's code. > I have now a question, I am seeing the STOREMGMT operation is required to > interpret the

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-04 Thread Antonio Santagiuliana
would like to achieve the same as FORMAT_ENGINE does, but with provider. On Mon, 4 Oct 2021, 12:12 Antonio Santagiuliana, wrote: > Hello, > I am doing my own provider starting from the default provider's code. > I have now a question, I am seeing the STOREMGMT operation is required to &g

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-04 Thread Antonio Santagiuliana
PI > or the d2i/PEM_read APIs. > > Tomas > > On Mon, 2021-10-04 at 13:56 +0100, Antonio Santagiuliana wrote: > > I checked the sources, I found that keyform cannot be set to ENGINE > > if engine is not specified in the command options, this is in the > > functi

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-07 Thread Antonio Santagiuliana
ods I registered for the store or is something related to the uri scheme I am using ? Sorry but I couldn't find more info on this in the sources/docs . thank you On Mon, Oct 4, 2021 at 4:52 PM Antonio Santagiuliana wrote: > > OK, thank you very much for your comments, that's clear. > > On

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-07 Thread Antonio Santagiuliana
It is because of prototypes of methods.. On Thu, 7 Oct 2021, 08:49 Antonio Santagiuliana, wrote: > Hello, > just continuing on this.. > I defined my store mgmt as : > static const OSSL_ALGORITHM test_store[] = { > { "handle", "provider=test", myst

[no subject]

2021-09-21 Thread Antonio Santagiuliana
Hello I was wondering how to migrate to a provider for Openssl 3.0 an engine for openssl 1.0.2 that was simply defining on an RSA_METHOD structure the method for modular exponentiation for RSA and getting call parameters from RSA_get_ex_data(), in order then to use an hw accelerator. Other methods

RSA_METHOD on provider

2021-09-21 Thread Antonio Santagiuliana
Hello I was wondering how to migrate to a provider for Openssl 3.0 an engine for openssl 1.0.2 that was simply defining on an RSA_METHOD structure the method for modular exponentiation for RSA and getting call parameters from RSA_get_ex_data(), in order then to use an hw accelerator. Other methods

Re: Store Mgmt and keys loading ( keyform ENG )

2021-10-04 Thread Antonio Santagiuliana
how the openssl application does it. > > Tomas > > On Mon, 2021-10-04 at 15:39 +0100, Antonio Santagiuliana wrote: > > Thank you for your comment. > > Am I wrong then in saying that dgst and possibly other apps are not > > ready to be used with providers ra

Store Mgmt and keys loading ( keyform ENG )

2021-10-04 Thread Antonio Santagiuliana
Hello, I am doing my own provider starting from the default provider's code. I have now a question, I am seeing the STOREMGMT operation is required to interpret the URI of input private key, I would like that the string passed by the user for input key is not interpret as file to open but just my

RSA provider use example

2021-09-24 Thread Antonio Santagiuliana
Hello Is there any app or command in the current Openssl master repository that initialises and uses the new RSA provider? I would like to see how the RSA* context parameter is filled in and used, but I can't find an example using the RSA provider. Thank you

Re: RSA provider use example

2021-09-24 Thread Antonio Santagiuliana
> An example of building an RSA key from its constituent parts is > available on the EVP_PKEY_fromdata() man page: > > https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_fromdata.html > > Matt > > > > > > > > Pauli > > > > > > On 24/9/21