amylokn
驱动牛犊
驱动牛犊
  • 注册日期2003-03-18
  • 最后登录2003-10-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1595回复:1

vxwork系统中的网络安全技术

楼主#
更多 发布于:2003-03-18 13:22
有没有人将OpenSSL移植到Vxwork系统中啊?或提高相关资料,或讲解讲解OpenSSL如何移植。
小弟刚入站,没有高分给,请原谅。
zhuzc
驱动中牛
驱动中牛
  • 注册日期2001-09-01
  • 最后登录2005-04-03
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-03-19 13:12
这是从vxworks FAQ中摘的不知道能不能帮你。

Is there an encryption library for VxWorks?

A: Versions of SSL have been ported to vxWorks. See http://www.openssl.com. Also http://www.rsasecurity.com/products/bsafe/sslc.html, http://www.icesoft.no/ and http://www.TeamF1.com/.

I have ported it myself. An older version was also used in the eNavigator product.

You can use Perl and the mingwin tools on NT to create the libssl.a and libcrypt.a file for NT. You can then create a makefile from all of the Makefile.ssl files. Here is the beginning of one of my Makefiles:

# Makefile for the Secure Sockets Layer (SSL) protocol components
#
# modification history
# --------------------

all: libcrypto.a

TGT_DIR =       $(WIND_BASE)/target
CPU     =       ARMARCH3
TOOL    =       gnu

include $(TGT_DIR)/h/make/defs.bsp
include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)
include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)

# Include
ADDED_CFLAGS += -DVXWORKS=1 -fno-volatile -DGETPID_IS_MEANINGLESS
EXTRA_INCLUDE += -Iinclude -Iinclude/openssl

# Base crypto sources.
C_SOURCE = crypto/cpt_err.c crypto/cryptlib.c crypto/cversion.c \\
        crypto/ebcdic.c crypto/ex_data.c crypto/mem.c           \\
        crypto/mem_dbg.c

# crypto sub-directories,
# asn1 bf bio bn buffer cast comp conf des dh dsa dso engine err
# evp hmac idea lhash md2 md4 md5 mdc2 objects pem perlasm pkcs12
# pkcs7 rand rc2 rc4 rc5 ripemd rsa sha stack threads txt_db x509 x509v3

C_SOURCE += crypto/asn1/a_object.c crypto/asn1/a_bitstr.c \\
        crypto/asn1/a_utctm.c crypto/asn1/a_gentm.c crypto/asn1/a_time.c \\

...

Configure without assembler and task/thread support, this should set the header files and other files up appropriately.
我是树上的那只鸟,整理着自己的羽毛,看着城市的喧嚣……
游客

返回顶部