Thanks, I think I managed to figure it out. I think skatterlist only acts as a pointer, it doesn't store any data, and I thought it would store it. All should be sorted out.
Type: Posts; User: inferno_gogo
Thanks, I think I managed to figure it out. I think skatterlist only acts as a pointer, it doesn't store any data, and I thought it would store it. All should be sorted out.
Hi there,
I am working on a homework that has to do with encryption. I want to be able to encrypt a string of characters. I have been reading about the Crypto API over the last few days, and I...
Hello,
I am trying to implement some encryption in the kernel space. I need to use crypto api, which requires the use of scatterlist. I need to simple encrypt a string of characters and the store...
Wonderful. Thank you. I will give it a try later today, it seems clear.
If I'm not mistaken, I can use the long argument to pass a pointer?
As far as copy_from_user, I think memcpy would do...
I have considered this, but I can't pass the password to ioctl. I was actually thinking of doing all this nasty I/O inside the ioctl itself. I do have an access application but the ioctl function is...
Thanks for the reply. I need to lock my devices with a password, and the only place I could think to store the password is in the device info structure. I was hoping to prompt the user for a pass...
Hello,
I am working on a homework assignment that has to do with writing code for a ramdisk. I have most of it figured out, but I need to implement an extra feature. So what I have is a device...