Cryptographic key usage management

WO2024191715A3PCT designated stage expired Publication Date: 2024-10-31CRYPTOGRAPHY RESEARCH INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/US2024/018775
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-03-07
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Cryptographic key information leakage occurs due to the repeated use of cryptographic keys without adequate rotation, leading to security vulnerabilities.

Method used

A system that limits the usage of cryptographic keys by introducing a threshold for key rotations, associating each key with a version indicator and usage count, and migrates retired keys to a separate storage for efficient memory management.

Benefits of technology

This approach effectively reduces key information leakage by ensuring timely key rotation and optimizing memory usage, enhancing the security and efficiency of cryptographic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2024018775_31102024_PF_FP_ABST
    Figure US2024018775_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A system limits the use (e.g., number of encryptions and / or decryptions using that key value) of cryptographic key values. When a key value's usage count exceeds the limit, that value is "retired", and a new key value is selected. Key identifiers and a key versions are associated with each encrypted data block. The key identifiers are also associated with current key values, a current version indicators, and usage indicators. Key identifiers may also be associated with one or more previous (i.e., 'retired') version indicators and corresponding previous key values. When an encrypted data block associated with a given key identifier is accessed, the key version indicator associated with that block, and the key version indicators associated with the current and previous keys, are used to select the proper key from either the current key value or one of the previous key values.
Need to check novelty before this filing date? Find Prior Art

Description

CRYPTOGRAPHIC KEY USAGE MANAGEMENTBRIEF DESCRIPTION OF THE DRAWINGS

[0001] Figures 1A-1F are diagrams illustrating a first example encrypted memory key management system.

[0002] Figures 2A-2E are diagrams illustrating a second example encrypted memory key management system.

[0003] Figure 3 is a flowchart illustrating a method decrypting with a previous key version.

[0004] Figure 4 is a flowchart illustrating a method of switching key versions.

[0005] Figure 5 is a flowchart illustrating a method of using both current and previous key versions.

[0006] Figure 6 is a flowchart illustrating a method of managing key storage memory.

[0007] Figure 7 is a block diagram of a processing system.DETAILED DESCRIPTION OF THE EMBODIMENTS

[0008] In an embodiment, to help reduce cryptographic key information leakage, a system with encrypted memory limits the number of times a given cryptographic key is used before replacing that key with a new key version / value. For example, the system may limit the use (e.g., encryptions or decryptions using that key value) of any given cryptographic key value to a threshold number of uses (e.g., 50, 100, etc.). When a key value meets or exceeds the threshold number of uses, that value is “retired”, and a new key value is selected. A key management system associates a key identifier (a.k.a., key ‘slot’ value) and a key version indicator with each encrypted data block. The key management system also associates each of the key identifiers with a current key value, a current version indicator, and a usage indicator. A key identifier may also be associated with one or more previous (i.e., ‘retired’) version indicators and corresponding previous key values. When an encrypted data block associated with a key identifier is accessed, the key management system uses the key version indicator associated with that block, and the key version indicators associated with the current and previous keys, to select the proper key from either the current key value or one of the previous key values.

[0009] In an embodiment, the key management system also tracks how many encrypted data blocks are associated with each key identifier-key version pair. When the number of blocksassociated with a given key identifier-key version pair reaches zero, the associations of that key identifier-key version may be removed thereby saving memory and making room for the associations of a future key identifier-key version pair.

[0010] Figures 1A-1F are diagrams illustrating a first example encrypted memory key management system. In Figures 1A-1F, memory system 100 comprises memory devices 110 and controller 120. The content residing in memory devices 110 includes encrypted data blocks 114a-l 14c. Each encrypted data block 114a-l 14c is respectively associated with a key identifier 111 a- 111c and a key version indicator 112a-l 12c. Key identifiers 111 a- 111c and key version indicators 112a- 112c may be stored by memory devices 110. Key identifiers 11 la-111c and key version indicators 112a- 112c may be stored as metadata with or alongside encrypted data blocks 114a-l 14c and / or otherwise associated with encrypted data blocks 114a-l 14c (e.g., in separate memory devices and / or controller 120 local storage — not shown in Figures 1A-1F).

[0011] Controller 120 includes random number generator circuitry 126, control circuitry 127, cryptographic circuitry (e.g., encryption engine, decryption engine, etc.) 128, current key association circuitry 129, and previous (a.k.a., ‘retired’) key association circuitry 139. Current key association circuitry 129 is organized as a plurality of current key entries 129a-129d (a.k.a., key slots), each associated with unique key identifier (a.k.a., key slot value) and each comprising a key version field 122, a usage count field 123, and a key value field 125. Random number generator circuitry 126 may be used in the generation of key values stored in key value field 125. Random number generator circuitry 126 may be used in the selection of a key identifier value associated with a current key entry 129a-129d storing a key value 125a-125d to be used to encrypt a cleartext data block into an encrypted data block 114a-l 14c or to decrypt an encrypted data block 114a-l 14c into a cleartext data block.

[0012] In Figures 1A-1F, current key association circuitry 129 is illustrated with current key entries 129a-129d. In an embodiment, each current key entry 129a-129d (a.k.a., key slot) is associated with a unique, among current key entries 129a-129d, key identifier 11 la-111c. Current key entry 129a is illustrated associating current key version indicator 122a, usage count 123a, and key value 125a. Current key entry 129b is illustrated associating current key version indicator 112b, usage count 123b, and key value 125b. Current key entry 129c is illustrated associating current key version indicator 122c, usage count 123c, and key value 125c. Currentkey entry 129c is illustrated associating current key version indicator 122c, usage count 123c, and key value 125c. In an embodiment, each key value 125a-125c in current key association circuitry 129 at any given time is unique.

[0013] Previous key association circuitry 139 is organized as a plurality of previous key entries each comprising a key identifier field 111, a key version indicator field 132, and a key value field 135. In Figures 1A-1F, previous key association circuitry 139 is illustrated with previous key entries 139a-139c. Previous key entry 139a is illustrated associating key identifier 1 I la, key version indicator 112a, and previous key value 125aa. Previous key entry 139b is illustrated associating key identifier I l la, key version indicator 132ab, and previous key value 125ab. Previous key entry 139c is illustrated associating key identifier 111c, key version indicator 132c, and previous key value 125ca. In an embodiment, current key association circuitry 129 and / or previous key association circuitry 139 may be, or comprise, a content addressable memory and / or lookup table circuitry.

