Solution by maromex.
Let P(x,y) denote the given assertion f(x2+y2)=xf(x)+f(y)2.
P(1,0):f(1)=f(1)+f(0)2, which means f(0)=0.
P(x,0):f(x2)=xf(x).
P(0,x):f(x2)=f(x)2.
So xf(x)=f(x)2 for all real x, which means
f(x)∈{0,x}
for all real x.
Case 1: f(x)=0 for all real x
This function works.
Case 2: f(x0)=0 for some x0=0
We have f(x0)=x0.
P(x0,y):f(x02+y2)=x02+f(y)2≥x02>0. So f(x02+y2)=0, which means f(x02+y2)=x02+y2. This means f(y)2=y2. So if y=0 then f(y)=0 and therefore f(y)=y. We also have f(0)=0. So f(x)=x for all real x, and it works.
Combining cases, the functions that work are f(x)=0 for all real x and f(x)=x for all real x.”