mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 13:42:37 -04:00
armv8crypto: print a message on probe failure
Similar to the message printed by aesni(4), let the user know if the driver is unsupported by their CPU. PR: 252543 Reported by: gbe MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
95ae95d413
commit
a520f5ca58
1 changed files with 3 additions and 0 deletions
|
|
@ -112,6 +112,9 @@ armv8_crypto_probe(device_t dev)
|
|||
case ID_AA64ISAR0_AES_PMULL:
|
||||
ret = 0;
|
||||
break;
|
||||
case ID_AA64ISAR0_AES_NONE:
|
||||
device_printf(dev, "CPU lacks AES instructions");
|
||||
break;
|
||||
}
|
||||
|
||||
device_set_desc_copy(dev, "AES-CBC,AES-XTS");
|
||||
|
|
|
|||
Loading…
Reference in a new issue