[0014] Usage count 123a-123d is used by control circuitry 127 to track how many times the respective associated key value 125a-125d has been used by cryptographic circuitry 128 to encrypt or decrypt. When a respective usage count 123a-123d exceeds a threshold (e.g., 50 uses), controller 120 may ‘retire’ (i.e., no longer use that key value to encrypt cleartext) the associated key value 125a-125d. When a key value (e.g., key value 125c) is retired, controller 120 migrates the associated key identifier value, key version indicator (e.g., key version indicator 122c), and key value (e.g., key value 125c) to an available entry in previous key association circuitry 239.

[0015] In an embodiment, key identifiers 111 a- 111c respectively associated with encrypted data blocks 114a- 114c index into current key association circuitry 129 to select current key entries 129a-129d associated with respective encrypted data blocks 114a-l 14c. For example, the values of key identifiers 11 la-111c may determine an offset (e.g., lookup table offset) into current key association circuitry 129 that selects the current key entry 129a-129d associated with (or to be associated with when encrypting a cleartext data block) the respective encrypted data block 114a-l 14c.

[0016] To access (e.g., read or write) an encrypted data block (e.g., encrypted data block 114b) that is associated with a current (i.e., not retired) key, controller 120 reads the keyidentifier (e.g., key identifier 11 lb) associated with the encrypted data block. The key identifier is used by controller 120 (and control circuitry 127, in particular), to retrieve the current key entry (e.g., current key entry 129b) associated with the key identifier (e.g., key identifier value / index) associated with the encrypted data block being accessed. This is illustrated in Figure IB by arrow 151 running from key identifier 11 lb, that is associated with encrypted data block 114b, to current key entry 129b in current key association circuitry 129.

[0017] When reading an encrypted data block 114a-l 14c, controller 120 uses the current key version indicator (e.g., key version indicator 122b) from the accessed current key entry (e.g., current key entry 129b) and the key version indicator associated with the encrypted data block being accessed (e g., key version indicator 1 12b) to determine whether the key value (e.g., key value 125b) in the current key entry may be used as a decryption key for the block being read, or if the cryptographic key associated with the encrypted block being accessed has been retired.For example, controller 120 may test whether the current key version indicator (e.g., key version indicator 122b) from the accessed current key entry (e.g., current key entry 129b) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 112b) are equal in order to determine whether the key value (e.g., key value 125b) in the current key entry may be used as a cryptographic key for the block being accessed (e.g., are equal), or if the cryptographic key associated with the encrypted block being accessed has been retired (e.g., are not equal). This is illustrated in Figure IB by arrow 152 running from the key version indicator 112b associated with encrypted data block 114b and arrow 153 running from key version indicator 122b of current key entry 129b to comparison function 127a of control circuitry 127.

[0018] If controller 120 determines that the key value (e.g., key value 125b) in the current key entry may be used with the encrypted data block being accessed, controller 120 may use the key value from the accessed current key entry to use as a cryptographic key to decrypt the encrypted data block being accessed. This is illustrated in Figure 1C by the “equal” sign in comparison function 127a, arrow 154 running from key value 125b to cryptographic circuitry 128, arrow 155 running from encrypted data block 114b, and arrow 156 running from cryptographic circuitry 128 out of controller 120 (e.g., to / from a host - not shown in Figures 1A- 1F).

[0019] To read an encrypted data block (e.g., encrypted data block 114a) that is associated with a retired key, controller 120 reads the key identifier (e.g., key identifier 1 I la) associated with the encrypted data block. The key identifier is used by controller 120 (and control circuitry 127, in particular), to select the current key entry (e.g., current key entry 129a) associated with the key identifier (e.g., key identifier value / index). This is illustrated in Figure ID by arrow 161 running from key identifier 11 la, that is associated with encrypted data block 114a, to current key entry 129a in current key association circuitry 129.

[0020] Controller 120 uses the current key version indicator (e.g., key version indicator 122a) from the accessed current key entry (e.g., current key entry 129a) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 112a) to determine whether the key value (e.g., key value 125a) in the current key entry may be used as a cryptographic key for the block being accessed, or if the cryptographic key associated with the encrypted block being accessed has been retired. For example, controller 120 may test whether the current key version indicator (e.g., key version indicator 122a) from the accessed current key entry (e.g., current key entry 129a) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 112a) are equal in order to determine whether the key value (e.g., key value 125a) in the current key entry may be used as a cryptographic key for the block being accessed (e.g., are equal), or if the cryptographic key associated with the encrypted block being accessed has been retired (e.g., are not equal). This is illustrated in Figure ID by arrow 162 running from the key version indicator 112a associated with encrypted data block 114a and arrow 163 running from key version indicator 122a of current key entry 129a to comparison function 127a of control circuitry 127.

[0021] If controller 120 determines that the key value (e.g., key value 125a) in the current key entry may not be used with the encrypted data block being accessed, controller 120 searches previous key association circuitry 139 for an entry that matches both the key identifier associated with the encrypted block being accessed (e.g., key identifier I l la) and key version indicator corresponding to the key version indicator of the block being accessed (e.g., key version indicator 112a). Previous key association circuitry 139 may include multiple entries associated with the same key identifier (e.g., key identifier 1 I la).

[0022] Previous key association circuitry 139 searches its entries for entries with a key identifier corresponding to the key identifier from the encrypted block being accessed. This is illustrated in Figure IE by arrow 164 running from key identifier 11 la to previous key entry 139a and previous key entry 139b.

[0023] Controller 120 uses the key version indicators (e.g., key version indicator 112a and key version indicator 132ab) from the accessed previous key entries (e.g., previous key entries 139a-139b) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 112a) to determine which (if any) key value (e.g., a one of key values 125aa-125ab) of the previous key entries may successfully be used as a cryptographic key for the block being accessed. For example, controller 120 may test whether one of the current key version indicators (e.g., key version indicator 112a and key version indicator 132ab) from the previous key entries (e.g., previous key entries 139a-139b) associated with the key identifier (e.g., key identifier I l la) are equal in order to determine which (if any) key value (e.g., key values 125aa or key value 125ab) may successfully be used as a cryptographic key for the block being accessed (e.g., are equal). This is illustrated in Figure IE by arrow 165 running from key version indicator 112a associated with encrypted data block 114a to comparison function 127b, arrow 166 running from key version indicator 112a of previous key entry 139a to comparison function 127b, and arrow 167 running from key version indicator 132ab of previous key entry 139b to comparison function 127b.

