A comprehensive analysis of performance and side-channel-leakage of AES SBOX implementations in embedded software