Page MenuHomePhabricator

TFM Crypto: Operation context retrieval additional checks
Closed, ResolvedPublic

Description

This task is used to improve the context allocation and retrieval module in the TFM Crypto service following observations raised during code review related to other patches. In particular:

  1. The tfm_crypto_operation_alloc() API can alloc and return the allocated context with a single call without the need to a subsequent trm_crypto_operation_lookup()
  2. The alignment of the operation context pointer should be checked for misaligned access before dereferencing

Event Timeline

adeaarm created this task.Feb 4 2019, 2:57 PM

The change associated to this ticket is available here: https://review.trustedfirmware.org/c/trusted-firmware-m/+/628

adeaarm triaged this task as Normal priority.Feb 13 2019, 11:24 PM
adeaarm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
adeaarm closed this task as Resolved.Mar 5 2019, 10:49 AM
adeaarm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.