[0024] Controller 120 determines which the key value (e.g., key value 125ab) from the previous key entries (if any) may be used with the encrypted data block being accessed. Controller 120 may use the key value from the selected (or found) previous key entry as a cryptographic key to encrypt and / or decrypt the encrypted data block being accessed. This is illustrated in Figure IF by the “equal” sign in comparison function 127b, arrow 168 running from key value 125aa from previous key entry 139a to cryptographic circuitry 128, and arrow 169 running from cryptographic circuitry 128 out of controller 120 (e.g., to / from a host - not shown in Figures 1A-1F).

[0025] Figures 2A-2E are diagrams illustrating a second example encrypted memory key management system. In Figures 2A-2E, memory system 200 comprises memory devices 210 and controller 220. The content residing in memory devices 210 includes encrypted data blocks214a-214c. Each encrypted data block 214a-214c is respectively associated with a key identifier 21 la-211c and a key version indicator 212a-212c. Key identifiers 21 la-211c and key version indicators 212a-212c may be stored by memory devices 210. Key identifiers 21 la-211c and key version indicators 212a-212c may be stored as metadata with or alongside encrypted data blocks 214a-214c and / or otherwise associated with encrypted data blocks 214a-214c (e.g., in separate memory devices and / or controller 220 local storage — not shown in Figures 2A-2E).

[0026] Controller 220 includes random number generator circuitry 226, control circuitry 227, cryptographic circuitry (e.g., encryption engine, decryption engine, etc.) 228, current key association circuitry 229, and previous (a.k.a., ‘retired’) key association circuitry 239. Current key association circuitry 229 is organized as a plurality of current key entries 229a-229d (a.k.a., key slots), each associated with unique key identifier (a.k.a., key slot value) and each comprising a key version indicator field 222, a usage count field 223, an active block count field 224, and a key value field 225. Random number generator circuitry 226 may be used in the generation of key values stored in key value field 225. Random number generator circuitry 226 may be used in the selection of a key identifier value associated with a current key entry 229a-229d storing a key value 225a-225d to be used to encrypt a cleartext data block into an encrypted data block 214a-214c or to decrypt an encrypted data block 214a-214c into a cleartext data block.

[0027] In Figures 2A-2E, key association circuitry 229 is illustrated with current key entries 229a-229d that each respectively comprise key version 222a-222d, usage count 223a-223d, active block count 224a-224d, and current key value 225a-225d. In an embodiment, each current key entry 229a-229d (a.k.a., key slot) is associated with a unique, among current key entries 229a-229d, key identifier 21 la-211c. In an embodiment, each key value 225a-225c in current key association circuitry 229 at any given time is unique.

[0028] Previous key association circuitry 239 is organized as a plurality of previous key entries each comprising a key identifier field 211, a key version indicator field 232, an active count field 234, and a key value field 235. In Figures 2A-2E, key association circuitry 239 is illustrated with previous key entries 239a-239b. In Figures 2A-2C, previous key entries 239a- 239b are respectively illustrated comprising key identifier 211a, key version indicators 232aa- 232ab, active block count values 234aa-234ab, and previous key values 225aa-225ab. Key association circuitry 239 is also illustrated with previous key entry 239c that comprises keyidentifier 21 lb, key version indicator 232b, active block count value 234b, and previous key value 225ba. In an embodiment, current key association circuitry 229 and / or previous key association circuitry 239 may be, or comprise, a content addressable memory and / or lookup table circuitry.

[0029] Usage count 223a-223d is used by control circuitry 127 to track how many times the respective associated key value 225a-225d has been used by cryptographic circuitry 228 to encrypt or decrypt. When a respective usage count 223a-223d exceeds a threshold (e.g., 50 uses), controller 220 may ‘retire’ (i.e., no longer use that key value to encrypt cleartext) the associated key value 225a-225d. When a key value (e.g., key value 225c) is retired, controller 220 migrates the associated key identifier value, key version indicator (e.g., key version indicator 222c), active block count value (e.g., active block count 224c) and key value (e.g., key value 225c) to an available entry in previous key association circuitry 239.

[0030] In an embodiment, key identifiers 21 la-211c respectively associated with encrypted data blocks 214a-214c index into key association circuitry 229 to select current key entries 229a- 229d associated with respective encrypted data blocks 214a-214c. For example, the values of key identifiers 21 la-211c may determine an offset (e.g., lookup table offset) into key association circuitry 229 that selects the current key entry 229a-229d associated with (or to be associated with when encrypting a cleartext data block) the respective encrypted data block 214a-214c.

[0031] To access (e.g., read or write) an encrypted data block (e.g., encrypted data block 214b) that is associated with a current (i.e., not retired) key, controller 220 reads the key identifier (e.g., key identifier 211b) associated with the encrypted data block. The key identifier is used by controller 220 (and control circuitry 227, in particular), to retrieve the current key entry (e.g., current key entry 229b) associated with the key identifier (e.g., key identifier value / index) associated with the encrypted data block being accessed.

[0032] When reading an encrypted data block 214a-214c, controller 220 uses the current key version indicator (e.g., key version indicator 222b) from the accessed current key entry (e.g., current key entry 229b) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 212b) to determine whether the key value (e.g., key value 225b) in the current key entry may be used as a decryption key for the block being read, or if the cryptographic key associated with the encrypted block being accessed has been retired.For example, controller 220 may test whether the current key version indicator (e.g., key version indicator 222b) from the accessed current key entry (e.g., current key entry 229b) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 212b) are equal in order to determine whether the key value (e.g., key value 225b) in the current key entry may be used as a cryptographic key for the block being accessed (e.g., are equal), or if the cryptographic key associated with the encrypted block being accessed has been retired (e.g., are not equal).

[0033] If controller 220 determines that the key value (e.g., key value 225b) in the current key entry may be used with the encrypted data block being accessed, controller 220 may use the key value from the accessed current key entry to as a cryptographic key to decrypt the encrypted data block being accessed.

[0034] To read an encrypted data block (e.g., encrypted data block 214a) that is associated with a retired key, controller 220 reads the key identifier (e.g., key identifier 211a) associated with the encrypted data block. The key identifier is used by controller 220 (and control circuitry 227, in particular), to select the current key entry (e.g., current key entry 229a) associated with the key identifier (e.g., key identifier value / index).

