crypto: sha256 - Expose SHA256 generic routine to be callable

Change-Id: I76ab84f984780b13d18011c9cc297430ee377215