commit | 992473265896193b2e8e7ea79e1e934124182177 | [log] [tgz] |
---|---|---|
author | Antonio de Angelis <Antonio.deAngelis@arm.com> | Tue Aug 08 16:30:33 2023 +0200 |
committer | Antonio de Angelis <Antonio.deAngelis@arm.com> | Wed Aug 09 12:12:18 2023 +0200 |
tree | 6b888ec6571589df364f8a6b246294ea56cc4941 | |
parent | 35ac80c8581d483da7d18cb8bcd20aaed096550c [diff] |
CC3XX: Fix comparison length for tag verification in CHACHA20-POLY1305 A bug in Chacha20-Poly1305 when single part functions are not implemented using multipart functions, allows to verify a tag by inspecting the first 4 bytes only instead of the full 16 bytes. Credit to Nordic Semiconductor for discovering the issue. Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: Ieb91efe6ea2c86049ef398d783be7959238a7422