Skip to content

Instantly share code, notes, and snippets.

@w0xel
w0xel / aes-armv8-crypto.S.diff
Created October 3, 2024 12:58
Diff from OpenSSL to ZFS for armv8 AES
diff --git a/openssl/crypto/aes/aesv8-armx.S b/zfs/module/icp/asm-aarch64/aes/aes-armv8-crypto.S
index ffc16e9..92bc566 100644
--- a/openssl/crypto/aes/aesv8-armx.S
+++ b/zfs/module/icp/asm-aarch64/aes/aes-armv8-crypto.S
@@ -1,6 +1,224 @@
-#include "arm_arch.h"
+/*
+ * Copyright 2011-2024 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
@w0xel
w0xel / aes-gcm-armv8_64.S.diff
Created October 3, 2024 12:57
Diff from OpenSSL to ZFS for armv8 AES GCM
diff --git a/openssl/crypto/modes/aes-gcm-armv8_64.S b/zfs/module/icp/asm-aarch64/modes/aes-gcm-armv8_64.S
index fc4d516..7184508 100644
--- a/openssl/crypto/modes/aes-gcm-armv8_64.S
+++ b/zfs/module/icp/asm-aarch64/modes/aes-gcm-armv8_64.S
@@ -1,7 +1,16 @@
+/*
+ * Copyright 2011-2024 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
@w0xel
w0xel / ghashv8-armx.S.diff
Created October 3, 2024 12:56
Diff from OpenSSL to ZFS for armv8 ghash
0a1,10
> /*
> * Copyright 2011-2024 The OpenSSL Project Authors. All Rights Reserved.
> *
> * Licensed under the Apache License 2.0 (the "License"). You may not use
> * this file except in compliance with the License. You can obtain a copy
> * in the file LICENSE in the source distribution or at
> * https://www.openssl.org/source/license.html
> */
>