Fix flush decryption job. Fix for issue
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.
@@ -858,7 +858,7 @@ FLUSH_JOB_AES_DEC(MB_MGR *state, JOB_AES_HMAC *job)
return FLUSH_JOB_DOCSIS_DES_DEC(&state->docsis_des_dec_ooo);
#endif /* FLUSH_JOB_DOCSIS_DES_DEC */
(void) state;
- return SUBMIT_JOB_AES_DEC(state, job);
+ return NULL;
}
/* ========================================================================= */
