[Openswan Users] Openswan-3.0.06: KLIPS cryptoapi DIGEST

KokHow.Teh at infineon.com KokHow.Teh at infineon.com
Fri Nov 9 02:08:46 EST 2007


Hi;
	I see the following code snippet but it is not used anywhere in
the KLIPS kernel module. Please advise how can I use openswan to verify
DIGEST algo with KLIPS and my hardware crypto. As a side note, I have
successfully used the openswan-3.0.06 to verify CIPHER with my hardware
crypto without the need of OCF, thought the performance is not as good
as what is expected.

#ifdef NOT_YET
struct ipsec_alg_capi_digest {
        const char *digestname; /* cryptoapi's digestname */
        struct digest_implementation *di;
        struct ipsec_alg_auth alg;      /* note it's not a pointer */
};
static struct ipsec_alg_capi_digest alg_capi_darray[] = {
        { DIGESTNAME_MD5,     NULL, { ixt_common:{ ixt_support:{ ias_id:
AH_MD5, }}}},
        { DIGESTNAME_SHA1,    NULL, { ixt_common:{ ixt_support:{ ias_id:
AH_SHA, }}}},
        { NULL, NULL, {} }
};
#endif

	Thanks.

Regards,
KH


More information about the Users mailing list