Presentation is loading. Please wait.

Presentation is loading. Please wait.

VERSIONVERSION TIMETIME TARGETTARGET NONCENONCE Padding + Length hashMerkleRoot hashPrevBlock 32 Bits 384 Bits 256 Bits 512 Bits IV 256 Bits IV 256 Bits.

Similar presentations


Presentation on theme: "VERSIONVERSION TIMETIME TARGETTARGET NONCENONCE Padding + Length hashMerkleRoot hashPrevBlock 32 Bits 384 Bits 256 Bits 512 Bits IV 256 Bits IV 256 Bits."— Presentation transcript:

1 VERSIONVERSION TIMETIME TARGETTARGET NONCENONCE Padding + Length hashMerkleRoot hashPrevBlock 32 Bits 384 Bits 256 Bits 512 Bits IV 256 Bits IV 256 Bits 512 Bits H1 Padding + Length 256 Bits H2 256 Bits 000000... SHA256 Hashing Algorithm SHA256 0 SHA256 1 SHA256 2 SHA256 Hashing Algorithm H0 256 Bits

2 IV 256 Bits Message Block 512 Bits Message Schedule A B CD E FGH Message Compression Function (64 Rounds) Hash Value 256 Bits

3 01 A B C DEFGH Maj(A,B,C) Ch(E,F,G) R 15 R 14 R 13 R 12 R 11 R 10 R9R9 R8R8 R7R7 R6R6 R5R5 R4R4 R3R3 R2R2 R1R1 R0R0 01 KtKt MtMt WtWt 32 bit Adder 16 x 32 bit Registers 8 x 32 bit Registers

4 AtAt BtBt CtCt DtDt EtEt FtFt GtGt HtHt A t+1 B t +1 C t+1 D t+1 E t+1 F t+1 G t+1 H t+1 0 Maj() 1 Ch() WtWt KtKt (After 64 Rounds of the SHA256 Compression Function) H 0 i+1 H1iH1i H2iH2i H3iH3i H4iH4i H5iH5i H6iH6i H7iH7i H 1 i+1 H 2 i+1 H 3 i+1 H 4 i+1 H 5 i+1 H 6 i+1 H 7 i+1 H0iH0i For SHA256 2 H0iH0i 0x6a09e667H 0 i+1 0xXXXXXXXX H1iH1i 0xbb67ae85H 1 i+1 0xXXXXXXXX H2iH2i 0x3c6ef372H 2 i+1 0xXXXXXXXX H3iH3i 0xa54ff53aH 3 i+1 0xXXXXXXXX H4iH4i 0x510e527fH 4 i+1 0xXXXXXXXX H5iH5i 0x9b05688cH 5 i+1 0xXXXXXXXX H6iH6i 0x1f83d9abH 6 i+1 0x000000XX H7iH7i 0x5be0cd19H 7 i+1 0x00000000

5 C. S. A. abcabc abcabc a+b+c cost = 1+ε adderscost = 2 adders ps sc

6 AtAt BtBt CtCt DtDt EtEt FtFt GtGt HtHt A t+1 B t +1 C t+1 D t+1 E t+1 F t+1 G t+1 H t+1 0 Maj() 1 Ch() KtKt C. S. A. WtWt


Download ppt "VERSIONVERSION TIMETIME TARGETTARGET NONCENONCE Padding + Length hashMerkleRoot hashPrevBlock 32 Bits 384 Bits 256 Bits 512 Bits IV 256 Bits IV 256 Bits."

Similar presentations


Ads by Google