Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Crypto pubkey types #2

merged 2 commits into from Apr 24, 2012


None yet
2 participants

rekado commented Apr 22, 2012

This is a set of changes to use the RSA PublicKey / PrivateKey definitions from the crypto-pubkey-types package for improved interoperability with other crypto and certificate modules.

I converted Int64 to Int with fromIntegral where necessary and changed type signatures where required to accept Int instead of Int64 (public_size/private_size are Ints, not Int64 in crypto-pubkey-types).

It would probably be cleaner to replace all instances of Int64 with Int, but I think that this change set is less problematic. The test suite passes. (Previous problems with the test suite were a consequence of a bug in monadcryptorandom which has meanwhile been fixed.)

@acw acw added a commit that referenced this pull request Apr 24, 2012

@acw acw Merge pull request #2 from rekado/crypto-pubkey-types
Crypto pubkey types

@acw acw merged commit 42a87a4 into GaloisInc:master Apr 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment