Subject: Re: Device or pseudo-device for CPU crypto?
To: None <danieldk@pobox.com>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 01/11/2007 11:16:33
--x4r6DwZcugHrY484
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 11, 2007 at 04:44:57AM -0500, danieldk@pobox.com wrote:
> Hi,
>=20
> I have tried to port OpenBSD support for the VIA Padlock AES logic. It
> seems to be working well now. I am cleaning up the code now and am not
> sure how to represent this. The Padlock is not really a device, since it
> is just an additional CPU instruction. I would call it a pseudo-device,
> though I haven't seen (m)any hardware-bound pseudodevices.
>=20
> At any rate, the code requires opencrypto to be initialized (to register
> itself), and rnd.
>=20
> Any ideas?

Neither?  Why just making it a defflag doesn't fulfill all the
requirements?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--x4r6DwZcugHrY484
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRaYOgdgoQloHrPnoAQJQLgf/UbsT2IXzcJcngJ5wvTQNk9T1vEKCEYiL
BhOoaJEFW1HQ0MgXAIf0WBYZqObtXyRs5i97BMbeU2K/QngRgqhjJ/S8vvLxQl6x
/35yz7QJx+L0Gpu8Oy0Y1OtKQqeBOpTfHINR4fp4WDJpE3KWKBSi8RkUWcMSWtpJ
vmQuGj2DtrA+8L4lM8w7SPrlbI/SW1Upzuuv3l1ZxHoY/yxDw9Rq+RLKy+1uDTTL
iWaEqiG+tJ23YIguUlIk4cvm8VBGuc70U2/YHqNE936QOf/F0PAQ9IJiM64wHGa2
1W8vX6/hebjSNZkumPqoAUqCeUas6J6hJPO11vL0M1QqHUMLkTYb5w==
=wt+5
-----END PGP SIGNATURE-----

--x4r6DwZcugHrY484--