You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When flushing a job decrypting before hashing (where hash operation is not completed, but decryption operation is), the buffer is again decrypted, producing an incorrect output.
Currently, the unit tests do not expose this issue, as this combination is not tested (chain_order = CIPHER_HASH, cipher_direction = DECRYPT, hash_alg != NULL_HASH). New tests will be added, testing this and other chained operation combinations.
The text was updated successfully, but these errors were encountered:
When flushing a job, which decryption operation was
completed, but not the hash one, the buffer was
being decrypted again, as the SUBMIT_JOB_AES_DEC was
called.
Instead, a NULL job should be returned instead,
so hash operation can start.
Change-Id: If663eddc88e454c14fa80f5506eb51046d0a2b83
When flushing a job decrypting before hashing (where hash operation is not completed, but decryption operation is), the buffer is again decrypted, producing an incorrect output.
Currently, the unit tests do not expose this issue, as this combination is not tested (chain_order = CIPHER_HASH, cipher_direction = DECRYPT, hash_alg != NULL_HASH). New tests will be added, testing this and other chained operation combinations.
The text was updated successfully, but these errors were encountered: