Page MenuHomeFreeBSD

ossl.4: Canonicalize HARDWARE and add powerpc64
Needs ReviewPublic

Authored by ziaee on Thu, Sep 17, 6:24 PM.
Tags
None
Referenced Files
F172597696: D59770.diff
Sat, Sep 19, 2:11 PM
Unknown Object (File)
Fri, Sep 18, 1:41 PM
Unknown Object (File)
Fri, Sep 18, 8:45 AM
Unknown Object (File)
Thu, Sep 17, 10:50 PM
Unknown Object (File)
Thu, Sep 17, 10:48 PM
Subscribers

Details

Summary

Fixes: 5daf8ed625af ("Add GCM support on powerpc64/powerpc64le")
MFC after: the above was scheduled to but has not mfc yet

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77033
Build 73916: arc lint + arc unit

Event Timeline

ziaee requested review of this revision.Thu, Sep 17, 6:24 PM
ziaee retitled this revision from ossl.4: Canonicalize SYNOPSIS and add powerpc64 to ossl.4: Canonicalize HARDWARE and add powerpc64.Thu, Sep 17, 6:30 PM
share/man/man4/ossl.4
86

This feels weird: OpenSSL provides an optimized software implementation of various cryptographic transforms. It doesn't depend on any particular hardware per se. The reason it supports only a subset of the platforms supported by FreeBSD is that the implementations are CPU-specific, and each one requires work to port to ossl. In other words, this isn't a hardware offload driver such as qat or safexcel, so the traditional hardware section of the driver manual doesn't make as much sense.

It would be somewhat useful to list the CPU features required for ossl to be usable on each of these platforms, like the aesni and armv8crypto pages do. What do you plan to do for those pages? I can help draft some corresponding text for ossl.

share/man/man4/ossl.4
86

Those pages need hardware sections, because this year I was cleaning out lines from the original hardware notes in the 90s. The only way the hardware notes is maintainable is if everything is pulled in automatically. I don't really understand this stuff, so if you would help that would be amazing.

Related, attempting with armv8crypto document description - https://reviews.freebsd.org/D59730