Hello I am working on implementing crypto offloader devices I use and maintain in Linux in qemu. The hardware does not do full hashes offload but only their compress part. (The driver need to do padding etc...)
>From all crypto library, only nettle provides helper for compress but only for md5 and sha1. The first one device I implement (sun4i-ss) only do sha1 and md5, so its fine. But the second (sun8i-ce) need also sha224/sha256/sha384/sha512. So it is why I propose to export sha256/sha512 compress functions. Regard Changes since v1: - removed the nettle prefix - use xxx_compress on place of COMPRESS macro Corentin Labbe (2): Export sha256/sha512_compress functions Use new xxx_compress in place of COMPRESS macro sha2.h | 9 ++++++++- sha256.c | 14 +++++++++----- sha512.c | 14 +++++++++----- 3 files changed, 26 insertions(+), 11 deletions(-) -- 2.35.1 _______________________________________________ nettle-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
