Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2012 09:35:40 -0800
From:      Patrick Mahan <PMahan@adaranet.com>
To:        aram baghomian <aram_baghomian@hotmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   RE: crypto module
Message-ID:  <32AB5C9615CC494997D9ABB1DB12783C02D685B803@SJ-EXCH-1.adaranet.com>
In-Reply-To: <SNT140-W4888C9985D7F72B14B339AE7730@phx.gbl>
References:  <SNT140-W4888C9985D7F72B14B339AE7730@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
>-----Original Message-----
>From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-
>hackers@freebsd.org] On Behalf Of aram baghomian
>Sent: Wednesday, February 01, 2012 6:54 AM
>To: freebsd-hackers@freebsd.org
>Subject: crypto module
>
>
>
>
>
>Hi,
>
>I want to know which kernel modules keep the information about implemented
>algorithms
>in crypto.ko.
>for example in linux there is xfrm_algo modules that keep the information
>about
>these algorithms.
>
>

No, the algorithms are access via statically allocated structures
defined in sys/opencrypto/xform.c

Not that there couldn't be one written, but the xforms would need
to be dynamically done and have each crypto algorithm register
themselves.

Patrick
----------------------------------------------------
Patrick Mahan
Lead Technical Kernel Engineer
Adara Networks
Disclaimer: The opinions expressed here are solely the responsibility of th=
e author and are not to be
construed as an official opinion of Adara Networks.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32AB5C9615CC494997D9ABB1DB12783C02D685B803>