I need to develop a PGP implementation for a custom Forth kernel, and I was wondering if anyone could give me pointers as to where I could get an RSA/DSA implementation in (any) Forth to use for the project.
I prefer source code with a flexible license that allows me to use it for whatever I desire. This will save me a lot of hours in coding my own RSA/DSA algorithm which will then take days to debug and mature into something stable.
In addition, where can I get and RSA/DSA implementation in pure assembly for the x86 architecture 32/64 bit, preferably in Intel syntax for NASM as an alternative to the Forth code. I can simply use the assembler code to write a native word into the kernel (since the kernel is 64 bit assembly language) to perform the functionality of the algorithm.