Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 11:55:57 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        alireza imani <ali64iust@gmail.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: how can i use 1)des.h 2)socket in kernel mode
Message-ID:  <51A6B79C-A031-4077-8C8D-0416E978D7E8@mac.com>
In-Reply-To: <AANLkTikF5kh4BNYJWuaMaoA6H_1320-93iERxV-WeqOL@mail.gmail.com>
References:  <AANLkTikF5kh4BNYJWuaMaoA6H_1320-93iERxV-WeqOL@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 23, 2011, at 4:44 AM, alireza imani wrote:
> i have some question about freebsd.
> how can i use des.h methods in kernel mode?
> and how can i use socket in kernel mode?
> 
> can you give me some source code about this or help me?

"man 9 crypto" and "man 9 socket" describe kernel interfaces to crypto (including CRYPTO_DES_CBC & CRYPTO_3DES_CBC) and kernel-level sockets.  However, if it's possible to do whatever it is that you want to do in userland rather than in the kernel, then you should avoid doing stuff inside the kernel unless you have compelling reasons.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A6B79C-A031-4077-8C8D-0416E978D7E8>