Add getfooter tool for crypto debugging

Change-Id: I3b9e5f72f3c1c77e41a45d3c94a44f36cc5cbc3c
Merge "Add getfooter tool for crypto debugging" into android-4.4