> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/safexcel.4.md).

# safexcel.4

`safexcel` — Inside Secure SafeXcel-IP-97 加密卸载引擎

## 名称

`safexcel`

## 概要

若要将此驱动程序编译进内核，请在你的内核配置文件中加入以下行：

> device crypto device cryptodev device safexcel

或者，若要在引导时以模块方式加载驱动程序，在 loader.conf(5) 中加入以下行：

```sh
safexcel_load="YES"
```

## 描述

`safexcel` 驱动为某些 Marvell 片上系统中的 EIP-97 设备的加密加速功能实现 [crypto(4)](/man/man4/crypto.4.md) 支持。该驱动可加速以下 AES 模式：

* AES-CBC
* AES-CTR
* AES-XTS
* AES-GCM
* AES-CCM

`safexcel` 还实现了 SHA1 和 SHA2 变换，并可将 AES-CBC 和 AES-CTR 与 SHA1-HMAC 和 SHA2-HMAC 组合用于先加密后验证操作。

## 硬件

`safexcel` 驱动支持某些 Marvell 片上系统中的 Inside Secure EIP-97 设备的加密加速功能。

## 参见

[crypto(4)](/man/man4/crypto.4.md), [ipsec(4)](/man/man4/ipsec.4.md), [random(4)](/man/man4/random.4.md), [crypto(7)](/man/man7/crypto.7.md), geli(8), [crypto(9)](https://github.com/FreeBSD-Ask/freebsd-man-sc/blob/main/man9/crypto.9.md)

## 历史

`safexcel` 驱动最早出现于 FreeBSD 13.0。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/safexcel.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
