Analysis of the algebraic side channel attack