Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-285

NRF52 decryption failures (intermittent)

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: v1_0_0_beta2
    • Fix Version/s: v1_1_0_rel
    • Component/s: Nimble
    • Security Level: Public (Viewable by anyone)
    • Labels:

      Description

      The current ble phy driver for the nrf52 counts occasional errors when decrypting received frames. What we see is that the CCM peripheral does not set the ENDCRYPT event, indicating that decryption never finished (or even started although we do see the ENDKSGEN event which signifies we generated the key stream). When this occurs there is no other indication; the CRC check passes and it passes the MIC. Note that we only see this occurring for LL empty PDU's. These packets have zero length and are supposed to pass through the CCM engine as empty pdu's are not encrypted.

      A note on this bug: this only occurs when the device is the slave, not the master.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andk Andrzej Kaczmarek
                Reporter:
                wes3 William San Filippo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: