assuming that everything else (functions, constants, etc) are correct, is this a correct main loop of ripemd160?
for j in range(80):
T = (a+ ROL( (F(b, c, d, j) + X[r[j]] + k[j/16])%2**32,s[j])+e)%2**32
a = e; e = d; d = ROL(c, 10); c = b; a = T
# parallel round
T = (aa+ ROL( (F(bb,cc,dd,79-j) + X[rr[j]] + kk[j/16] )%2**32,ss[j])+ee)%2**32
aa = ee; ee = dd; dd = ROL(cc,10); cc = bb; aa = T