chiark / gitweb /
rsa1: Provide rsa1_loadpriv function
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Oct 2019 21:56:08 +0000 (22:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 17:08:52 +0000 (17:08 +0000)
commite384ca91758d4e9514b8e13ec4006666fb646e1e
treeef225b3847022c12019cc3dac2dedd8890c1e5fe
parent002adda2d0d364445a9d50318c31a775c5cb6067
rsa1: Provide rsa1_loadpriv function

We use the rsapriv_load_ctx infrastructure to provide a key loading
function suiting the scheme loadpriv interface.

I chose to use fmemopen because it is convenient.  We have an
autoconf-based portability fixup for eg BSDs (i.e., an implementation
in terms of funopen).

This is going to go in the schemes table.  It is not hooked in yet, so
won't be called.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
rsa.c
secnet.h