LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-03-2011, 02:56 AM   #1
greyblake
LQ Newbie
 
Registered: Oct 2010
Posts: 5

Rep: Reputation: 0
Problems with using crypto algorithms..


Hello everyone!
I need to use MD5 and AES (or DES) algorithms in my kernel module.
In the module I do use the next functions:crypto_alloc_hash, crypto_free_hash.

But when I'm trying to load the module I get errors.
There are messages in /var/log/messages
Quote:
Jan 3 09:54:28 alice kernel: [63631.348603] test_crypto: Unknown symbol crypto_alloc_base
Jan 3 09:54:28 alice kernel: [63631.348697] test_crypto: Unknown symbol crypto_destroy_tfm
By searching in kernel sources I found that crypto_alloc_base and crypto_destroy_tfm symbols exported in
crypt.ko module.
When I was trying to load tcrypt.ko module I got an error:
Quote:
FATAL: Error inserting tcrypt (/lib/modules/2.6.32-5-amd64/kernel/crypto/tcrypt.ko): Resource temporarily unavailable
And nothing in /var/log/messages .

Thanks for any help.
 
Old 01-07-2011, 03:00 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Check you log level setting or try dmesg command.
 
  


Reply



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
Algorithms With C (Mastering) delite Programming 3 12-28-2008 12:04 PM
Algorithms Amdx2_x64 Programming 7 08-09-2008 06:32 PM
what is the Scalable numerical algorithms ztdep Linux - Software 1 01-15-2006 01:32 AM
Graph Layout Algorithms jacksmash Programming 6 02-10-2004 05:56 AM
Crypto problems Slacker0815 Linux - Security 10 02-09-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:23 PM.

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
Open Source Consulting | Domain Registration