Re: Adding Encryption Algorithm to Kernel

2014-04-02 Thread John-Mark Gurney
Shady Elhamy wrote this message on Wed, Apr 02, 2014 at 13:00 +0200:
> I am working on a project and i want to add an encryption algorithm to
> freeBSD kernel.

Well, what are you going to do with the algorithm?  and what algorithm
are you trying to add?

Currently we have two interfaces for algorithms...  The OpenCrypto
framework designed for allowing providers to be abstracted out such
that they can be accelerated...

And of course the direct call interface, which implies that it will not
need acceleration (only one or two blocks processed at a time)...  In
that case, just adding it as another KPI is easiest...

> What are the steps ? Which files should i change ?
> 
> I have searched the internet and the forums and mailing lists, but couldn't
> find anything. I was hoping you could help me out.

I'm doing work right now to add AES-GCM and a couple other algorithms
to OpenCrypto...

If you let me know more about what you're trying to do, I'll help you..

Thanks.

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Adding Encryption Algorithm to Kernel

2014-04-02 Thread Oliver Pinter
On 4/2/14, Shady Elhamy  wrote:
> Hi
>
> I am working on a project and i want to add an encryption algorithm to
> freeBSD kernel.
>
> What are the steps ? Which files should i change ?
>
> I have searched the internet and the forums and mailing lists, but couldn't
> find anything. I was hoping you could help me out.

http://2009.asiabsdcon.org/papers/abc2009-P1B-paper.pdf
http://www.daemon-systems.org/man/opencrypto.9.html

>
> Thanks in advance,
> Shady
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Adding Encryption Algorithm to Kernel

2014-04-02 Thread Shady Elhamy
Hi

I am working on a project and i want to add an encryption algorithm to
freeBSD kernel.

What are the steps ? Which files should i change ?

I have searched the internet and the forums and mailing lists, but couldn't
find anything. I was hoping you could help me out.

Thanks in advance,
Shady
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"