On 24.05.2019 07:24, Ard Biesheuvel wrote: > On Thu, 23 May 2019 at 22:44, Pascal Van Leeuwen > <pvanleeuwen@xxxxxxxxxxxxxxxx> wrote: >> > [...] > In fact, given the above, I am slightly shocked that your hardware > does not handle empty messages correctly. [...] Imho hardware handles it in the way it was designed, for Exynos writing non-zero value to len message register starts hash/hmac. Writing zero and waiting for result will cause hang, as there will be no result ever. It can be done in HW to handle zero with additional register and more wires, but it was left to software driver as trivial case. -- Best regards, Kamil Konieczny Samsung R&D Institute Poland