crypto: shash - Add shash_attr_alg2 helper