RSA Or ECC Library

Quick (and possibly silly) question. Can I use the AVR-Crypto Lib for an Arduino Board (Mega 2560)? I do see an RSA implementation but it looks like it's been implemented in C not CPP. I ran across this before but didn't think I could just drop it in as is. Unfortunately I don't have the time to debug/modify it now so if anyone know that it is just usable as is, that would help. Thank you!