LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 07-23-2005, 03:10 AM   #1
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
True stream cipher in crypto API module?


I'm creating a crypto API kernel module and my algorithm is a true stream cipher. The only modes I see available for API modules, however, use block ciphers in either block or streamed modes. There is absolutely no way I can make my algorithm a block cipher and maintain it's integrity (i.e. have it still hold true to the testing I've done with it). Does anyone know how to enable a normal stream mode (i.e. not chained by the API)? What I really need is to be able to change my context with each block and have the API call my cia_setkey before each new cipher operation to reset my context (or just give me a new context each time). Looking through cipher.h, it looks like crypto_tfm might work, I'm wondering if that will work with cryptoloop or dm-crypt. I did a search for this before posting and came up with nothing, so I'll be happy if anyone even knows what I am talking about. Thanks.
ta0kira
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Affine Cipher Gato Azul Programming 3 02-01-2013 02:47 PM
linux crypto api saajii Programming 3 08-31-2004 10:16 PM
No module /bin/true found for kernel 2.6.4 bc8o8 Linux - General 9 05-28-2004 02:54 PM
Can't locate API module structure `jk_module' renatopia Linux - General 2 10-15-2003 12:39 AM
apache Can't locate API module structure `pam_auth_module' JGarcia Linux - General 1 09-04-2003 04:31 PM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration