This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

AES 128 bit for nRF52832

Hi,

One of my customers examine the feasibility of using nRF52832 as Peripheral only ,his mandatory request is Security because the product is an electronic lock.

Please advise how I can use the AES 128 bit, is it include in the S112 stack and transparent to the developer or it need to be add separately from the stack.

Customer consider to use nRF52832 instead of nRF52810 because it has NFC.

Thanks

  • I would look at using the internal ARM CCM peripheral.

    I'd advise you to look at the SDK nrf_crypto/aes/aes_ccm/pca_10040 example.

  • Hi 

    Encryption is handled by SoftDevices as long as you go through pairing and bonding after you establish a connection to your lock. 

    The later SoftDevices support the LE Secure Connections feature, which goes through an asymmetric key exchange phase to make sure that you can securely exchange encryption keys without someone being able to intercept them. 

    For optimal security you need to authenticate the pairing, by using something like a passkey or NFC. NFC is easier obviously, but unless you plan to re-pair a lot this might not be very important. 

    Best regards
    Torbjørn

Related