Univariate side channel attacks and leakage modeling