Re: [PATCH v3 21/25] mbedtls: add RSA helper layer on MbedTLS

2024-06-04 Thread Raymond Mao
Hi Ilias, On Fri, 31 May 2024 at 06:00, Ilias Apalodimas wrote: > Hi Raymond, > > [...] > > > + > > +/** > > + * rsa_parse_pub_key() - decodes the BER encoded buffer and stores in > the > > + * provided struct rsa_key, pointers to the raw > key as is, > > + *

Re: [PATCH v3 21/25] mbedtls: add RSA helper layer on MbedTLS

2024-05-31 Thread Ilias Apalodimas
Hi Raymond, [...] > + > +/** > + * rsa_parse_pub_key() - decodes the BER encoded buffer and stores in the > + * provided struct rsa_key, pointers to the raw key as > is, > + * so that the caller can copy it or MPI parse it, etc. > + * > + * @rsa_key:

[PATCH v3 21/25] mbedtls: add RSA helper layer on MbedTLS

2024-05-28 Thread Raymond Mao
Add RSA helper layer on top on MbedTLS PK and RSA library. Signed-off-by: Raymond Mao --- Changes in v2 - Initial patch. Changes in v3 - None. lib/mbedtls/Makefile | 1 + lib/mbedtls/rsa_helper.c | 99 2 files changed, 100 insertions(+) create mode