[strongSwan] need for openssl plugin use case

Andreas Steffen andreas.steffen at strongswan.org
Wed Oct 5 16:25:24 CEST 2016

Hi Ravi,

the crypto and signature functions are registered by the
openssl_plugin.c code, e.g. via the openssl_crypter_create()


or the openssl_rsa_private_key_load() function


crypters are instantiated using the global method


made available by libstrongswan. An example can be found here:


RSA private keys can be instantiated using the global method


made available by libstrongswan. An example can be found here:


Hope this helps.


On 05.10.2016 15:29, Ravi Kanth Vanapalli wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.strongswan.org
> https://lists.strongswan.org/mailman/listinfo/users

Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Open Source VPN Solution!          www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3859 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20161005/a91afec8/attachment.bin>

More information about the Users mailing list