5 ms·
SparkFun CryptoShield
- CHY872 12y agoI have no doubt that a few people will buy this device, but it costs $60. Add to an Arduino for like $20 and you're fast heading towards $100 for a device that can do very little. If your project is actually so complicated that you need strong crypto, why not just use a Raspberry Pi? Power usage approaches Raspberry Pi anyway; the RTC in this device uses between 0.75 and 1W
- morcheeba 12y agoReally? 0.75-1W for an RTC that has a standby mode based on a coin cell? That sounds crazy! It's an SO8 package - can that even dissipate that much power?! Sounds double-crazy!! Oh, wait, datasheet says its 0.0015mW max. https://cdn.sparkfun.com/datasheets/Dev/Beagle/DS3231M.pdf https://cdn.sparkfun.com/datasheets/Dev/Beagle/DS3231M.pdf And 1 Watt would make the part run at 120˚C above ambient.
- mcantelon 12y agoFolks making things like hardware Bitcoin wallets and such likely don't want an OS in the mix because of security considerations.
- dokem 12y agoThese are for learning and rapid prototyping. A raspberry pi hardly teaches anything about embedded systems compared to kits like this.
- CHY872 12y agoYeah, but this doesn't teach you about cryptography except for using it (which you could do on the Pi) because it's a black box, so doesn't teach you any more about embedded systems than a normal Arduino and a few cheap extensions. I'm not knocking the Arduino - it's a fantastic bit of kit and I've had great fun with mine, but this is a very expensive learning experience for the amount that you can learn. For rapid prototyping - the rapid prototyper shouldn't be dealing with cryptographic primitives full stop.
- jwr 12y agoWhat hardware crypto does a Raspberry Pi have?
- tptacek 12y agoI don't know, but implementing AES, HMAC-SHA2, and GCM on an ARM seems a lot more sane than doing it on an AVR.
- edmccard 12y ago>more sane than doing it on an AVR. Well, the point of using special-purpose chips like the ATAES132, which has a hardware implementation of AES, is so you wouldn't have to implement the algorithm in AVR.
- jwr 12y agoI think you are entirely missing the point of these Atmel chips. More generally (and this is not necessarily addressed to you specifically), I find the knee-jerk response of "just use a Raspberry Pi" amusing. I design embedded systems. Raspberry Pi is, at a first approximation, completely useless, for any task you might want to throw at it. There are many reasons. Power consumption, complexity, failure rate, poor reliability, reliance on SD cards, poor SD card reliability, poor peripherals, poor documentation, I could go on. RPI has two things going for it: 1) the video processing peripherals, 2) publicity/popularity. Now, when thinking about embedded systems, most of the time I won't even consider things the size of a Pi (or the much, much better BeagleBone Black). They are monsters, enormously complex and power-hungry beasts. What I will consider are MSP430s, STM32s, Kinetis K and L, and similar — so ARM Cortex M0, M0+ and M4 cores, running at about 50MHz, consuming around 60mW of power (about as much as an LED), and taking up about, say, 8mm2 of board space (that includes all necessary passives). These are well documented, have reasonable complexity, and can be programmed carefully to achieve excellent reliability. These systems also need crypto, and by crypto I don't just mean "accelerated AES". The Atmel security line is not just "accelerators". In other words, this board is a very interesting prototyping tool, and no, the answer to any problem is not "just use a Raspberry Pi".
- jwr 12y agoWhat hardware crypto does a Raspberry Pi have?
- unwiredben 12y agoIt's $60, but consider that as a cost not for a production device, but instead as a commercial development board, letting you get hands-on experience working with each of the chips on the board before you design them into a mass-production product.
- CHY872 12y agoWhile that's true, the chips aren't themselves cheap; together they cost £6.90 (if I read the pages right) if you're buying from digikey by the 500. The bigger concern is what you're actually doing with the crypto. Almost every use for crypto is intrinsically linked to transmitting the encrypted data; the amount of work to do something nontrivial would be pretty mental. Any commercial project would probably approach the problem at a higher level; i.e. you'd buy an ARM microcontroller and a TLS stack.
- nickodell 12y agoInteresting. I assume the ECDSA module is to allow people to sign Bitcoin transactions.
- tptacek 12y agoI don't think that Atmel part supports the right curve.
- mrb 12y agoThe CryptoShield contains an ATAES132 (https://cdn.sparkfun.com/datasheets/Dev/Beagle/Atmel-8760-CryptoAuth-ATAES132-Datasheet.pdf https://cdn.sparkfun.com/datasheets/Dev/Beagle/Atmel-8760-Cr...). I spent 10min reading the datasheet and this chip makes zero sense to me. It supports features like "encrypted writes" where the host microcontroller encrypts data, sends the ciphertext on the SPI link, ATAES132 decrypts it, and stores the plaintext in internal EEPROM. Later the host can do "encrypted reads" where ATAES132 reads the plaintext from internal EEPROM, encrypts it (possibly with a different key), sends it on the SPI link, and the host decrypts the ciphertext. Firstly, there is no mechanism in place for the host to securely share a key with ATAES132. The key would have to be pre-shared during manufacturing. Secondly, if the host has to have the key and has to do encryption/decryption by itself, why not just read/write encrypted data on a standard SPI EEPROM? Thirdly, if I am misunderstanding things and in fact plaintext or keys are exchanged on the SPI link, then nothing stops an attacker from sniffing the SPI link or doing active MitM attacks. This whole chip smells like it was invented to satisfy PHBs who demand crypto but who have no understanding how to implement crypto correctly.
- unwiredben 12y agoThe EncWrite command looks to be a way to write new crypto keys into the chip's memory. You have to encrypt the key on the host side with the master key for the device, and it authenticates that data to not allow writes of random data. The chip has ways to write master keys into it, then blow fuses preventing those keys from being modified -- I would expect you'd use these in pairs during your device manufacturing to setup a shared secret that wasn't available from the host CPU.
- mindslight 12y agoThese devices are generally targeted at applications where integrity of the host microcontroller isn't taken for granted. Where you describe the "host microcontroller encrypts data", most likely the envisioned application is some remote server doing that encryption and the μC is just passing encrypted blobs between the two. The keys are indeed generated/shared at manufacture time, since the primary goal is "protecting" against the device's user. It's odd to see these chips get attention, as I just ordered some of them to play around with no particular goal in mind. It did make it easier to find out what public information is available on the ECC and TPM chips (the actual datasheets are NDA-only - a sure sign we're dealing with people who have a much different view of "crypto" ! ) IMHO there isn't a specific purpose for each of the chips included (like most dev boards). It's just one each of http://www.atmel.com/products/security-ics/cryptoauthentication/default.aspx http://www.atmel.com/products/security-ics/cryptoauthenticat... and their TPM. The individual chips are only $1 for singles.
- neurotech1 12y agoWhy wouldn't you just use a small FPGA as crypto-processor, or does that defeat the purpose of the device using cypto-in-silicon?
- nosuchthing 12y agoFPGA for $60..??
- orthecreedence 12y agoMaybe I missed it, but I don't see ROT13 or base64 anywhere in the features. How can they call this a crypto chip?
- beagle3 12y agoFor practical uses, it's probably better to get a $50 YubiKey Neo and plug it into the USB port of a Raspberry Pi ($25 if you get the Model A). Crypto is easy to get wrong in every corner - and using a Neo+GPG it's more likely to actually work (plus, it's FIPS-140 certified) For learning, this seems cool - although I don't see the ways in which it is more educating than software only crypto.
- mrmondo 12y agoWhy can't this be shipped outside America?