> 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/armv8crypto.4.md).

# armv8crypto.4

`armv8crypto` — ARM CPU 上 AES 加速器驱动

## 名称

`armv8crypto`

## 概要

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

> device crypto device armv8crypto

或者，要在引导时以模块形式加载该驱动，请在 loader.conf(5) 中加入以下行：

```sh
armv8crypto_load="YES"
```

## 描述

从 ARMv8 架构开始，ARM Limited 加入了可选的密码学指令，以加速 AES、SHA-1、SHA-2 和有限域算术运算。

处理器能力在引导时以 Instruction Set Attributes 0 行中的 AES 形式报告。`armv8crypto` 驱动不会在缺乏所需 CPU 能力的系统上挂载。

`armv8crypto` 驱动注册自身以为 [crypto(4)](/man/man4/crypto.4.md) 加速 AES 操作。

## 参见

crypt(3), [crypto(4)](/man/man4/crypto.4.md), [intro(4)](/man/man4/intro.4.md), [ipsec(4)](/man/man4/ipsec.4.md), [random(4)](/man/man4/random.4.md), [crypto(7)](/man/man7/crypto.7.md), [crypto(9)](/man/man9/crypto.9.md)

## 历史

`armv8crypto` 驱动首次出现于 FreeBSD 11.0。

## 作者

`armv8crypto` 驱动由 Andrew Turner <andrew@FreeBSD.org> 编写。


---

# 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/armv8crypto.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.
