Summary: | espressobin: kernel panic in 'geli attach' using AES-CBC and 'armv8crypto.ko' | ||
---|---|---|---|
Product: | Base System | Reporter: | Jouni Laakso <jounijl> |
Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | Andrew, freebsd-arm, imp, jhb, markj |
Priority: | --- | Keywords: | crash, needs-qa |
Version: | 12.1-RELEASE | Flags: | koobs:
maintainer-feedback?
(Andrew) |
Hardware: | arm64 | ||
OS: | Any |
Description
Jouni Laakso
2020-02-21 11:09:24 UTC
After looking at the code, the module file 'armv8_crypto.c' calls 'panic' if the flag is set: if ((enccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) { panic("CRD_F_KEY_EXPLICIT"); } This happens in a subfunction of a declared function: DEVMETHOD(cryptodev_process, armv8_crypto_process) Where the key is given in and what is the reason, I've not yet had time solve. Where can I find more information about kernel modules and what are the declarations? I'm not able to reproduce this on an espressobin running recent HEAD. The opencrypto code and drivers have been refactored quite a bit in the meantime, so this exact panic() call is gone now. This was fixed in commit c03414326909ed7a740be3ba63fbbef01fe513a8. Note that this fix is only in 13 and is not likely to be merged to 12. |