2

We are trying to build a much simpler version of Trezor. We do have an finished PCB design from a previous project and would like to know whether this design can be modified, without changing the processor, to sign Bitcoin transactions. The current processor is a TI CC2540. Is it possible to get a minimalistic secp256k1 implementation to run on it, or are we just out of luck?

2

I don't see why not. Most of what you need to do is just modular arithmetic with big integers (around 2^256). There's no obstruction to doing this on an 8-bit microprocessor, it just takes a few more instructions. You might even find some existing code for arbitrary-precision arithmetic. 256 bits is 32 bytes, so 8K of memory seems like plenty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.