Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9713

AESCCM race condition in callback mode

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • Medium
    • Resolution: Fixed
    • TI Device Drivers
    • TIDRIVERS-3967
    • TIDRIVERS_4_40_00
    • TIDRIVERS_5_10_00
    • MSP432E4

    Description

      AESCCM has a race condition when executing any operation (bug located on decryption operations) in callback mode where the call to e.g. oneStepDecrypt can return MAC_INVALID if the callback fires before the function completes. This breaks the return semantics for the initial call in callback mode. We should consider buffering the return value in the function rather than storing it in the object where it can be overwritten.

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: