Locking pageable memory?

We are creating a encryption filter driver and we need to allocate a buffer
to be used for the encryption process. To give an idea, if we receive a
IRP_MJ_READ, demanding an access of 1Mb, and need to decrypt the data we
would need to allocate a 1Mb buffer because the decryption algorithm needs
an output buffer different from the input buffer. The problem is we should
not allocate non-pageable memory because there isn’t a lot of it. Is there
anyway to use pageable memory?

Thanks!
P. Valério
R. Ramalho


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> not allocate non-pageable memory because there isn’t a lot of it. Is there

anyway to use pageable memory?

Yes, provided the fact your filter will not meddle with the page file IO.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com