Work around self assignment bug in Crypto++