RedBearLab / BLENano

Resources for the BLE Nano & MK20 USB Dongle.
43 stars 23 forks source link

Encryption? #1

Open luposlip opened 9 years ago

luposlip commented 9 years ago

Hi there!

Can you suggest any encryption library for use on the BLE Nano?

Best, Henrik

luposlip commented 9 years ago

Any input? Is it possible to use the Nordic Semi AES encryption as mentioned here: https://devzone.nordicsemi.com/question/31119/nrf51822-aes-hw-module-clarification/

And here: https://devzone.nordicsemi.com/question/2264/51822-aes-encryption-and-decryption-demo-code/

Any input?

Best, Henrik

luposlip commented 8 years ago

Hello? @Cheong2K ?

Cheong2K commented 8 years ago

I think it should work.

luposlip commented 8 years ago

Thanks for your reply. Should it work directly from the Arduino environment, or only with GCC? I would REALLY love a simple example (on github or similar) if you can guide me to it.

I'm currently working on it myself, if I succeed in getting something to work, I'll put an example up myself.

Cheong2K commented 8 years ago

Hi, we did try before, but their encryption is not fully functional, we have no idea, too. Try to ask Nordic if they can help. You should be able to use Arduino environment to do use their encryption code, it is actually a GCC compiler.

luposlip commented 8 years ago

OK @Cheong2K. Can you please clarify for me, which Nordic SDK is the newest supported for RBL Nano/nRF51822? Can I use the newest SDKs such as Nordic SDK 8/9, or am I restricted to Nordic SDK 6.1?

As seen in the following (last comment), only the 3rd revision of the Nordic nRF51822 chip supports SDKs newer than 6.1, and I don't know how to see which revision of the chip is used on the Nano?