[0035] Controller 220 uses the current key version indicator (e.g., key version indicator 222a) from the accessed current key entry (e.g., current key entry 229a) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 212a) to determine whether the key value (e.g., key value 225a) in the current key entry may be used as a cryptographic key for the block being accessed, or if the cryptographic key associated with the encrypted block being accessed has been retired. For example, controller 220 may test whether the current key version indicator (e.g., key version indicator 222a) from the accessed current key entry (e.g., current key entry 229a) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 212b) are equal in order to determine whether the key value (e.g., key value 225a) in the current key entry may be used as a cryptographic key for the block being accessed (e.g., are equal), or if the cryptographic key associated with the encrypted block being accessed has been retired (e.g., are not equal).

[0036] If controller 220 determines that the key value (e.g., key value 225b) in the current key entry may not be used with the encrypted data block being accessed, controller 220 searchesprevious key association circuitry 239 for an entry that matches both the key identifier associated with the encrypted block being accessed (e.g., key identifier 211a) and key version indicator corresponding to the key version indicator of the block being accessed (e.g., key version indicator 212a). Previous key association circuitry 239 may include multiple entries associated with the same key identifier (e.g., key identifier 211a).

[0037] Previous key association circuitry 239 searches its entries for entries with a key identifier corresponding to the key identifier from the encrypted block being accessed.Controller 220 uses the key version indicators (e.g., key version indicators 232aa-232ab) from the accessed previous key entries (e.g., previous key entries 239a-239b) and the key version indicator associated with the encrypted data block being accessed (e.g., key version indicator 212a) to determine which (if any) key value (e.g., a one of previous key values 225aa-225ab) of the previous key entries may successfully be used as a cryptographic decryption key for the block being accessed. For example, controller 220 may test whether one of the current key version indicators (e.g., key version indicators 232aa-232ab) from the previous key entries (e g., previous key entries 239a-239b) associated with the key identifier (e.g., key identifier 21 la) are equal in order to determine which (if any) key value (e.g., key value 225aa or key value 225ab) may successfully be used as a cryptographic decryption key for the block being accessed (e g., are equal).

[0038] Controller 220 determines which the key value (e.g., key value 225ab) from the previous key entries (if any) may be used with the encrypted data block being accessed. Controller 220 may use the key value from the selected (or found) previous key entry as a cryptographic key to decrypt the encrypted data block being accessed.

[0039] To read an encrypted data block (e.g., encrypted data block 214a) that is associated with a retired key, controller 220 reads the key identifier (e.g., key identifier 211a) and key version indicator (e.g., key version indicator 212a) associated with the encrypted data block. The key identifier and key version indicator are used by controller 220 (and control circuitry 227, in particular), to select the previous key entry (e.g., previous key entry 239b may be selected when key version indicator 212a associated with encrypted data block 214a equals and / or corresponds to key version indicator 232ab associated with previous key entry 239b) associated with the key identifier (e.g., key identifier value / index) and key version indicator. The key valuefield of this selected previous key entry provides a key value that may be used to decrypt the encrypted data block being read.

[0040] To encrypt a cleartext data block and write the corresponding encrypted data block to memory devices 210, controller 220 selects a current key entry 229a-229d (e.g., using random number generator circuitry 226 to select a corresponding / associated key identifier) to provide the key value to be used to encrypt the cleartext data block. When the newly encrypted data block is written to memory devices 210, controller 220 advances (e.g., increments) the value in the active block count field 224 of the selected current key entry (e.g., current key entry 229b). This is illustrated in Figure 2B by arrow 251 running from cryptographic circuitry 228 to memory devices 210 and arrow 252 running from control circuitry 227 to the active block count 224b of current key entry 229b.

[0041] Similarly, when an encrypted data block is discarded (e.g., deallocated), or is reencrypted with a different key, controller 220 de-advances (e.g., decrements) the value in the active block count field of the selected current key entry (e.g., current key entry 229b). In this manner, a running count of the encrypted data blocks in memory devices 210 that were encrypted with a particular current key value 225a-225d is maintained by current key association circuitry.

[0042] When a key value is retired, its current active block count value is migrated to previous key association circuitry 239 along with its associated key identifier value, key version indicator, and key value. When a previous key entry (e.g., previous key entry 239b) is used to decrypt an encrypted data block that will either be re-encrypted using a different (active) key value, or is the encrypted data block is being evicted from memory devices 210, the active block count field in that previous key entry is de-advanced (e.g., decremented). This is illustrated in Figure 2C by arrow 253 running from key value 225ab of previous key entry 239b to cryptographic circuitry 228, arrow 254 running from active block count 234ab of previous key entry 239b to control circuitry 227, and arrow 255 running from control circuitry 227 back to active block count 234ab of previous key entry 239b.

[0043] When the active block count of a previous key entry reach a threshold (e.g., zero), the space / entry / slot in previous key association circuitry 239 may be freed for use by another previous key value. The space / entry / slot in previous key association circuitry 239 may be freedfor use by another previous key value when the count reaches the threshold because, with an appropriately selected threshold count, there are no longer any encrypted data blocks 214a-214c in memory devices 210 that need the key value stored by that entry for decryption (either because there are no blocks remaining that used that key value, or any remaining blocks will never be decrypted). This is illustrated in Figure 2D by arrow 256 running from control circuitry 227 to previous key entry 239b, where the fields of previous key entry 239b are illustrated as blank.

[0044] As discussed herein, when a key value is retired, its associated key identifier value, key version indicator, current active block count value, and key value are migrated to an available entry in previous key association circuitry 239. This is illustrated in Figure 2E by arrow 257 running from the fields of current key entry 229c to previous key entry 239b, where the fields of previous key entry 239b are illustrated as key identifier 211c, key version indicator 222c, active block count 224c, and key value 225c.

[0045] Figure 3 is a flowchart illustrating a method decrypting with a previous key version. One or more of the steps illustrated in Figure 3 may be performed by, for example, memory system 100, memory system 200, and / or their components. Each of a plurality of cryptographic key identifiers are associated with a respective current key value, a respective current version indicator, and a respective usage indicator. The plurality of cryptographic key identifiers including a first cryptographic key identifier associated with a first current key value, a first current version indicator, and a first usage indicator (302). For example, current key association circuitry 129 of controller 120 may associate respective key identifiers 11 la-111c with respective current key version indicators (e.g., key version indicator 122a, key version indicator 112b, and key version indicator 122c), respective current usage indicators (e.g., usage indicators 123a-123c), and respective current key values (e.g., key values 125a-125c). In particular, current key association circuitry 129 of controller 120 may associate current key identifier I l la with current key version indicator 122a, usage indicator 123a, and current key value 125a.

