hmac & digest updated to SCSC
fully adapted to SCSC
added tests for proper loading