hottub.patents
US 12,561,197 B2#3309613 Most CitedActiveUnited States (USPTO)Utility

Recovering from an error during a cryptographic operation running asynchronous to a core pipeline

0Forward Citations (#3309613 Global)
0.0/yrCitation Velocity (#3309613 Global)
0.00Citation PageRank (#3309613 Global)
15Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
13Drawings / Sheets

Abstract

Examples described herein provide a computer-implemented method that includes performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to a core pipeline. The method further includes computing a chaining value for the cryptographic operation. The method further includes, responsive to an occurrence of an error, recovering from the error using the chaining value.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to a core pipeline; computing a chaining value for the cryptographic operation; and responsive to an occurrence of an error, recovering from the error using the chaining value.

  2. Claim 2Depends on #1

    The computer-implemented method of claim 1, wherein the chaining value is stored in a chaining buffer.

  3. Claim 3Depends on #2

    The computer-implemented method of claim 2, further comprising storing an output of the cryptographic operation to a buffer separate from the chaining buffer.

  4. Claim 4Depends on #3

    The computer-implemented method of claim 3, wherein the buffer and the chaining buffer are synchronized.

  5. Claim 5Depends on #1

    The computer-implemented method of claim 1, wherein the cryptographic operation is one of an XOR-encrypt-XOR (XEX)-based tweaked codebook mode with cyphertext stealing (XTS) operation, an output feedback (OFB) operation, a cypher feedback (CFB) operation, a cipher block chaining (CBC) operation, or a Galois/counter mode (GCM) operation.

  6. Claim 6Depends on #1

    The computer-implemented method of claim 1, further comprising determining whether the error occurred.

  7. Claim 7Depends on #1

    The computer-implemented method of claim 1, wherein recovering from the error using the chaining value comprises: computing a store length; determining, using the store length, whether a partial store occurred; and responsive to the partial store having occurred, and responsive to a store being completed, setting bytes to align equal zero and recovering the chaining value.

  8. Claim 8Depends on #1

    The computer-implemented method of claim 1, wherein recovering from the error using the chaining value comprises: computing a store length; determining, using the store length, whether a partial store occurred; and responsive to the partial store having occurred, and responsive to a same thread being used, recovering a last target block and recovering the chaining value.

  9. Claim 9Independent Claim

    A system comprising: a memory comprising computer readable instructions; and a processing device for executing the computer readable instructions, the computer readable instructions controlling the processing device to perform operations comprising: performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to a core pipeline; computing a chaining value for the cryptographic operation; and responsive to an occurrence of an error, recovering from the error using the chaining value.

  10. Claim 10Depends on #9

    The system of claim 9, wherein the chaining value is stored in a chaining buffer.

  11. Claim 11Depends on #10

    The system of claim 10, wherein the operations further comprise storing an output of the cryptographic operation to a buffer separate from the chaining buffer.

  12. Claim 12Depends on #11

    The system of claim 11, wherein the buffer and the chaining buffer are synchronized.

  13. Claim 13Depends on #9

    The system of claim 9, wherein the cryptographic operation is one of an XOR-encrypt-XOR (XEX)-based tweaked codebook mode with cyphertext stealing (XTS) operation, an output feedback (OFB) operation, a cypher feedback (CFB) operation, a cipher block chaining (CBC) operation, or a Galois/counter mode (GCM) operation.

  14. Claim 14Depends on #9

    The system of claim 9, wherein the operations further comprise determining whether the error occurred.

  15. Claim 15Depends on #9

    The system of claim 9, wherein recovering from the error using the chaining value comprises: computing a store length; determining, using the store length, whether a partial store occurred; and responsive to the partial store having occurred, and responsive to a store being completed, setting bytes to align equal zero and recovering the chaining value.

  16. Claim 16Depends on #9

    The system of claim 9, wherein recovering from the error using the chaining value comprises: computing a store length; determining, using the store length, whether a partial store occurred; and responsive to the partial store having occurred, and responsive to a same thread being used, recovering a last target block and recovering the chaining value.

  17. Claim 17Independent Claim

    A computer program product comprising: a set of one or more non-transitory computer-readable storage media; program instructions, collectively stored in the set of one or more storage media, for causing a processor set to perform the following computer operations: performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to a core pipeline; computing a chaining value for the cryptographic operation; and responsive to an occurrence of an error, recovering from the error using the chaining value.

  18. Claim 18Depends on #17

    The computer program product of claim 17, wherein the chaining value is stored in a chaining buffer.

  19. Claim 19Depends on #18

    The computer program product of claim 18, wherein the operations further comprise storing an output of the cryptographic operation to a buffer separate from the chaining buffer.

  20. Claim 20Depends on #19

    The computer program product of claim 19, wherein the buffer and the chaining buffer are synchronized.

Technical Overview & Description

BACKGROUND The present disclosure relates to computing systems, and more specifically, to recovering from an error during a cryptographic operation running asynchronous to a core pipeline. Some computing systems, like z/Architecture-based computing systems from International Business Machines, provide private, secure, and resilient hybrid multicloud computing capabilities. z/Architecture-based computing systems use a specialized instruction set architecture that offers advanced features, such as extensive memory addressing, support for vector and scalar processing, and specialized instructions for tasks like cryptographic operations. Cryptographic operations refer to various tasks related to encryption, decryption, and cryptographic key management. These operations are used to provide data security and integrity in enterprise computing environments. They include algorithms such as Advanced Encryption Standard (AES), Rivest-Shamir-Adleman (RSA), and Secure Hash Algorithm (SHA), which are used for data protection, digital signatures, and secure communication. Specialized instructions and hardware acceleration can be used for executing these cryptographic operations efficiently and securely. SUMMARY In one embodiment, a method is provided. The method includes performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to a core pipeline. The method further includes computing a chaining value for the cryptographic operation. The method further includes, responsive to an occurrence of an error, recovering from the error using the chaining value. In another embodiment, a system is provided. The system includes a memory having computer readable instructions and a processing device for executing the computer readable instructions. The computer readable instructions control the processing device to perform operations. The operations include performing, using a cryptographic accelerator, a cryptographic operation asynchronously relative to

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.