TW591924B - Key management device and method for the encrypted storage of digital data words - Google Patents

Key management device and method for the encrypted storage of digital data words Download PDF

Info

Publication number
TW591924B
TW591924B TW092101230A TW92101230A TW591924B TW 591924 B TW591924 B TW 591924B TW 092101230 A TW092101230 A TW 092101230A TW 92101230 A TW92101230 A TW 92101230A TW 591924 B TW591924 B TW 591924B
Authority
TW
Taiwan
Prior art keywords
memory
keyword
digital
unit
encrypted
Prior art date
Application number
TW092101230A
Other languages
English (en)
Other versions
TW200303135A (en
Inventor
Holger Sedlak
Thomas Kuenemund
Berndt M Gammel
Original Assignee
Infineon Technologies Ag
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Infineon Technologies Ag filed Critical Infineon Technologies Ag
Publication of TW200303135A publication Critical patent/TW200303135A/zh
Application granted granted Critical
Publication of TW591924B publication Critical patent/TW591924B/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1408Protection against unauthorised use of memory or access to memory by using cryptography

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

玖、發明說明 (發明說明應敘明:發明所屬之技術領域、先前技術、内容、實施方式及圖式簡單說明) 技術領域 本發明係關於一種用於電子記憶體之主要管理裝置及電 子記憶體中數位資料字之加密儲存之方法。 先前技術 電子記憶體基本上區分為兩種不同類型的記憶體。首先 k揮發性記憶體,如隨機存取3己憶體和具有短存取時間的 記憶體,其常用作緩衝記憶體,如快取記憶體;其次係非 揮發性記憶體,如ROM(唯讀記憶體)或EEPROM(電子可抹 除可程式化唯讀記憶體)。所有這些記憶體的共同之處為: 其構造結構規則有序,因而易於分析或操作。 因此,在安全臨界應用中,係藉由適當的密碼加密方法 保護電性儲存在該等記憶體中的資料,亦即以加密之方式 儲存資料。 由於將資料讀入該記憶體中時,必須將其加密;而且從 該記憶體中讀取資料之時,又必須將其解密,故存取該記 憶體中的加密資訊就不可避免地伴隨著較長時間地存取該 資料。此狀況在諸如智慧卡之類的外部儲存媒體令是不可 避免的,並且是可以接受的。然而,具有緩衝儲存資料, 並能再次快速獲取該等資料之任務的記憶體,如緩衝記憶 體、快取記憶體或類似物,因其任務,而不能使用複雜耗 時的加密方法。 已公佈之專利申請案WO 01/54083Α1和WO 01/5393 1Α3 為此類記憶體申請案提出了臨時有效關鍵字,藉此可利用 (2) 簡單的方法對所有資料字進行加密,以此方式即可在上述 5己憶體中’以加密之方式儲存所有資料字。在此狀況下, 依據不同的安全要求,使用較高或較低頻率來改變或更新 該關鍵字, —關鍵字更新以後,位於該記憶體中且使用先前的關鍵 予加密之資料内容將無法解密。為避免此種情況,在改變 該關鍵字時’必須對該記憶體内容重新進行加密,並再次 載入到該記憶體中。若安全要求高,並為此要經常改變該 關鍵字’則這將導致性能明顯降低。因此,結果是安全性 與性能之間存在著衝突。 發明内容 本發明基於以下目的··即使在頻繁改變關鍵字的情況之 下’考慮到一高安全要求,也能確保一高性能以及相關的 較短資料存取時間。 實施方式 藉申请專利範圍第1和8項提出的方法,可以達到此目 的。 在此情況下,可以同時獲得大量關鍵字用於加密敏感性 資料。當一資料字讀入一記憶體中時,一關鍵字選擇裝置 可依據一預定演算法從一關鍵字記憶體中,選擇一活動密 論。然後’上述關鍵字具有一明確標記,如一資料字使用 上述關鍵字進行加密。該資料位元係藉由加密裝置予以加 密’並儲存在該記憶體f。該標記和該加密資料字係平行 儲存。在此種情形下,該標記可在加密資料字與相關關鍵 (3) (3)
字建立一明確連結。 因而,可以選擇一不同的關鍵字,以供其他的各儲存操 作使用。此方法之優點是·可以選擇一新的關鍵字,以供 每一次儲存操作使用,從而獲得一最大有利的頻率,以供 關鍵字更新使用。 若希望讀出一特定資料字’則一第一比較裝置可利用該 加密資料字之標記,以判定該關鍵字記憶體中的適合關鍵 字,並且將該關鍵字供給一解密裝置。此狀況的結果是: 在每一種情況下使用不同關鍵字加密該記憶體内容,並且 在一解密操作之時,總可以獲得該關鍵字。在一關鍵字已 更新時,整個記憶體不必重新讀入並加密,而是一直保持 可解密狀態。 實施個別關鍵字的有效期構成了本發明的一有利延伸, 申請專利範圍第8項說明了該實施。在此情況下,該關鍵字 記憶體中已準備妤一規定時間的關鍵字,不再供新的加密 操作使用。只有當使用這些關鍵字加密的所有資料字已從 該記憶體中讀取或移除時,才能抹除這些關鍵字。 在本發明之優點的進一步詳細說明中,該加密單元和該 解密單元係組合以形成一共同加密解密單元。 而且,最好係藉由一雙向資料匯流排實現該主要管理裝 置之輸入以及該主要管理裝置之輸出。 本發明之一進一步有利改進提供另一或第二比較裝置, 以供一緩衝記憶體使用,該緩衝記憶體内容對應中央記憶 體單元。該比較裝置檢查該緩衝記憶體之該記憶内容中是 (4) (4)591924
否存在具有關鍵字標記的加密資料字,言玄等關鍵字已從池 P 〇1)中移除。若確定存在此種加密資料字,則從該緩衝記 憶體中將其移除。 本發明之一進一步有利改進可使該緩衝記憶體的所有該 等加密資料字寫回到該主記憶體中,並且在此情況中(其中 在汶加也ί料字之標記指出新的加密操作不再使用的關鍵 子,且在該關鍵字記憶體令很快不能獲得所有那些加密資 料卞進行解密之情況中)予以再次加密。此狀況之優點是: 僅糟由關鍵字的未檢查抹除,該緩衝記憶體之内容即木會 失去其有效性。 一關鍵字記憶體丨包含所有可用的關鍵字{1至、。經由一 弟輸入11 了確保將新的關鍵字供給該關鍵字記憶體1。 在一健存操作過程中,一密鑰選擇裝置2從位於該關鍵字 記憶體1中的關鍵字池中,選擇一活動密鑰,因此,在該加 谂單元5中使用該密鑰以加密該資料字。在此狀況中,在一 中央圮憶體單元4中使用其密鑰儲存一加密資料字。在此狀 况中,在_第二記憶體單元中儲存該加密資料字,並且在 該中央記憶體單元4的_第一記憶體單元中储存該加密資 料字的標記。使用一定址單元3來定址該記憶體單元。 以相反方式完成該記憶體的讀出操作。在此情;兄下,從 該中央記憶體單元4之第一記憶體單元9中讀取該加密資料 字之標記,並且一第一比較裝置12確定來自該關鍵字記憶 體的该匹配關鍵字。然後,一解密單元6使用所選擇的該關 鍵字解密該儲存的資訊。 (5) (5)
另-範例說明了本㈣應用於緩衝記憶體中,即所謂的 快取記憶體。在快速記憶體中,必、須從一記憶體中移除所 有加«料字,該職體之標記指出不利於解密的一密 輪。為實現此操作’可實施—抹除機制,其將已輸入該快 取記憶體中的該等加密資料字標記無效。&了實現此種抹 除機制’儲存有加密資料字之標記的記憶體陣列係設計成 -内容可定址記憶體。在—關鍵字從該關鍵字記憶體中抹 除之前,在該内容可定址記憶體中查找該密鑰之標記。在 此情況下,一電路確保具有該密鑰之標記的每一個資料字 均標記無效。 該快取記憶體中的該資料項目也可能寫回到下面的主記 憶體中,因此,可確保快取記憶體與主記憶體之間的一致 性0 搜尋最好以適當方式設計標記之搜尋,使得在該搜尋過 程中,查找已發現的該標記和該相關加密資料字,且只有 當一相關資料字不再出現於該快取記憶體中之時,才將該 密鑰從該關鍵字記憶體中抹除。 為了控制所述之序列,依據本發明可將一暫存器連接到 4主要f理裝置上’該暫存器包含各個別操作所需的資訊 。該資訊包含: a) 比較或搜哥一特疋關鍵字之一特定標記, b) 在本發明使用一快取記憶體的情形中,使具有不再 有效之關鍵字標記的加密資料字無效, c) 一函數,其能初始化從該快取記憶體寫回到該主記 .10- 591924 ⑹ 憶體之操作。 d) —指示,即是否存在(若有,則存在多少)具有無效或 不再有效之標記(即關鍵字)的加密資料字,以及 e) 提供必要的資訊,用於從快取記憶體的寫回操作。 圖式簡單說明 上文已參考附圖並使用一示範性具體實施例詳細說明本 發明。 該圖為依據本發明之電子記憶體的主要管理裝置,其係 使用該電子記憶體之各組件及其互連作簡要說明。 圖式代表符號說明 1 關鍵字記憶體 2 密鑰選擇裝置 3 定址單元 4 中央記憶體單元 5 加密單元 6 解密單元 7 輸入 8 輸出 9 第_記憶體單元 10 第二記憶體單元 11 第二輸入 12 第一比較裝置 13 第二比較裝置 14 緩衝記憶體 -Hr 591924 ⑺ 15 第三記憶體單元 16 雙向資料匯流排 t 1 . . . t n 關鍵字
-12-

Claims (1)

  1. 591924 拾、申請專利範圍 __ 裝置,其包括·' -一關鍵字記憶體(1),其 關鍵字⑴⑴至^) , 、°于:存複數個之數 ⑴上,I擇裝置⑺’其係連接到該關鍵字記憶]
    •,記憶體單元⑷’其包括用於儲存標記之】 :記憶體單元(9)和用於料加密㈣字之第二 早元(10), -一^單元⑺’其可定址_中央記憶體單元⑷ 之該等記憶體單元, -一加密單元(5),其係連接到料記憶體單元(1〇) 和該關鍵字記憶體(丨)上, -一解密單元(6),其係連接到該等記憶體單元(丨〇) 和該關鍵字記憶體(1)上,
    該密鑰選擇裝置(2)在儲存於該關鍵字記憶體(丨)之一 關鍵字和使用該關鍵字加密之該等資料字之間產生一 指定。 2·如申請專利範圍第丨項之主要管理裝置,其中欲儲存的 該等資料字之一輸入(7)係連接到該加密單元(5)上,且 欲讀出的該等資料字之一輸出(8)係連接到該解密單元 (6)上,且經由一第二輸入(π),該數位關鍵字供應給該 關鍵字記憶體(1)。 3·如申請專利範圍第1項之主要管理裝置,其中該加密單 Μ:))和錢密單疋⑻係結合以形成_共同加密解密單 ,巧專利k圍第1,2或3項之主要管理裝置,其中該輸 ^入(7)和該輸出(8)係藉由一雙向資料匯流排(16)實現。 如申凊專利範圍第1,2或3項之主要管理裝置’其中一 第比較裝置(12)係連接到該關鍵字記憶體(丨)和該中 央記憶體單元⑷之該第一記憶體單元⑺上,並且比較 °亥等關鍵子之標記和該等加密資料字之該等儲存的標 記。 6·如申請專利範圍第1,2或3項之主要管理裝置,其中該中 央圮憶體單元(4)係連接到一緩衝記憶體(14)上,且該等 二記憶體之内容係對應的。 7-如申請專利範圍第1,2或3項之主要管理裝置,其中/第 二比較裝置(13)係連接到該關鍵字記憶體(1)、一緩衝記 憶體(14)以及位於其中的該第三記憶體單元(15)上,旅 且比較該等關鍵字之該等標記和該等加密資料字之該 專儲存的標記。 8· 一種在電子記憶體中加密儲存數位資料字之方法, 其中欲儲存之每一資料字都使用一數位關鍵字進行 加密, 其可能不同於所儲存的另一資料字之另一數位關鍵 字, 對於每一加密操作,依據一預定方式,從一數位關鍵 字池中,選擇一數位關鍵字,
    母數位關鍵子和以其加密之每一資料字都具有一 私a己,該標記明確連結該數位資料字和一數位關鍵字, 以及 居等數位關鍵字係與該等加密資料字間隔分離地儲 存。 如申請專利範圍第8項之方法,其中一規定有效期消失 之後,不再為加密選擇一數位關鍵字,且其中從該池中 移除所有數位關鍵字,並用新的數位關鍵字替代,該等 新的數位關鍵字有效性消失,且無加密資料字標記指出 該等新的數位關鍵字。 如申明專利範圍第9項之方法,其中平行儲存於連接的 电子緩衝δ己丨思體中之加密資料字無效,其標記指出已從 該池中移除的關鍵字。 如申請專利範圍第1〇項之方法,其中平行儲存於連接的 電子緩衝記憶體中之加密資料字係寫回到該中央記情 體單元(4)中,其標記指出有效性消失但尚未從該池令移 除的關鍵字。 >
TW092101230A 2002-02-08 2003-01-21 Key management device and method for the encrypted storage of digital data words TW591924B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE10205316A DE10205316B4 (de) 2002-02-08 2002-02-08 Schlüsselmanagementeinrichtung und Verfahren zur verschlüsselten Ablage von digitalen Datenwörtern

Publications (2)

Publication Number Publication Date
TW200303135A TW200303135A (en) 2003-08-16
TW591924B true TW591924B (en) 2004-06-11

Family

ID=27634822

Family Applications (1)

Application Number Title Priority Date Filing Date
TW092101230A TW591924B (en) 2002-02-08 2003-01-21 Key management device and method for the encrypted storage of digital data words

Country Status (5)

Country Link
US (1) US7437572B2 (zh)
EP (1) EP1472606A2 (zh)
DE (1) DE10205316B4 (zh)
TW (1) TW591924B (zh)
WO (1) WO2003067438A2 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10352401A1 (de) * 2003-11-10 2005-06-16 Micronas Gmbh Verfahren zur Speicherung von Daten in einem Wahlzugriffspeicher und Verschlüsselungs- und Entschlüsselungsvorrichtung
US8028135B1 (en) 2004-09-01 2011-09-27 Netapp, Inc. Method and apparatus for maintaining compliant storage
US7581118B2 (en) * 2004-12-14 2009-08-25 Netapp, Inc. Disk sanitization using encryption
US7774610B2 (en) 2004-12-14 2010-08-10 Netapp, Inc. Method and apparatus for verifiably migrating WORM data
US7752401B2 (en) 2006-01-25 2010-07-06 Netapp, Inc. Method and apparatus to automatically commit files to WORM status
US8255704B1 (en) * 2006-08-24 2012-08-28 Netapp, Inc. Pool encryption with automatic detection

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4588991A (en) * 1983-03-07 1986-05-13 Atalla Corporation File access security method and means
JP3627384B2 (ja) * 1996-01-17 2005-03-09 富士ゼロックス株式会社 ソフトウェアの保護機能付き情報処理装置及びソフトウェアの保護機能付き情報処理方法
GB2321728B (en) * 1997-01-30 2001-12-19 Motorola Inc Apparatus and method for accessing secured data stored in a portable data carrier
FR2760871B1 (fr) * 1997-03-13 1999-04-16 Bull Cp8 Procede de stockage et d'exploitation d'une information sensible dans un module de securite, et module de securite associe
US5987572A (en) * 1997-09-29 1999-11-16 Intel Corporation Method and apparatus employing a dynamic encryption interface between a processor and a memory
DE19964198A1 (de) * 1999-07-15 2001-04-12 Erland Wittkoetter Datenverarbeitungsvorrichtung
JP3866105B2 (ja) 1999-12-02 2007-01-10 インフィネオン テクノロジーズ アクチエンゲゼルシャフト 暗号化機能を備えるマイクロプロセッサ装置
ATE249664T1 (de) * 2000-01-18 2003-09-15 Infineon Technologies Ag Mikroprozessoranordnung mit verschlüsselung
ATE382897T1 (de) * 2000-01-18 2008-01-15 Infineon Technologies Ag Mikroprozessoranordnung und verfahren zum betreiben einer mikroprozessoranordnung
US20020076204A1 (en) * 2000-12-18 2002-06-20 Toshihisa Nakano Key management device/method/program, recording medium, reproducing device/method, recording device, and computer-readable, second recording medium storing the key management program for copyright protection

