Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107141821
D41671.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
608 B
Referenced Files
None
Subscribers
None
D41671.diff
View Options
diff --git a/sys/crypto/armv8/armv8_crypto.c b/sys/crypto/armv8/armv8_crypto.c
--- a/sys/crypto/armv8/armv8_crypto.c
+++ b/sys/crypto/armv8/armv8_crypto.c
@@ -336,8 +336,6 @@
crypto_cursor_copy(&fromc, &toc);
}
- fpu_kern_enter(curthread, NULL, FPU_KERN_NORMAL | FPU_KERN_NOCTX);
-
if (crp->crp_cipher_key != NULL) {
armv8_crypto_cipher_setup(ses, csp, crp->crp_cipher_key,
csp->csp_cipher_klen);
@@ -345,6 +343,8 @@
crypto_read_iv(crp, iv);
+ fpu_kern_enter(curthread, NULL, FPU_KERN_NORMAL | FPU_KERN_NOCTX);
+
error = 0;
switch (csp->csp_cipher_alg) {
case CRYPTO_AES_CBC:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 6:36 PM (20 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15756722
Default Alt Text
D41671.diff (608 B)
Attached To
Mode
D41671: armv8_crypto: fix recursive fpu_kern_enter call
Attached
Detach File
Event Timeline
Log In to Comment