Re: when and where shall I encrypt dentry?

2005-02-02 Thread linux-os
The correct place to encrypt or decrypt ANYTHING is just before access to the "outside" world, i.e., in the case of a file-system, the reads and writes to the storage device (disk drive). You are in a world of hurt if you intend to encrypt 'data' and directories separately. If you need to use an

when and where shall I encrypt dentry?

2005-02-02 Thread Vineet Joglekar
Hi all, I am trying to add some cryptographic functionality to ext2 file system for my masters project. I am working with kernel 2.4.21 Along with regular files, I intend to encrypt directory contents too. For reading I guess the function ext2_get_page in fs/ext2/dir.c is used. Hence I

when and where shall I encrypt dentry?

2005-02-02 Thread Vineet Joglekar
Hi all, I am trying to add some cryptographic functionality to ext2 file system for my masters project. I am working with kernel 2.4.21 Along with regular files, I intend to encrypt directory contents too. For reading I guess the function ext2_get_page in fs/ext2/dir.c is used. Hence I

Re: when and where shall I encrypt dentry?

2005-02-02 Thread linux-os
The correct place to encrypt or decrypt ANYTHING is just before access to the outside world, i.e., in the case of a file-system, the reads and writes to the storage device (disk drive). You are in a world of hurt if you intend to encrypt 'data' and directories separately. If you need to use an