Also Published As

Publication number Publication date
WO2003067438A3 (de) 2003-11-27
US7437572B2 (en) 2008-10-14
EP1472606A2 (de) 2004-11-03
DE10205316B4 (de) 2008-01-17
US20050044392A1 (en) 2005-02-24
WO2003067438A2 (de) 2003-08-14
DE10205316A1 (de) 2003-08-28
TW200303135A (en) 2003-08-16

Similar Documents

Publication Publication Date Title
US11368313B2 (en) Data storage devices and methods for encrypting a firmware file thereof
US8332572B2 (en) Wear leveling mechanism using a DRAM buffer
KR100969758B1 (ko) 플래시 변환 레이어에서 데이터를 암호화하여 처리하기위한 방법 및 장치
US8913750B2 (en) Method for managing keys and/or rights objects
US8209463B2 (en) Expansion slots for flash memory based random access memory subsystem
US20200310989A1 (en) Method and apparatus to generate zero content over garbage data when encryption parameters are changed
US10671546B2 (en) Cryptographic-based initialization of memory content
CN107908968A (zh) 用于集成微控制器和外部存储系统的块加密安全
US20130073870A1 (en) Secure relocation of encrypted files
US20070116288A1 (en) System for managing keys and/or rights objects
US9021186B2 (en) Partial allocate paging mechanism using a controller and a buffer
US20130305061A1 (en) Data storage device and data protection method
KR102588600B1 (ko) 데이터 저장 장치 및 동작 방법, 이를 포함하는 스토리지 시스템
KR102144124B1 (ko) 하이브리드 메인 메모리 시스템의 비휘발성 메모리의 데이터 관리 방법 및 장치
TW591924B (en) Key management device and method for the encrypted storage of digital data words
JP4047281B2 (ja) キャッシュメモリをメインメモリに同期させる方法
US7840745B2 (en) Data accessing system, controller and storage device having the same, and operation method thereof
US11681635B2 (en) Secure flash controller
EP1949294A2 (en) Method and system for managing keys and/or rights objects
US20210075609A1 (en) Key management device and processor chip having bypass channels
CN112585607A (zh) 用于存储存储器加密领域密钥id的方法、装置和系统
US20240086336A1 (en) Storage device deleting encryption key, method of operating the same, and method of operating electronic device including the same
US20230274037A1 (en) Secure Flash Controller
Lee et al. Secure Deletion for Flash-Based Self-Encrypting Drives
JP2004287754A (ja) コンピュータ及び命令処理方法