Skip to content

An update to the SimpleCryptoDisk filter scheme driver example from the book Mac OS X Internals by Amit Singh

Notifications You must be signed in to change notification settings

pmj/osxbook-SimpleCryptoDisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SimplyCryptoDisk Mac OS X driver example

The original version by Amit Singh is from http://osxbook.com/book/src/ and is GPL licensed.

It no longer compiles against the IOKit API in later Mac OS X 10.5 (Leopard) versions, or any version of Mac OS X 10.6 (Snow Leopard). I've made some minor updates to the driver code so it works for the latest API. The main API changes are the function signatures for read() and write(), which I've adapted. Tested to work well on Mac OS X 10.6.5.

The book and this example were very useful to me in understanding how to write an IOKit-based driver, I hope this updated version helps anyone else trying to make sense of why the version from the book doesn't compile.

Please note: this driver uses a very basic XOR "encryption" for demonstration purposes. Do not use it to encrypt sensitive data.

Phil

About

An update to the SimpleCryptoDisk filter scheme driver example from the book Mac OS X Internals by Amit Singh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published