I don't understand. SHA-256 has nothing to do with computing Euler's totient function, and neither does computing the GCD (well, you can use it to compute the totient function, but it's not the most efficient way). And I'm not sure how you'd use the totient function as a proof-of-work.