func (fs FS) Crypto() ([]Crypto, error) {
	path := fs.proc.Path("crypto")
	b, err := util.ReadFileNoStat(path)
	if err != nil {
		return nil, fmt.Errorf("error reading crypto %s: %s", path, err)
	}
	crypto, err := parseCrypto(bytes.NewReader(b))
	if err != nil {
		return nil, fmt.Errorf("error parsing crypto %s: %s", path, err)
	}
	return crypto, nil
}
Crypto parses an crypto-file (/proc/crypto) and returns a slice of
structs containing the relevant info.  More information available here:
https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html
package procfs
import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	"strings"
	"github.com/prometheus/procfs/internal/util"
)
type Crypto struct {
	Alignmask   *uint64
	Async       bool
	Blocksize   *uint64
	Chunksize   *uint64
	Ctxsize     *uint64
	Digestsize  *uint64
	Driver      string
	Geniv       string
	Internal    string
	Ivsize      *uint64
	Maxauthsize *uint64
	MaxKeysize  *uint64
	MinKeysize  *uint64
	Module      string
	Name        string
	Priority    *int64
	Refcnt      *int64
	Seedsize    *uint64
	Selftest    string
	Type        string
	Walksize    *uint64
}