shadow-plugin-tor icon indicating copy to clipboard operation
shadow-plugin-tor copied to clipboard

Add padding to EVP_Cipher

Open robgjansen opened this issue 6 years ago • 0 comments

Rather than forcing aes_cbc_cipher using OPENSSL_ia32cap=~0x200000200000000 so that we don't have to deal with padding in EVP_Cipher, we could just implement the padding scheme.

See the mailing list thread starting here: https://github.com/shadow/shadow/discussions/638

More info here:

  • https://github.com/shadow/shadow/discussions/136
  • https://github.com/shadow/shadow-plugin-tor/blob/064c46041510bd2bcbcbc6426bbc5687bf372f20/src/tor/shadowtor-preload.c#L99-L120

Thanks @rwails!

robgjansen avatar Jan 20 '18 00:01 robgjansen