Re: Re: Re: hello everyone

2008-08-05 Thread Ger Hobbelt
abc_123_ok 2008-08-04 发件人: Ger Hobbelt 发送时间: 2008-08-04 17:08:38 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Great! I'm curious: what was the solution? Thanks, Ger On Sat, Aug 2, 2008 at 10:12 AM, abc_123_ok [EMAIL PROTECTED

Re: Re: Re: hello everyone

2008-08-04 Thread Ger Hobbelt
发件人: Ger Hobbelt 发送时间: 2008-07-30 16:52:00 收件人: openssl-users 抄送: 主题: Re: Re: Re: hello everyone yes , you are correct , my client does not use Openssl code. Okay... Well, this significantly complicates matters as I assume you have either (a) written the embedded code from scratch, or (b

Re: Re: Re: hello everyone

2008-08-04 Thread abc_123_ok
Dear Ger, ^_^ the reason is I didn't decrypt the 24 bytes data, so the IV don't update , as a result is the data decrypted is error. thanks a lot. abc_123_ok 2008-08-04 发件人: Ger Hobbelt 发送时间: 2008-08-04 17:08:38 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Great

Re: Re: Re: hello everyone

2008-08-02 Thread abc_123_ok
thanks Ger Hobbelt and All, my question have been solved, thanks a lot. 2008-08-02 abc_123_ok 发件人: Ger Hobbelt 发送时间: 2008-07-30 16:52:00 收件人: openssl-users 抄送: 主题: Re: Re: Re: hello everyone yes , you are correct , my client does not use Openssl code. Okay... Well

Re: Re: Re: hello everyone

2008-07-30 Thread Ger Hobbelt
yes , you are correct , my client does not use Openssl code. Okay... Well, this significantly complicates matters as I assume you have either (a) written the embedded code from scratch, or (b) use a different third party library for that code. Where 'gut feeling' makes me bet on (a) here.

Re: Re: Re: hello everyone

2008-07-29 Thread abc_123_ok
know what the 24 bytes? My english is not very good. so I can't express my idea very well. thanks abc_123_ok 2008-07-29 发件人: Ger Hobbelt 发送时间: 2008-07-28 18:09:11 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Couple of things to test/check next: up to now you've fed

Re: Re: Re: hello everyone

2008-07-29 Thread abc_123_ok
Dear Ger Hobbelt, yes , you are correct , my client does not use Openssl code. abc_123_ok 2008-07-30 发件人: Ger Hobbelt 发送时间: 2008-07-28 18:10:31 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone I use openssl as a server to test SSL client of our comany. the SSL client

Re: Re: Re: hello everyone

2008-07-29 Thread abc_123_ok
Dear All, my problem can't still be sloved. abc_123_ok 2008-07-30 发件人: abc_123_ok 发送时间: 2008-07-29 14:52:06 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Dear Ger Hobbelt and All, I should introduce a situation to you. I use openssl server and client to test

Re: Re: Re: hello everyone

2008-07-28 Thread Ger Hobbelt
: abc_123_ok 发送时间: 2008-07-25 09:35:17 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Dear Victor Duchovni, I knew what you speak as below, I have added the CBC padding and Mac and record head, but besides these len,  it still have 24 bytes is more. the 24 bytes is before

Re: Re: Re: hello everyone

2008-07-28 Thread Ger Hobbelt
I use openssl as a server to test SSL client of our comany. the SSL client is a part of embedded system。 I used command as blow in Cygwin. From this I take it your embedded client does NOT use OpenSSL code, correct? -- Met vriendelijke groeten / Best regards, Ger Hobbelt

Re: Re: Re: hello everyone

2008-07-27 Thread abc_123_ok
I can't fix my problem , anybady can help me? abc_123_ok 2008-07-28 发件人: abc_123_ok 发送时间: 2008-07-25 09:35:17 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Dear Victor Duchovni, I knew what you speak as below, I have added the CBC padding and Mac and record head

Re: Re: Re: hello everyone

2008-07-27 Thread Kyle Hamilton
? abc_123_ok 2008-07-28 发件人: abc_123_ok 发送时间: 2008-07-25 09:35:17 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Dear Victor Duchovni, I knew what you speak as below, I have added the CBC padding and Mac

Re: Re: Re: hello everyone

2008-07-27 Thread abc_123_ok
: Kyle Hamilton 发送时间: 2008-07-28 12:20:26 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone Why is this a problem? What is the problem? SSL and TLS are designed to abstract out underlying protocol details from the protocol client. What are you doing that requires a 1 to 1

Re: Re: Re: hello everyone

2008-07-24 Thread abc_123_ok
: Re: hello everyone Dear , the data is client receive application data containing the 24 bytes and the 32 bytes from server. 00 50 c2 0f 5f fe 00 15 58 18 1a 53 08 00 45 00 .P.._... X..S..E. 0010 00 6a 5d 93 40 00 80 06 08 7b c0 0a 0a 68 c0 0a [EMAIL PROTECTED] .{...h.. 0020 0a

Re: Re: Re: hello everyone

2008-07-24 Thread Victor Duchovni
On Thu, Jul 24, 2008 at 05:10:54PM +0800, abc_123_ok wrote: I want to know what the 24 byte is. The TLS record layer uses a 5 byte header. The actual data is extended with a MAC, and encrypted which often adds CBC padding. You should not make any assumptions about the length of the encrypted

Re: Re: Re: hello everyone

2008-07-24 Thread abc_123_ok
Duchovni 发送时间: 2008-07-24 22:02:49 收件人: openssl-users@openssl.org 抄送: 主题: Re: Re: Re: hello everyone On Thu, Jul 24, 2008 at 05:10:54PM +0800, abc_123_ok wrote: I want to know what the 24 byte is. The TLS record layer uses a 5 byte header. The actual data is extended with a MAC, and encrypted which

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear Kyle Hamilton and All, The client receive the data properly and The server receive the data properly. I have added padding at the behind of the data. len of the data mode 8 equal 0. code is as following: static void packApplicationData(DBUF_T *msgptr) { BYTE *ptr = dbuf_top(msgptr);

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear Alan Wolfe All, I send some data to server, no problem server can receive the data normally. but when I send some data to client with openssl s_server. for exmple, I enter aa on server with openssl s_server, it is 10 'a'. but I receive the data from client, I found the data have

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear , the data is client receive application data containing the 24 bytes and the 32 bytes from server. 00 50 c2 0f 5f fe 00 15 58 18 1a 53 08 00 45 00 .P.._... X..S..E. 0010 00 6a 5d 93 40 00 80 06 08 7b c0 0a 0a 68 c0 0a [EMAIL PROTECTED] .{...h.. 0020 0a 03 01 bb c3 8a e7 47