I was working on implementing RSA and DSA in C for pycrypto, and got it working, and sent it off to the mailing list. But it doesn't work on pyramid. It doesn't seem to recognize mpz_t as a valid type, but it does realize it's defined. Maybe I just need to see more examples of GMP-using code.