diff --git a/lib/sw_services/xilsecure/src/xsecure_sha.c b/lib/sw_services/xilsecure/src/xsecure_sha.c index 961b03dc..f3be9b73 100644 --- a/lib/sw_services/xilsecure/src/xsecure_sha.c +++ b/lib/sw_services/xilsecure/src/xsecure_sha.c @@ -185,6 +185,10 @@ void XSecure_Sha3Update(XSecure_Sha3 *InstancePtr, const u8 *Data, /* Checking the CSU DMA done bit should be enough. */ XCsuDma_WaitForDone(InstancePtr->CsuDmaPtr, XCSUDMA_SRC_CHANNEL); + + /* Acknowledge the transfer has completed */ + XCsuDma_IntrClear(InstancePtr->CsuDmaPtr, XCSUDMA_SRC_CHANNEL, + XCSUDMA_IXR_DONE_MASK); }