Page MenuHomeFreeBSD

D41671.diff
No OneTemporary

D41671.diff

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

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)

Event Timeline