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.