Please discard this thread.
Sorry.
________________________________
Da: Massimo Gaggiano<mailto:[email protected]>
Inviato: 10/06/2015 04:25
A:
[email protected]<mailto:[email protected]>
Oggetto: [TrouSerS-users] Concatenation "||" semantics
Hi all,
I think I don't get the sense of the "||" concatenation.
I know that PcrExtend() 'pcrValue' output value is
SHA-1(initial_value || new_20_bytes).
I reset PCR 16 and I extend PCR 16 with both BYTE data[20] =
{'1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0'}
and char *data = "12345678901234567890", getting the same pcrValue in
output - 58 78 F2 7B 26 48 3D CE BA B4 EB 21 2E 2C 19 C2 A1 3A 0D D4 .
Can you tell me what data should I give in input to
Tspi_Hash_UpdateValue() to obtain the same digest?
I tried with
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0'}
but GetHashValue() gives me a different digest
(D1 D6 C8 AD D6 C8 D4 75 42 5D EC 88 74 56 47 F1 6A 04 FC 8E).
Thank you very much.
Max
------------------------------------------------------------------------------
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users
------------------------------------------------------------------------------
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users