RSA Or ECC Library

How much memory do you need for an application like that ?