Locking operations are recommended to include CRC and since sha204 library internally carries the proper algorithm for this, it has now been refactored to support both static and incremental calculations needed for both command marchalling and locking.
For information on installing libraries, see: http://arduino.cc/en/Guide/Libraries