Crypto/chcr: fix for hmac(sha) test fails
The hmac(sha) test fails for a zero length source text data. For hmac(sha) minimum length of the data must be of block-size. So fix this by including the data_len for the last block. Signed-off-by: NAyush Sawal <ayush.sawal@chelsio.com> Signed-off-by: NDevulapally Shiva Krishna <shiva@chelsio.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录