> What are the modifications should I need to do so as to use > APIs (supplied by Octeon Core Crypto Library) instead of OpenSSL's APIs?
If this crypto library works independent of OpenSSL, you should write your own libstrongswan crypto plugin providing DH functionality using these functions. To write a DH backend, you'd have to implement the diffie_hellman_t interface [1]. You can have a look at our openssl plugin [2] to see how this can be done using that OpenSSL style API. Then you'll need a plugin_t instance that registers your interface constructor for your groups at libstrongswan. The gmp plugin is a simpler example that does that, just ignore all the RSA stuff if you don't need it. Regards Martin [1]http://git.strongswan.org/?p=strongswan.git;a=blob;f=src/libstrongswan/crypto/diffie_hellman.h [2]http://git.strongswan.org/?p=strongswan.git;a=blob;f=src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c [3]http://git.strongswan.org/?p=strongswan.git;a=tree;f=src/libstrongswan/plugins/gmp _______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
