Low-cost Public-key Cryptography for M2M using Scalable Coprocessors