About MD5 on sec2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About MD5 on sec2

990 Views
MarcoStornelli
Contributor I
Hi all, I'm trying to write code to use the MPC8548E's security engine to calc md5 digests.

Linux kernel 2.6.10
Sec 2.x Device driver 1.6

The problem:
I can calculate correctly md5 digests using single requests, but i can't using multiple interim requests.

If I use request as DPD_MD5_LDCTX_IDGS_HASH_ULCTX I expect to have a context in the outData member of th HASH_REQ struct. At next request I put the previous outData in ctxData. This is correct ?
And what about the field outBytes and ctxBytes? Are these fields written by the driver?

Regards
0 Kudos
Reply
1 Reply

416 Views
dracuka
Contributor I

hey ! im trying to get the answer, i know u havent been logged for a long time. but i just hope that u can c this and reply me.

thankkkk u!

 

email : dumcalory@gmail.com

0 Kudos
Reply