[0046] The first cryptographic key identifier is associated with at least a first previous version indicator and corresponding first previous key value (304). For example, previous key association circuitry 139, and previous key entry 139a, in particular, may associate key identifier I l la with previous key version indicator 112a and previous key value 125aa. Based on a firstaccess of a first encrypted block of data associated with the first cryptographic key identifier, and based on a first association of the first encrypted block of data with the first previous version indicator, use the first previous key value to decrypt the first encrypted block of data (306). For example, based on an access to encrypted block of data 114a, and based on the association by previous key entry 139a of key version indicator 112a with encrypted data block 114a, controller 120 may use previous key value 125aa to decrypt encrypted data block 114a.

[0047] Figure 4 is a flowchart illustrating a method of switching key versions. One or more of the steps illustrated in Figure 4 may be performed by, for example, memory system 100, memory system 200, and / or their components. A list of a plurality of unique key values each associated with respective key slot value, usage count values, and version indicator values is maintained where the plurality of unique key values include a first key value associated with a first key slot value, first usage count value, and a first version indicator value (402). For example, current key association circuitry 129 may maintain current key entries 129a-129d, each associated with a unique key identifier 11 la-111c, where each current key entry 129a-129d indicates associations via a key version field 122, a usage count field 123, and a key value field 125. In particular, for example, current key entry 129a may associate key identifier I l la with key version indicator 112a, usage indicator 123a, and key value 125a.

[0048] A first encrypted data block that is associated with the first key slot value is accessed, and based on the first encrypted data block being associated with the first key slot value, using the first key value to decrypt the first encrypted data block (404). For example, encrypted data block 114a, which is associated with key identifier I l la, may be accessed and, based on encrypted data block 114a being associated with key identifier I l la, key value 125a may be used to decrypt encrypted data block 114a. Based on using the first key value, the first usage count value is advanced to a first advanced usage count value, the first key value is associated with the advanced key count value, and the first key value is disassociated with the first usage count value (406). For example, the usage count field 123 of current key entry 129a may be incremented thereby associating key value 125a with the incremented usage count value and disassociating key value 125a with the previous usage count value.

[0049] Based on the first advanced usage count value meeting a first threshold criteria, the first key slot value is associated with a second key value, and initial usage count value, and asecond version indicator value (408). For example, based on the incremented usage count value in current key entry 129a meeting or exceeding a threshold number of uses (e.g., 50 uses of key value 125a), controller 120 may retire key value 125a from the key value field 125 of current key entry 129a, replace it with a ‘new’, randomly selected key value, advance (e.g., increment) the key version indicator in the key version field 122 of current key entry 129b, and initialize the usage count in the usage count field 123 of current key entry 129b.

[0050] After associating the first key slot value with the second key value, a second encrypted data block is accessed that is associated with the first key slot value and based on the second encrypted data block being associated with the first key slot value and the first version indicator value, the first key value is used to decrypt the second encrypted data block (410). For example, after ‘retiring’ key value 125aa from current key association circuitry 129, controller 120 may search previous key entries 139a- 139c of previous key association circuitry 139 for a match of both key identifier I l la and key version indicator 112a and, when found, use the associated key value (e.g., key value 125aa) to decrypt an encrypted data block (e.g., encrypted data block 114a).

[0051] Figure 5 is a flowchart illustrating a method of using both current and previous key versions. One or more of the steps illustrated in Figure 5 may be performed by, for example, memory system 100, memory system 200, and / or their components. A first encrypted data block that is associated with the first key slot value is accessed, and based on the first encrypted data block being associated with the first key slot value, using the first key value to decrypt the first encrypted data block (504). For example, encrypted data block 114a, which is associated with key identifier I l la, may be accessed and, based on encrypted data block 114a being associated with key identifier 1 I la, key value 125a may be used to decrypt encrypted data block 114a. Based on using the first key value, the first usage count value is advanced to a first advanced usage count value, the first key value is associated with the advanced key count value, and the first key value is disassociated with the first usage count value (506). For example, the usage count field 123 of current key entry 129a may be incremented thereby associating key value 125a with the incremented usage count value and disassociating key value 125a with the previous usage count value.

[0052] Based on the first advanced usage count value meeting a first threshold criteria, the first key slot value is associated with a second key value, and initial usage count value, and a second version indicator value (508). For example, based on the incremented usage count value in current key entry 129a meeting or exceeding a threshold number of uses (e.g., 50 uses of key value 125a), controller 120 may retire key value 125a from the key value field 125 of current key entry 129a, replace it with a ‘new’, randomly selected key value, advance (e.g., increment) the key version indicator in the key version field 122 of current key entry 129a, and initialize the usage count in the usage count field 123 of current key entry 129a.

[0053] After associating the first key slot value with the second key value, a second encrypted data block is accessed that is associated with the first key slot value and based on the second encrypted data block being associated with the first key slot value and the first version indicator value, the first key value is used to decrypt the second encrypted data block (510). For example, after ‘retiring’ key value 125aa from current key association circuitry 129, controller 120 may search previous key entries 139a- 139c of previous key association circuitry 139 for a match of both key identifier I l la and key version indicator 112a and, when found, use the associated key value (e.g., key value 125aa) to decrypt a data block (e.g., encrypted data block 114a).

[0054] After associating the first key slot value with the second key value, a third encrypted data block is accessed that is associated with the first key slot value and based on the third encrypted data block being associated with the first key slot value and the second version indicator value, the second key value is used to decrypt the third encrypted data block (512). For example, after ‘retiring’ key value 125aa from current key association circuitry 129, controller 120 may, based on an encrypted data block being associated with key identifier 11 la and also associated with the version indicator currently in the key version field 122 of current key entry 129a, use the key value in the key value field 125 of current key entry 129a to decrypt the encrypted data block.

[0055] Figure 6 is a flowchart illustrating a method of managing key storage memory. One or more of the steps illustrated in Figure 6 may be performed by, for example, memory system 100, memory system 200, and / or their components. A first plaintext data block is encrypted using a first key value associated with a first key slot value to generate a first encrypted datablock (602). For example, a first plaintext data block may be encrypted by controller 120 using key value 225a which is associated with key identifier 21 la by current key entry 229a.

