Current flattening in software and hardware for security applications | IEEE Conference Publication | IEEE Xplore