diff options
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 4 | ||||
-rw-r--r-- | src/lib/libssl/crypto/Makefile | 8 | ||||
-rw-r--r-- | src/lib/libssl/crypto/shlib_version | 2 | ||||
-rw-r--r-- | src/lib/libssl/man/Makefile | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/evp/evp.h | 4 |
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 | ||
330 | typedef struct evp_cipher_info_st | 331 | typedef struct evp_cipher_info_st |
331 | { | 332 | { |
@@ -663,6 +664,9 @@ const EVP_CIPHER *EVP_aes_256_ofb(void); | |||
663 | const EVP_CIPHER *EVP_aes_256_ctr(void); | 664 | const EVP_CIPHER *EVP_aes_256_ctr(void); |
664 | #endif | 665 | #endif |
665 | #endif | 666 | #endif |
667 | #ifndef OPENSSL_NO_ACSS | ||
668 | const EVP_CIPHER *EVP_acss(void); | ||
669 | #endif | ||
666 | 670 | ||
667 | void OPENSSL_add_all_algorithms_noconf(void); | 671 | void OPENSSL_add_all_algorithms_noconf(void); |
668 | void OPENSSL_add_all_algorithms_conf(void); | 672 | void 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 | ||
3 | LIB= crypto | 3 | LIB= 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 |
43 | SRCS+= hmac.c | 43 | SRCS+= hmac.c |
44 | SRCS+= rmd_dgst.c rmd_one.c | 44 | SRCS+= rmd_dgst.c rmd_one.c |
45 | SRCS+= acss_skey.c acss_enc.c | ||
45 | SRCS+= aes_cbc.c aes_cfb.c aes_ctr.c aes_ecb.c aes_ofb.c aes_misc.c aes_core.c | 46 | SRCS+= aes_cbc.c aes_cfb.c aes_ctr.c aes_ecb.c aes_ofb.c aes_misc.c aes_core.c |
46 | SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ | 47 | SRCS+= 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 | |||
91 | SRCS+= c_allc.c evp_key.c m_md5.c p5_crpt2.c | 92 | SRCS+= c_allc.c evp_key.c m_md5.c p5_crpt2.c |
92 | SRCS+= c_alld.c e_null.c evp_lib.c p_dec.c | 93 | SRCS+= c_alld.c e_null.c evp_lib.c p_dec.c |
93 | SRCS+= digest.c e_rc2.c evp_pbe.c m_null.c p_enc.c | 94 | SRCS+= digest.c e_rc2.c evp_pbe.c m_null.c p_enc.c |
94 | SRCS+= e_aes.c e_rc4.c evp_pkey.c m_ripemd.c p_lib.c | 95 | SRCS+= e_acss.c e_aes.c e_rc4.c evp_pkey.c m_ripemd.c p_lib.c |
95 | SRCS+= md4_dgst.c md4_one.c | 96 | SRCS+= md4_dgst.c md4_one.c |
96 | SRCS+= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_pkey.c | 97 | SRCS+= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_pkey.c |
97 | SRCS+= pem_all.c pem_err.c pem_x509.c pem_pk8.c pem_oth.c pem_xaux.c | 98 | SRCS+= 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 | ||
157 | HDRS=\ | 158 | HDRS=\ |
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 @@ | |||
1 | major=10 | 1 | major=10 |
2 | minor=1 | 2 | minor=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 | ||
330 | typedef struct evp_cipher_info_st | 331 | typedef struct evp_cipher_info_st |
331 | { | 332 | { |
@@ -663,6 +664,9 @@ const EVP_CIPHER *EVP_aes_256_ofb(void); | |||
663 | const EVP_CIPHER *EVP_aes_256_ctr(void); | 664 | const EVP_CIPHER *EVP_aes_256_ctr(void); |
664 | #endif | 665 | #endif |
665 | #endif | 666 | #endif |
667 | #ifndef OPENSSL_NO_ACSS | ||
668 | const EVP_CIPHER *EVP_acss(void); | ||
669 | #endif | ||
666 | 670 | ||
667 | void OPENSSL_add_all_algorithms_noconf(void); | 671 | void OPENSSL_add_all_algorithms_noconf(void); |
668 | void OPENSSL_add_all_algorithms_conf(void); | 672 | void OPENSSL_add_all_algorithms_conf(void); |