[0056] Based on encrypting the first plaintext data block using the first key value, a block count value associated with the first key value is advanced (604). For example, based on using key value 225a to encrypt the first plaintext data block, controller 220 may increment the active block count field 224 of current key entry 229a. A second plaintext data block is encrypted using the first key value associated with a first key slot value to generate a second encrypted data block (606). For example, a second plaintext data block may be encrypted by controller 220 using key value 225a which is associated with key identifier 21 la by current key entry 229a. Based on encrypting the second plaintext data block using the first key value, the block count value associated with the first key value is advanced (608). For example, based on using key value 225a to encrypt the second plaintext data block, controller 220 may increment the active block count field 224 of current key entry 229a a second time.

[0057] The first encrypted data block is decrypted using the first key value associated with the first key slot value (610). For example, after key value 225a is retired, the first encrypted data block may be decrypted by controller 220 using key value 225a as retrieved from an entry 239a-239c in previous key association circuitry 239. Based on at least one of retiring the first encrypted data block and overwriting the first encrypted data block with data encrypted using a different key value from the first key value, de-advance the block count value associated with the first key value (612). For example, after key value 225a is retired, and based on using a key value different from key value 225a to generate an encrypted data block that overwrites, the active block count field 234 of that entry 239a-239c may be decremented.

[0058] The second encrypted data block is decrypted using the first key value associated with the first key slot value (614). For example, after key value 225a is retired, the second encrypted data block may be decrypted by controller 220 using key value 225a as retrieved from an entry 139a-139c in previous key association circuitry 239. Based on at least one of retiring the second encrypted data block and overwriting the second encrypted data block with data encrypted using a different key value from the first key value, and based on the active block count value meeting a threshold criteria, remove an entry associated with the first key value from a key storage memory (616). For example, after key value 225a is retired, and based on adecremented active count field 234 (e.g., as a result of encrypted block retirement or overwrite) of the entry 139a-139c associated with key value 225a in previous key association circuitry 239 meeting a threshold (e.g., zero), the entry 139a-139c associated with key value 225a may be removed from previous key association circuitry 239.

[0059] The methods, systems and devices described above may be implemented in computer systems, or stored by computer systems. The methods described above may also be stored on a non-transitory computer readable medium. Devices, circuits, and systems described herein may be implemented using computer-aided design tools available in the art, and embodied by computer-readable files containing software descriptions of such circuits. This includes, but is not limited to one or more elements of memory system 100, and / or memory system 200, and their components. These software descriptions may be: behavioral, register transfer, logic component, transistor, and layout geometry -level descriptions. Moreover, the software descriptions may be stored on storage media or communicated by carrier waves.

[0060] Data formats in which such descriptions may be implemented include, but are not limited to: formats supporting behavioral languages like C, formats supporting register transfer level (RTL) languages like Verilog and VHDL, formats supporting geometry description languages (such as GDSII, GDSIII, GDSIV, CIF, and MEBES), and other suitable formats and languages. Moreover, data transfers of such files on machine-readable media may be done electronically over the diverse media on the Internet or, for example, via email. Note that physical files may be implemented on machine-readable media such as: 4 mm magnetic tape, 8 mm magnetic tape, 3-1 / 2 inch floppy media, CDs, DVDs, and so on.

[0061] Figure 7 is a block diagram illustrating one embodiment of a processing system 700 for including, processing, or generating, a representation of a circuit component 720. Processing system 700 includes one or more processors 702, a memory 704, and one or more communications devices 706. Processors 702, memory 704, and communications devices 706 communicate using any suitable type, number, and / or configuration of wired and / or wireless connections 708.

[0062] Processors 702 execute instructions of one or more processes 712 stored in a memory 704 to process and / or generate circuit component 720 responsive to user inputs 714 and parameters 716. Processes 712 may be any suitable electronic design automation (EDA) tool orportion thereof used to design, simulate, analyze, and / or verify electronic circuitry and / or generate photomasks for electronic circuitry. Representation 720 includes data that describes all or portions of memory system 100, and / or memory system 200, and their components, as shown in the Figures.

[0063] Representation 720 may include one or more of behavioral, register transfer, logic component, transistor, and layout geometry-level descriptions. Moreover, representation 720 may be stored on storage media or communicated by carrier waves.

[0064] Data formats in which representation 720 may be implemented include, but are not limited to: formats supporting behavioral languages like C, formats supporting register transfer level (RTL) languages like Verilog and VHDL, formats supporting geometry description languages (such as GDSII, GDSIII, GDSIV, CIF, and MEBES), and other suitable formats and languages. Moreover, data transfers of such files on machine-readable media may be done electronically over the diverse media on the Internet or, for example, via email

[0065] User inputs 714 may comprise input parameters from a keyboard, mouse, voice recognition interface, microphone and speakers, graphical display, touch screen, or other type of user interface device. This user interface may be distributed among multiple interface devices. Parameters 716 may include specifications and / or characteristics that are input to help define representation 720. For example, parameters 716 may include information that defines device types (e.g., NFET, PFET, etc.), topology (e.g., block diagrams, circuit descriptions, schematics, etc.), and / or device descriptions (e.g., device properties, device dimensions, power supply voltages, simulation temperatures, simulation models, etc ).

[0066] Memory 704 includes any suitable type, number, and / or configuration of non- transitory computer-readable storage media that stores processes 712, user inputs 714, parameters 716, and circuit component 720.

[0067] Communications devices 706 include any suitable type, number, and / or configuration of wired and / or wireless devices that transmit information from processing system 700 to another processing or storage system (not shown) and / or receive information from another processing or storage system (not shown). For example, communications devices 706 may transmit circuit component 720 to another system. Communications devices 706 may receive processes 712, userinputs 714, parameters 716, and / or circuit component 720 and cause processes 712, user inputs 714, parameters 716, and / or circuit component 720 to be stored in memory 704.

[0068] Implementations discussed herein include, but are not limited to, the following examples:

[0069] Example 1: A method of limiting cryptographic key usage, comprising: associating each of a plurality of cryptographic key identifiers with a respective current key value, a respective current version indicator, and a respective usage indicator, the plurality of cryptographic key identifiers including a first cryptographic key identifier associated with a first current key value, a first current version indicator, and a first usage indicator; associating the first cryptographic key identifier with at least a first previous version indicator and corresponding first previous key value; and based on a first access of a first encrypted block of data associated with the first cryptographic key identifier, and based on a first association of the first encrypted block of data with the first previous version indicator, using the first previous key value to decrypt the first encrypted block of data.

