git: 330dca227fd9 - stable/14 - rpc.h: Remove reference to unimplemented DES ioctls
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Aug 2025 15:06:13 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=330dca227fd9bcb3d8167a3cd1af7fa5f6df3c41
commit 330dca227fd9bcb3d8167a3cd1af7fa5f6df3c41
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-07-23 13:59:01 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-08-29 15:05:53 +0000
rpc.h: Remove reference to unimplemented DES ioctls
We won't be adding support for hardware DES. Remove the #ifdef notdef
block.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c143ffbaf787f6c1d7fcbae8f5d9299182ff0b85)
---
include/rpc/des.h | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/include/rpc/des.h b/include/rpc/des.h
index 4c3ca16e8e39..581944475a03 100644
--- a/include/rpc/des.h
+++ b/include/rpc/des.h
@@ -57,26 +57,6 @@ struct desparams {
# define des_buf UDES.UDES_buf /* otherwise, pointer to data */
};
-#ifdef notdef
-
-/*
- * These ioctls are only implemented in SunOS. Maybe someday
- * if somebody writes a driver for DES hardware that works
- * with FreeBSD, we can being that back.
- */
-
-/*
- * Encrypt an arbitrary sized buffer
- */
-#define DESIOCBLOCK _IOWR('d', 6, struct desparams)
-
-/*
- * Encrypt of small amount of data, quickly
- */
-#define DESIOCQUICK _IOWR('d', 7, struct desparams)
-
-#endif
-
/*
* Software DES.
*/