Characterisation And Estimation Of The Key Rank Distribution In The Context Of Side Channel Iacr