Hardware-software codesign of RSA for optimal performance vs. flexibility trade-off | IEEE Conference Publication | IEEE Xplore