Added dynamic calculation of the key value, removed static key offset.

git-svn-id: http://firmware-mod-kit.googlecode.com/svn/trunk@447 5c1471b0-2a1b-0410-b4f4-f33460ac40b9