project2

project2 - ECE111 Design of an Encryption Co-Processor for...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE111 Design of an Encryption Co-Processor for a 802.11 Wireless LAN System-on-Chip
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Outline Wired Equivalent Privacy (WEP) Algorithm Implementation: WEP Co-processor Interfaces: CPU Interface DPSRAM interface Helpful Hints
Background image of page 2
3 Hardware Block Diagram WEP Co-Processor DPSRAM (stores frame bytes) ARM920T AMBA AHB Slave Interface Testbench Clk nreset CPU interface DPSRAM interface Port_A_clk Port_A_addr [15:0] Port_A_data_in [31:0] Port_A_we Port_A_data_out [31:0] Plain_addr [31:0] Frame_size [31:0] Cipher_addr [31:0] Start_encrypt Seed_msw [31:0] Seed_lsw [31:0] Done
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 WEP Algorithm Outline For each Frame { // WEP-INIT Construct Sbox // WEP-ENCRYPT For each byte of the Frame { Read Plaintext byte from Memory Compute Ciphertext Store Ciphertext to Memory } }
Background image of page 4
5 WEP-INIT 65 EF 0 7 255 times 0 1 2 253 254 255 8 bits 0 1 2 253 254 255 0 1 2 253 254 255 8 bits 65 1 2 0 253 254 255 0 1 2 253 254 255 8 bits 65 255 2 0 253 254 1 0 1 2 253 254 255 8 bits Swap (sbox[0], sbox[j]) Swap (sbox[1], sbox[j] ) Init. sbox[0. .255] j = 0; For each i (0 to 255): j = j + sbox [ i ] + seed [ i % 8 ]; swap ( sbox [ i ], sbox [ j ]); sbox[0. .255] Seed [0…7] 8 bits New values supplied for each frame For each Frame , construct S-Box BD
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/27/2010 for the course ECE ece111 taught by Professor Prof.billlin during the Spring '10 term at UCSD.

Page1 / 14

project2 - ECE111 Design of an Encryption Co-Processor for...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online