pyca/cryptography — pull request #1125 by reaperhulk (2014-06-12 04:08:49+00:00)
Title: Move some shared logic to functions

Pulled from #1116