Fixed compile-time error for arduino IDE 1.0.5

I changed uint8_t sha*InitState[] to be a constant and changed write from a void to a size_t

Signed-off-by: C5E3B7BD (Will Apodaca) <will.apodaca@gmail.com>