Discussion:
[strongSwan-dev] need for openssl plugin use case
Ravi Kanth Vanapalli
2016-10-05 13:29:41 UTC
Permalink
Hi,
I have one query regarding the use of openssl plugin.

I want to write an android plugin which makes use of strongswan openssl
plugin more specifically I was looking to use
'openssl_rsa_private_key_load' in openssl.

From the link below
https://wiki.strongswan.org/projects/strongswan/wiki/Pluginlist

openssl s Crypto backend based on OpenSSL, provides
RSA/ECDSA/DH/ECDH/ciphers/hashers/HMAC/X.509/CRL/RNG


But in the strongswan-master code repo, i see no reference to open-ssl
plugin .

eg. openssl_crypter_create function in openssl_crypter.c

I am expecting this crypter to be created in someother module which needs
to encrypt.
I see no references to any code calling openssl_crypter_create.

Kindly provide me code references how to use API's provided by openssl
plugin.
Any sample example would be highly appreciated.
--
Regards,
RaviKanth
Tobias Brunner
2016-10-05 14:15:44 UTC
Permalink
Hi,
Post by Ravi Kanth Vanapalli
But in the strongswan-master code repo, i see no reference to open-ssl
plugin .
eg. openssl_crypter_create function in openssl_crypter.c
That's the whole point of our plugin system. All this is hidden from
the users in other components, they just create a crypter of a specific
type and key size via lib->crypto->create_crypter(). They don't care
what plugin provides it or how it is implemented. You'll find lots of
examples if you search for create_crypter() calls.

Regards,
Tobias

Loading...