<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Thu, 22 Dec 2016 10:02 Phillip Hallam-Baker asked: <div class=""><br class=""></div><div class=""><blockquote type="cite" class="">I saw this:<br class=""><br class=""><a href="http://www.ebay.com/itm/1PC-Digispark-Kickstarter-Attiny85-Mini-USB-Micro-Development-Board-for-Arduino-/282162475109?hash=item41b231b065:g:RIQAAOSw0HVWBMbq" class="">http://www.ebay.com/itm/1PC-Digispark-Kickstarter-Attiny85-Mini-USB-Micro-Development-Board-for-Arduino-/282162475109?hash=item41b231b065:g:RIQAAOSw0HVWBMbq</a><br class=""><br class="">It has an 8 bit CPU with 512bytes of RAM and 2K of ROM. There is a fuseable<br class="">link for fixing the firmware.<br class=""><br class="">Any chance one of these could be used as a low cost HSM? Specifically, the<br class="">use I would have for it would be to provide a second factor for sensitive<br class="">key management operations. I would not store the whole key on the device,<br class="">just a share of the key.</blockquote><br class=""></div><div class="">The units in the link you give look similar to ones I purchased about 8 months ago. They are knockoffs of the Digispark design and I could never get them to work. There may have been something wonky about the boot loader (if there was one).  </div><div class=""><br class=""></div><div class="">The real Digispark units work great and don’t cost that much more. (Yes a PI zero costs less, but you need accessories, and good luck auditing the software—an operating system is not always a plus.) The Arduino development environment is a pleasure to use and programming the AVR chips is fun.  The 512 bytes of RAM prevents some crypto algorithms from being used. RC4 works, but takes up more than half of RAM. I was able to get Speck to work on the chip. An analog accelerometer chip could make a good random bit source, and ferroelectric RAM boards ($10 from Adafruit) can store 32K bytes that can be reliably erased (unlike flash), if 512B EEPROM isn't enough.</div><div class=""><br class=""></div><div class="">You can also buy raw ATTiny 85 chips and get them working with minimal components.  </div><div class=""><br class=""></div><div class="">Peter Gutmann <<a href="mailto:pgut001@cs.auckland.ac.nz" class="">pgut001@cs.auckland.ac.nz</a>> added:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">...To generalise this, the problem with almost any consumer-level hardware device<br class="">isn't the hardware, it's the software. …</blockquote><br class=""></div><div class="">Packaging a processor in a compact but usable form factor is not a trivial task. Having a well thought out design available for small money saves a lot of time and aggravation. Add in a good development environment, lots of libraries, accessory boards and a strong developer community and you are way ahead using boards like this. For simple uses, the software may not be that bad.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Arnold Reinhold</div><div class=""><br class=""></div></body></html>