Bespoke Processors For Embedded Systems And Secure Multi-Party Computation