kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
527 stars 239 forks source link

Evaluate and add openssl as crypto backend #711

Closed kdave closed 7 months ago

kdave commented 7 months ago

Current latest stable version of openssl is 3.1, this only provides SHA256 and Blake2b with full hash length, this is not that useful for us. In version 3.2/3.3 the digest size can be set. https://github.com/openssl/openssl/commit/7cf75e5caa71a54539d4559c3fb6b0a48b92243f

Add the implementation once it's available. This brings another certified implementation if somebody needs it.

kdave commented 7 months ago

Prototype works, with pkg-config version check we can add it. The 3.2 release seems to be scheduled to +3 days from now (https://www.openssl.org/blog/blog/2023/11/17/ossl-32-postponed/).