TW522698B

Key scheduler for encryption apparatus using data encryption standard algorithm

Abstract

A key scheduler for an encryption apparatus using a DESencryption algorithm is disclosed. The key schedulerincludes:a first permutation choice unit for permuting a 56-bit block;a first register for storing left 28 bits amongthe 56-bit block from the first permutation choice unit inaccordance with a clock signal;a second register for storingright 28 bits among the 56-bit block from the firstpermutation choice unit in accordance with the clock signal;a first and a second shift units for shifting the 28-bitblocks stored in the first and the second registers to theleft by a first predetermined number of bits and outputtingshifted 28-bit blocks to the first and the second registersrespectively; a second permutation choice unit for permutingthe 28 bits stored in the first and the second registers,therdby generating a first subkey; a third and a fourth shiftunets, each for shifting the 28 bits stored in the first andthe second registers to left by a second predetermined numberof bits; and a therd permutation choice unite for permutingthe 28 bits stored in the third and the fourth shifters,thereby generating a second subkey.

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

6 claims: 2 independent, 4 dependent

  1. 1
    522698 申請專利範圍 ι· 一種使用DES加密演算法沾石令牯罢+ +过 也/、·#古的加也、裝置之主排程器,其中 該主排程器包括: ~ 一第一排列選擇單元,其用以排列5 6 -位元區塊; 一第一暫存器,其用以根據時序信號儲存第一排列選 擇單元的56 -位元鑰匙區塊其中的左側28-位元; 一第二暫存器,其用以根據時序信號儲存第一排列選 擇單元的56-位元鑰匙區塊其中的右侧28_位元; 一第一和一第二轉移單元,其用以將儲存在第一和第 二暫存器的28 -位元區塊以第一預定位元數轉移至左 側’並將轉移的2 8 -位元分別輸出至第一和第二暫存 器; 一第二排列選擇單元,其用以排列儲存在第一和第二 暫存器的28-位元,並藉此產生第一子鑰匙; 一第三和一第四轉移單元,其皆用以將儲存在第一和 第二暫存器的2 8 -位元以第二預定位元數轉移至左側; 以及 一第三排列選擇單元,其用以排列儲存在第三和第四 轉移器的28-位元,並藉此產生第二子鑰匙。 2_如申請專利範圍第1項之主排程器,其中該第二預定位 元數為1或2。 3·如申請專利範圍第2項之主排程器,其中該第三排列選 擇單元是由配線完成。 4· 一種使用DES加密演算法的加密裝置之主排程器,其中 該主排程器包括: -22- 本紙張尺度適用中國國家標準(CNS) Α4規格(210 X 297公釐) 522698 A BCD w 穴川Μ j 1儿7〇區塊; 一第一暫存器,其用以根據時序信號儲存第一排列$ 擇單元的5 6 -位元鑰匙區塊其中的左側2 8 _位元; 1 第一暫存器,其用以根據時序信號儲存第一 擇單元的56 -位元鑰匙區塊其中的右側28_位元; 第一和一第二轉移單元,其用以將儲存在第一 二暫存器的28-位元區塊以第一預定位元數轉移至〆 ,,並將轉移的28-位元分別輸出至第一和第二暫^ 〇s , -第二排列選擇單元,其用以排列儲存在第 _ 暫存器的28 -位元,並藉此產生第一子鑰匙; 一 -第三和四轉移單元,其皆用以將儲存在第 第二暫存器的28-位元以第二預定位元數 以及 々W, -第三排列選擇單元,其用以排列儲存在第 轉移器的28-位元,並藉此產生第二子鑰匙。 弟西 5. 如申請專利範圍第4項之主排程器, 元數為丨或2。 〃中该第二預定位 6. 如申請專利範圍第5項之主排程器, βσ ,、甲孩弟二排列撰 擇早元是由配線路完成。 、 -23-