[0070] Example 2: The method of example 1, further comprising: associating a second one of the plurality of cryptographic key identifiers with at least a second previous version indicator and a second previous key value; and based on a second access of a second encrypted block of data associated with the second one of the plurality of cryptographic key identifiers, and based on a second association of the second encrypted block of data with the second previous version indicator, using the second previous key value to decrypt the second encrypted block of data.

[0071] Example 3: The method of example 1, further comprising: associating the first cryptographic key identifier with a second previous version indicator and a second previous key value; and based on a second access of a second encrypted block of data associated with the first cryptographic key identifier, and based on a second association of the second encrypted block of data with the second previous version indicator, using the second previous key value to decrypt the second encrypted block of data.

[0072] Example 4: The method of example 1, further comprising: associating the first cryptographic key identifier with a first active encrypted block count value that is associated with a first number of encrypted blocks of data that are currently encrypted using the first previous key value.

[0073] Example 5: The method of example 4, further comprising: associating the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first current key value.

[0074] Example 6: The method of example 4, further comprising: associating the first previous version indicator with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first previous key value.

[0075] Example 7: The method of example 4, further comprising: based on using the first previous key value to decrypt the first encrypted block of data, associating the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first previous key value, where the first number and the second number are not equal.

[0076] Example 8: A method of managing cryptographic key usage, comprising: maintaining a list of a plurality of unique key values each associated with respective key slot values, usage count values, and version indicator values, the plurality of unique key values including a first key value associated with a first key slot value, first usage count value, and a first version indicator value; accessing a first encrypted data block that is associated with the first key slot value, based on the first encrypted data block being associated with the first key slot value, using the first key value to decrypt the first encrypted data block; and based on using the first key value, advancing the first usage count value to a first advanced usage count value and associating the first key value with the first advanced usage count value and disassociating the first key value with the first usage count value; based on the first advanced usage count value meeting a first threshold criteria, associating the first key slot value with a second key value, an initial usage count value, and a second version indicator value; and after associating the first key slot value with the second key value, accessing a second encrypted data block that is associated with the first key slot value and based on the second encrypted data block being associated with the first key slot value and the first version indicator value, using the first key value to decrypt the second encrypted data block.

[0077] Example 9: The method of example 8, further comprising: after associating the first key slot value with the second key value, accessing a third encrypted data block that is associated with the first key slot value, and based on the third encrypted data block being associated with the first key slot value and the second version indicator value, using the second key value to decrypt the third encrypted data block.

[0078] Example 10: The method of example 9, further comprising: based on using the second key value, advancing a third usage count value associated with the second key value to a second advanced usage count value and associating the second key value with the second advanced usage count value and disassociating the second key value with the third usage count value; based on the second advanced usage count value meeting the first threshold criteria, associating the first key slot value with a third key value, the initial usage count value, and a third version indicator value; and after associating the first key slot value with the third key value, accessing a fourth encrypted data block that is associated with the first key slot value, and based on the fourth encrypted data block being associated with the first key slot value and the first version indicator value, using the first key value to decrypt the fourth encrypted data block.

[0079] Example 11: The method of example 10, further comprising: after associating the first key slot value with the third key value, accessing a fifth encrypted data block that is associated with the first key slot value, and based on the fifth encrypted data block being associated with the first key slot value and the second version indicator value, using the second key value to decrypt the fifth encrypted data block.

[0080] Example 12: The method of example 11, wherein each of the plurality of unique key values is further associated with respective block count values that indicate a respective number of encrypted data blocks currently encrypted using respective ones of the plurality of unique key values, the first key value associated further being associated with a first block count value.

[0081] Example 13: The method of example 12, further comprising: based on at least one of retiring the first encrypted data block and overwriting the first encrypted data block with data encrypted using a different key value from the first key value, advancing the first block count value to a first advanced block count value; and based on the first advanced block count value meeting a second threshold criteria, dissociating the first key slot value with the first key value.

[0082] Example 14: The method of example 13, further comprising: based on encrypting a first plaintext data block using the first key value, advancing a second block count value to the first block count value.

[0083] Example 15: An encrypted memory system, comprising: key association circuitry configured to associate each of a plurality of cryptographic key identifiers with a respective current key value, a respective current version indicator, and a respective usage indicator, the plurality of cryptographic key identifier including a first cryptographic key identifier associated with a first current key value, a first current version indicator, and a first usage indicator; the key association circuitry further configured to associate the first cryptographic key identifier with at least a first previous version indicator and corresponding first previous key value; and key usage circuitry to, based on a first access of a first encrypted block of data associated with the first cryptographic key identifier, and based on a first association of the first encrypted block of data with the first previous version indicator, use the first previous key value to decrypt the first encrypted block of data.

[0084] Example 16: The encrypted memory system of example 15, wherein the key association circuitry is further configured to associate a second one of the plurality of cryptographic key identifiers with at least a second previous version indicator and a second previous key value, and the key usage circuitry is further configured to, based on a second access of a second encrypted block of data associated with the second one of the plurality of cryptographic key identifiers, and based on a second association of the second encrypted block of data with the second previous version indicator, use the second previous key value to decrypt the second encrypted block of data.

[0085] Example 17: The encrypted memory system of example 15, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a second previous version indicator and a second previous key value, and the key usage circuitry is to, based on a second access of a second encrypted block of data associated with the first cryptographic key identifier, and based on a second association of the second encrypted block of data with the second previous version indicator, use the second previous key value to decrypt the second encrypted block of data.

[0086] Example 18: The encrypted memory system of example 15, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a first active encrypted block count value that is associated with a first number of encrypted blocks of data that are currently encrypted using the first previous key value.

[0087] Example 19: The encrypted memory system of example 18, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first current key value.

[0088] Example 20: The encrypted memory system of example 15, wherein the key association circuitry comprises a content addressable memory.

[0089] The foregoing description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and other modifications and variations may be possible in light of the above teachings. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated. It is intended that the appended claims be construed to include other alternative embodiments of the invention except insofar as limited by the prior art.

Claims

CLAIMSWhat is claimed is:

