RSA is not state-of-the-art anymore, anything with elliptic curves will be faster and smaller. I'd suggest Ed25519. For no-alloc no-std there's Either ed25519-dalek Or https://github.com/embassy-rs/cortex25519 if you feel adventurous enough to run spicy unreviewed asm