summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhshoexer <>2004-01-23 17:02:25 +0000
committerhshoexer <>2004-01-23 17:02:25 +0000
commitc6d18b94636587d78f7fe00657c4d2e9e01337ae (patch)
tree4e9de533957c61a3ced600a6b5df8569fd43ecb5
parente94374beadb2a55e7aaa0132dc8ec1c43c534d13 (diff)
downloadopenbsd-c6d18b94636587d78f7fe00657c4d2e9e01337ae.tar.gz
openbsd-c6d18b94636587d78f7fe00657c4d2e9e01337ae.tar.bz2
openbsd-c6d18b94636587d78f7fe00657c4d2e9e01337ae.zip
enable acss.
ok @deraadt @markus Also bump minor version. ok @deraadt
-rw-r--r--src/lib/libcrypto/evp/evp.h4
-rw-r--r--src/lib/libssl/crypto/Makefile8
-rw-r--r--src/lib/libssl/crypto/shlib_version2
-rw-r--r--src/lib/libssl/man/Makefile4
-rw-r--r--src/lib/libssl/src/crypto/evp/evp.h4
5 files changed, 17 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 7b234d0ad6..5d8a07d33c 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -326,6 +326,7 @@ struct evp_cipher_st
326#define EVP_CTRL_SET_RC2_KEY_BITS 0x3 326#define EVP_CTRL_SET_RC2_KEY_BITS 0x3
327#define EVP_CTRL_GET_RC5_ROUNDS 0x4 327#define EVP_CTRL_GET_RC5_ROUNDS 0x4
328#define EVP_CTRL_SET_RC5_ROUNDS 0x5 328#define EVP_CTRL_SET_RC5_ROUNDS 0x5
329#define EVP_CTRL_SET_ACSS_MODE 0x6
329 330
330typedef struct evp_cipher_info_st 331typedef struct evp_cipher_info_st
331 { 332 {
@@ -663,6 +664,9 @@ const EVP_CIPHER *EVP_aes_256_ofb(void);
663const EVP_CIPHER *EVP_aes_256_ctr(void); 664const EVP_CIPHER *EVP_aes_256_ctr(void);
664#endif 665#endif
665#endif 666#endif
667#ifndef OPENSSL_NO_ACSS
668const EVP_CIPHER *EVP_acss(void);
669#endif
666 670
667void OPENSSL_add_all_algorithms_noconf(void); 671void OPENSSL_add_all_algorithms_noconf(void);
668void OPENSSL_add_all_algorithms_conf(void); 672void OPENSSL_add_all_algorithms_conf(void);
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile
index 330d32046a..c5f6eb8634 100644
--- a/src/lib/libssl/crypto/Makefile
+++ b/src/lib/libssl/crypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.33 2003/11/19 21:06:45 millert Exp $ 1# $OpenBSD: Makefile,v 1.34 2004/01/23 17:02:25 hshoexer Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
@@ -42,6 +42,7 @@ SRCS+= sha_dgst.c sha1dgst.c sha_one.c sha1_one.c
42#SRCS+= mdc2dgst.c mdc2_one.c 42#SRCS+= mdc2dgst.c mdc2_one.c
43SRCS+= hmac.c 43SRCS+= hmac.c
44SRCS+= rmd_dgst.c rmd_one.c 44SRCS+= rmd_dgst.c rmd_one.c
45SRCS+= acss_skey.c acss_enc.c
45SRCS+= aes_cbc.c aes_cfb.c aes_ctr.c aes_ecb.c aes_ofb.c aes_misc.c aes_core.c 46SRCS+= aes_cbc.c aes_cfb.c aes_ctr.c aes_ecb.c aes_ofb.c aes_misc.c aes_core.c
46SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ 47SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
47 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ 48 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
@@ -91,7 +92,7 @@ SRCS+= c_all.c evp_err.c evp_acnf.c m_md4.c p5_crpt.c
91SRCS+= c_allc.c evp_key.c m_md5.c p5_crpt2.c 92SRCS+= c_allc.c evp_key.c m_md5.c p5_crpt2.c
92SRCS+= c_alld.c e_null.c evp_lib.c p_dec.c 93SRCS+= c_alld.c e_null.c evp_lib.c p_dec.c
93SRCS+= digest.c e_rc2.c evp_pbe.c m_null.c p_enc.c 94SRCS+= digest.c e_rc2.c evp_pbe.c m_null.c p_enc.c
94SRCS+= e_aes.c e_rc4.c evp_pkey.c m_ripemd.c p_lib.c 95SRCS+= e_acss.c e_aes.c e_rc4.c evp_pkey.c m_ripemd.c p_lib.c
95SRCS+= md4_dgst.c md4_one.c 96SRCS+= md4_dgst.c md4_one.c
96SRCS+= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_pkey.c 97SRCS+= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_pkey.c
97SRCS+= pem_all.c pem_err.c pem_x509.c pem_pk8.c pem_oth.c pem_xaux.c 98SRCS+= pem_all.c pem_err.c pem_x509.c pem_pk8.c pem_oth.c pem_xaux.c
@@ -152,9 +153,10 @@ SRCS+= ec_err.c ec_mult.c ecp_nist.c ecp_smpl.c
152 ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/md4 \ 153 ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/md4 \
153 ${LCRYPTO_SRC}/engine ${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/ui \ 154 ${LCRYPTO_SRC}/engine ${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/ui \
154 ${LCRYPTO_SRC}/ocsp ${LCRYPTO_SRC}/ec ${LCRYPTO_SRC}/aes ${LCRYPTO_SRC} \ 155 ${LCRYPTO_SRC}/ocsp ${LCRYPTO_SRC}/ec ${LCRYPTO_SRC}/aes ${LCRYPTO_SRC} \
155 ${.CURDIR}/arch/${MACHINE_ARCH} 156 ${LCRYPTO_SRC}/acss ${.CURDIR}/arch/${MACHINE_ARCH}
156 157
157HDRS=\ 158HDRS=\
159 crypto/acss/acss.h \
158 crypto/aes/aes.h \ 160 crypto/aes/aes.h \
159 crypto/asn1/asn1.h \ 161 crypto/asn1/asn1.h \
160 crypto/asn1/asn1_mac.h \ 162 crypto/asn1/asn1_mac.h \
diff --git a/src/lib/libssl/crypto/shlib_version b/src/lib/libssl/crypto/shlib_version
index a31d18257c..bab3bd7a1b 100644
--- a/src/lib/libssl/crypto/shlib_version
+++ b/src/lib/libssl/crypto/shlib_version
@@ -1,2 +1,2 @@
1major=10 1major=10
2minor=1 2minor=2
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile
index b591fc36ba..0eb914ea26 100644
--- a/src/lib/libssl/man/Makefile
+++ b/src/lib/libssl/man/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.5 2003/07/02 02:15:51 deraadt Exp $ 1# $OpenBSD: Makefile,v 1.6 2004/01/23 17:02:25 hshoexer Exp $
2 2
3.include <bsd.own.mk> # for NOMAN 3.include <bsd.own.mk> # for NOMAN
4 4
@@ -161,6 +161,7 @@ MANALL= \
161 SSL_want.cat3 \ 161 SSL_want.cat3 \
162 SSL_write.cat3 \ 162 SSL_write.cat3 \
163 blowfish.cat3 \ 163 blowfish.cat3 \
164 acss.cat3 \
164 bn.cat3 \ 165 bn.cat3 \
165 bn_internal.cat3 \ 166 bn_internal.cat3 \
166 crypto.cat3 \ 167 crypto.cat3 \
@@ -712,6 +713,7 @@ MLINKS+=\
712 SSL_want.3 SSL_want_read.3 \ 713 SSL_want.3 SSL_want_read.3 \
713 SSL_want.3 SSL_want_write.3 \ 714 SSL_want.3 SSL_want_write.3 \
714 SSL_want.3 SSL_want_x509_lookup.3 \ 715 SSL_want.3 SSL_want_x509_lookup.3 \
716 acss.3 acss_setkey.3 \
715 blowfish.3 BF_cbc.3 \ 717 blowfish.3 BF_cbc.3 \
716 blowfish.3 BF_cbc_encrypt.3 \ 718 blowfish.3 BF_cbc_encrypt.3 \
717 blowfish.3 BF_cfb64_encrypt.3 \ 719 blowfish.3 BF_cfb64_encrypt.3 \
diff --git a/src/lib/libssl/src/crypto/evp/evp.h b/src/lib/libssl/src/crypto/evp/evp.h
index 7b234d0ad6..5d8a07d33c 100644
--- a/src/lib/libssl/src/crypto/evp/evp.h
+++ b/src/lib/libssl/src/crypto/evp/evp.h
@@ -326,6 +326,7 @@ struct evp_cipher_st
326#define EVP_CTRL_SET_RC2_KEY_BITS 0x3 326#define EVP_CTRL_SET_RC2_KEY_BITS 0x3
327#define EVP_CTRL_GET_RC5_ROUNDS 0x4 327#define EVP_CTRL_GET_RC5_ROUNDS 0x4
328#define EVP_CTRL_SET_RC5_ROUNDS 0x5 328#define EVP_CTRL_SET_RC5_ROUNDS 0x5
329#define EVP_CTRL_SET_ACSS_MODE 0x6
329 330
330typedef struct evp_cipher_info_st 331typedef struct evp_cipher_info_st
331 { 332 {
@@ -663,6 +664,9 @@ const EVP_CIPHER *EVP_aes_256_ofb(void);
663const EVP_CIPHER *EVP_aes_256_ctr(void); 664const EVP_CIPHER *EVP_aes_256_ctr(void);
664#endif 665#endif
665#endif 666#endif
667#ifndef OPENSSL_NO_ACSS
668const EVP_CIPHER *EVP_acss(void);
669#endif
666 670
667void OPENSSL_add_all_algorithms_noconf(void); 671void OPENSSL_add_all_algorithms_noconf(void);
668void OPENSSL_add_all_algorithms_conf(void); 672void OPENSSL_add_all_algorithms_conf(void);