1. A method of limiting cryptographic key usage, comprising: associating each of a plurality of cryptographic key identifiers with a respective current key value, a respective current version indicator, and a respective usage indicator, the plurality of cryptographic key identifiers including a first cryptographic key identifier associated with a first current key value, a first current version indicator, and a first usage indicator; associating the first cryptographic key identifier with at least a first previous version indicator and corresponding first previous key value; and based on a first access of a first encrypted block of data associated with the first cryptographic key identifier, and based on a first association of the first encrypted block of data with the first previous version indicator, using the first previous key value to decrypt the first encrypted block of data.

2. The method of claim 1, further comprising: associating a second one of the plurality of cryptographic key identifiers with at least a second previous version indicator and a second previous key value; and based on a second access of a second encrypted block of data associated with the second one of the plurality of cryptographic key identifiers, and based on a second association of the second encrypted block of data with the second previous version indicator, using the second previous key value to decrypt the second encrypted block of data.

3. The method of claim 1, further comprising: associating the first cryptographic key identifier with a second previous version indicator and a second previous key value; and based on a second access of a second encrypted block of data associated with the first cryptographic key identifier, and based on a second association of the secondencrypted block of data with the second previous version indicator, using the second previous key value to decrypt the second encrypted block of data.

4. The method of claim 1, further comprising: associating the first cryptographic key identifier with a first active encrypted block count value that is associated with a first number of encrypted blocks of data that are currently encrypted using the first previous key value.

5. The method of claim 4, further comprising: associating the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first current key value.

6. The method of claim 4, further comprising: associating the first previous version indicator with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first previous key value.

7. The method of claim 4, further comprising: based on using the first previous key value to decrypt the first encrypted block of data, associating the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first previous key value, where the first number and the second number are not equal.

8. A method of managing cryptographic key usage, comprising: maintaining a list of a plurality of unique key values each associated with respective key slot values, usage count values, and version indicator values, the plurality ofunique key values including a first key value associated with a first key slot value, first usage count value, and a first version indicator value; accessing a first encrypted data block that is associated with the first key slot value, based on the first encrypted data block being associated with the first key slot value, using the first key value to decrypt the first encrypted data block; and based on using the first key value, advancing the first usage count value to a first advanced usage count value and associating the first key value with the first advanced usage count value and disassociating the first key value with the first usage count value; based on the first advanced usage count value meeting a first threshold criteria, associating the first key slot value with a second key value, an initial usage count value, and a second version indicator value; and after associating the first key slot value with the second key value, accessing a second encrypted data block that is associated with the first key slot value and based on the second encrypted data block being associated with the first key slot value and the first version indicator value, using the first key value to decrypt the second encrypted data block.

9. The method of claim 8, further comprising: after associating the first key slot value with the second key value, accessing a third encrypted data block that is associated with the first key slot value, and based on the third encrypted data block being associated with the first key slot value and the second version indicator value, using the second key value to decrypt the third encrypted data block.

10. The method of claim 9, further comprising: based on using the second key value, advancing a third usage count value associated with the second key value to a second advanced usage count value and associating the second key value with the second advanced usage count value and disassociating the second key value with the third usage count value;based on the second advanced usage count value meeting the first threshold criteria, associating the first key slot value with a third key value, the initial usage count value, and a third version indicator value; and after associating the first key slot value with the third key value, accessing a fourth encrypted data block that is associated with the first key slot value, and based on the fourth encrypted data block being associated with the first key slot value and the first version indicator value, using the first key value to decrypt the fourth encrypted data block.11 . The method of claim 10, further comprising: after associating the first key slot value with the third key value, accessing a fifth encrypted data block that is associated with the first key slot value, and based on the fifth encrypted data block being associated with the first key slot value and the second version indicator value, using the second key value to decrypt the fifth encrypted data block.

12. The method of claim 11, wherein each of the plurality of unique key values is further associated with respective block count values that indicate a respective number of encrypted data blocks currently encrypted using respective ones of the plurality of unique key values, the first key value associated further being associated with a first block count value.

13. The method of claim 12, further comprising: based on at least one of retiring the first encrypted data block and overwriting the first encrypted data block with data encrypted using a different key value from the first key value, advancing the first block count value to a first advanced block count value; and based on the first advanced block count value meeting a second threshold criteria, dissociating the first key slot value with the first key value.

14. The method of claim 13, further comprising:based on encrypting a first plaintext data block using the first key value, advancing a second block count value to the first block count value.

15. An encrypted memory system, comprising: key association circuitry configured to associate each of a plurality of cryptographic key identifiers with a respective current key value, a respective current version indicator, and a respective usage indicator, the plurality of cryptographic key identifier including a first cryptographic key identifier associated with a first current key value, a first current version indicator, and a first usage indicator; the key association circuitry further configured to associate the first cryptographic key identifier with at least a first previous version indicator and corresponding first previous key value; and key usage circuitry to, based on a first access of a first encrypted block of data associated with the first cryptographic key identifier, and based on a first association of the first encrypted block of data with the first previous version indicator, use the first previous key value to decrypt the first encrypted block of data.

16. The encrypted memory system of claim 15, wherein the key association circuitry is further configured to associate a second one of the plurality of cryptographic key identifiers with at least a second previous version indicator and a second previous key value, and the key usage circuitry is further configured to, based on a second access of a second encrypted block of data associated with the second one of the plurality of cryptographic key identifiers, and based on a second association of the second encrypted block of data with the second previous version indicator, use the second previous key value to decrypt the second encrypted block of data.

17. The encrypted memory system of claim 15, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a second previous version indicator and a second previous key value, and the key usage circuitry is to, based on a second access of a second encrypted block of data associated with the first cryptographic key identifier, and based on a second association of the second encrypted block of data with the secondprevious version indicator, use the second previous key value to decrypt the second encrypted block of data.

18. The encrypted memory system of claim 15, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a first active encrypted block count value that is associated with a first number of encrypted blocks of data that are currently encrypted using the first previous key value.

19. The encrypted memory system of claim 18, wherein the key association circuitry is further configured to associate the first cryptographic key identifier with a second active encrypted block count value that is associated with a second number of encrypted blocks of data that are currently encrypted using the first current key value.

20. The encrypted memory system of claim 15, wherein the key association circuitry comprises a content addressable memory.

Citation Information

Patent Citations

  • Use of Indirect Data Keys for Encrypted Tape Cartridges

    US20080273697A1

  • Medical image transfer system

    US20190349755A1

  • Dynamic cryptographic key expansion

    US20200042746A1

  • Automatic provisioning of key material rotation information to services

    US20210152336A1