Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Make opencrypto depend on the "ripemd160" and "sha2" att...



details:   https://anonhg.NetBSD.org/src/rev/f906ab01007b
branches:  trunk
changeset: 550897:f906ab01007b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 24 19:26:54 2003 +0000

description:
Make opencrypto depend on the "ripemd160" and "sha2" attributes, rather
than polluting the crypto algorithm config info with opencrypto knowledge.

diffstat:

 sys/crypto/ripemd160/files.ripemd160 |  4 ++--
 sys/crypto/sha2/files.sha2           |  4 ++--
 sys/opencrypto/files.opencrypto      |  8 +++-----
 3 files changed, 7 insertions(+), 9 deletions(-)

diffs (51 lines):

diff -r a01b755614c3 -r f906ab01007b sys/crypto/ripemd160/files.ripemd160
--- a/sys/crypto/ripemd160/files.ripemd160      Sun Aug 24 19:21:11 2003 +0000
+++ b/sys/crypto/ripemd160/files.ripemd160      Sun Aug 24 19:26:54 2003 +0000
@@ -1,5 +1,5 @@
-#      $NetBSD: files.ripemd160,v 1.2 2003/07/28 21:28:26 jonathan Exp $
+#      $NetBSD: files.ripemd160,v 1.3 2003/08/24 19:26:54 thorpej Exp $
 
 define ripemd160
 
-file   crypto/ripemd160/rmd160.c       ripemd160 | opencrypto
+file   crypto/ripemd160/rmd160.c       ripemd160
diff -r a01b755614c3 -r f906ab01007b sys/crypto/sha2/files.sha2
--- a/sys/crypto/sha2/files.sha2        Sun Aug 24 19:21:11 2003 +0000
+++ b/sys/crypto/sha2/files.sha2        Sun Aug 24 19:26:54 2003 +0000
@@ -1,5 +1,5 @@
-#      $NetBSD: files.sha2,v 1.2 2003/07/26 13:49:52 he Exp $
+#      $NetBSD: files.sha2,v 1.3 2003/08/24 19:26:55 thorpej Exp $
 
 define sha2
 
-file   crypto/sha2/sha2.c      sha2 | opencrypto
+file   crypto/sha2/sha2.c      sha2
diff -r a01b755614c3 -r f906ab01007b sys/opencrypto/files.opencrypto
--- a/sys/opencrypto/files.opencrypto   Sun Aug 24 19:21:11 2003 +0000
+++ b/sys/opencrypto/files.opencrypto   Sun Aug 24 19:26:54 2003 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: files.opencrypto,v 1.6 2003/08/24 19:21:13 thorpej Exp $
+#      $NetBSD: files.opencrypto,v 1.7 2003/08/24 19:26:56 thorpej Exp $
 #
 #
 
-defpseudo opencrypto: des
+defpseudo opencrypto: des, ripemd160, sha2
 
 file   opencrypto/criov.c              opencrypto
 file   opencrypto/cryptodev.c          opencrypto
@@ -13,13 +13,11 @@
 #Standalone m_apply()/m_getptr()
 #file  opencrypto/crypto_mbuf.c        opencrypto
 
-# crypto  algorithms
+# local crypto algorithms - XXX should G/C and use crypto/...
 file   opencrypto/blf.c                opencrypto
 file   opencrypto/skipjack.c           opencrypto
-# rmd160.c is now in sys/crypto/ripemd160/files.ripemd160
 file   opencrypto/cast.c               opencrypto
 file   opencrypto/rijndael.c           opencrypto
-# sha2.c is in crypto/sha2/files.sha2
 
 file   opencrypto/deflate.c            opencrypto
 



Home | Main Index | Thread Index | Old Index