# US 2025/0148071 A1 · Executing Cryptographic Operations In A Secure Element Platform Runtime Environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148071 A1
- Document ID: US20250148071A1
- Status: Published application
- Kind: A1
- Application number: 18/535,432
- Filed: 2023-12-11
- Published: 2025-05-08
- Earliest claimed: 2023-11-03
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Nicolas Michel Raphaël Ponsini; Sebastian Jürgen Hans
- Web page: https://patentgrep.com/patent/US20250148071A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0841: {involving Diffie-Hellman or related key agreement protocols}
- H04L 9/0852: {Quantum cryptography (transmission systems employing electromagnetic waves other than radio waves, e.g. light, infrared H04B10/00; wavelength-division multiplex systems H04J14/02; WDM arrangements H04J14/03)}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system performs a set of cryptographic operations at least by utilizing an API to cause execution of a set of one or more secure element (SE) applications within the SE platform runtime environment of a first computing entity. The set of cryptographic operations include generating a first shared secret, generating a ciphertext at least by encapsulating the first shared secret with a first public key associated with a second computing entity in accordance with an encapsulation algorithm, and transmitting the ciphertext from the first computing entity to the second computing entity. The second computing entity derives the first shared secret by decapsulating the ciphertext with a private key corresponding to the first public key. The first computing entity and the second computing entity then exchange at least one encrypted message, encrypted with an encryption key that includes, or is based at least in part on, the first shared secret.

## Claims

### Claim 1

A method, comprising:
executing a secure element (SE) platform runtime environment on at least one SE hardware processor comprised in a first computing entity, wherein the SE platform runtime environment comprises instructions, which when executed by the at least one SE hardware processor, cause performance of operations, comprising:
performing a set of cryptographic operations at least by executing a set of one or more SE applications within the SE platform runtime environment, wherein the set of cryptographic operations comprises:
generating a first shared secret;
generating a ciphertext at least by encapsulating the first shared secret with a first KEM public key associated with a second computing entity in accordance with an encapsulation algorithm; and
transmitting the ciphertext to the second computing entity,
wherein subsequent to transmitting the ciphertext to the second computing entity:
the second computing entity derives the first shared secret by decapsulating the ciphertext with a KEM private key corresponding to the first KEM public key, and
the first computing entity and the second computing entity exchange at least one encrypted message,
wherein the at least one encrypted message is encrypted with an encryption key,
wherein the encryption key comprises, or is based at least in part on, the first shared secret.

### Claim 2 (depends on 1)

The method of claim 1, wherein the encapsulation algorithm comprises at least one of: a legacy cryptographic algorithm, or a quantum-resistant cryptographic algorithm.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of one or more SE applications comprises a key encapsulation mechanism module; and
wherein executing the set of one or more SE applications within the SE platform runtime environment comprises:
encapsulating the first shared secret with the first KEM public key in accordance with the encapsulation algorithm at least by executing the key encapsulation mechanism module,
wherein an output of the key encapsulation mechanism module comprises the ciphertext.

### Claim 4 (depends on 1)

The method of claim 1, wherein the set of cryptographic operations further comprise:
generating a first key agreement (KA) private key;
generating a second shared secret at least by combining the first KA private key with a first KA public key associated with the second computing entity in accordance with a KA algorithm;
generating a combined shared secret at least by combining, in accordance with a combination function, the first shared secret, the second shared secret, and a combination parameter associated with the combination function;
wherein the second computing entity derives the second shared secret at least by:
generating a second KA private key, and
combining the second KA private key with a second KA public key associated with the first computing entity in accordance with the KA algorithm;
wherein the second computing entity derives the combined shared secret at least by combining, in accordance with the combination function, the first shared secret, the second shared secret, and the combination parameter associated with the combination function;
wherein the encryption key comprises, or is based at least in part on, the combined shared secret.

### Claim 5 (depends on 4)

The method of claim 4, wherein the operations further comprise:
selecting the combination function from a set of combination functions.

### Claim 6 (depends on 4)

The method of claim 4, wherein the operations further comprise:
receiving the first KEM public key and the first KA public key from the second computing entity;
validating the first KEM public key and the first KA public key;
responsive to validating the first KEM public key and the first KA public key, performing the set of cryptographic operations; and
transmitting a first encrypted message to the second computing entity, wherein the first encrypted message is encrypted with the encryption key.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
initializing the SE platform runtime environment at least in part via an electromagnetic field generated by a near-field communication element associated with the second computing entity; and
receiving the first KEM public key from the second computing entity subsequent to initializing the SE platform runtime environment.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first computing entity and the second computing entity are communicatively coupled via a wired or wireless network.

### Claim 9 (depends on 1)

The method of claim 1, wherein the operations further comprise:
initiating a cryptography module within the SE platform runtime environment; and
selecting, via the cryptography module, the set of one or more SE applications for execution within the SE platform runtime environment.

### Claim 10 (depends on 1)

The method of claim 1, wherein the operations further comprise:
selecting the encapsulation algorithm from a set of encapsulation algorithms using an application programming interface.

### Claim 11 (depends on 1)

The method of claim 1, wherein the set of one or more SE applications are generated, configured, and/or selected using an application programming interface.

### Claim 12 (depends on 1)

The method of claim 1, wherein the operations further comprise:
configuring one or more parameters associated with the set of cryptographic operations based on one or more user inputs,
wherein the one or more parameters comprises at least one of: the first KEM public key, or a selection of the encapsulation algorithm,
wherein at least one of the one or more parameters is provided as a byte array.

### Claim 13

One or more non-transitory computer-readable media comprising instructions, which when executed by one or more hardware processors associated with a first computing entity, cause performance of operations comprising:
initiating a cryptography module within a secure element (SE) platform runtime environment, wherein the one or more hardware processors comprise at least one SE hardware processor, and wherein the SE platform runtime environment is executed on the at least one SE hardware processor;
performing a set of cryptographic operations at least by executing a set of one or more SE applications within the SE platform runtime environment, wherein the set of cryptographic operations comprises:
generating a first shared secret;
generating a ciphertext at least by encapsulating the first shared secret with a first KEM public key associated with a second computing entity in accordance with an encapsulation algorithm; and
transmitting the ciphertext to the second computing entity,
wherein subsequent to transmitting the ciphertext to the second computing entity:
the second computing entity derives the first shared secret by decapsulating the ciphertext with a KEM private key corresponding to the first KEM public key, and
the first computing entity and the second computing entity exchange at least one encrypted message,
wherein the at least one encrypted message is encrypted with an encryption key,
wherein the encryption key comprises, or is based at least in part on, the first shared secret.

### Claim 14 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the set of one or more SE applications comprises a key encapsulation mechanism module; and
wherein executing the set of one or more SE applications within the SE platform runtime environment comprises:
encapsulating the first shared secret with the first KEM public key in accordance with the encapsulation algorithm at least by executing the key encapsulation mechanism module,
wherein an output of the key encapsulation mechanism module comprises the ciphertext.

### Claim 15 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the set of cryptographic operations further comprise:
generating a first key agreement (KA) private key;
generating a second shared secret at least by combining the first KA private key with a first KA public key associated with the second computing entity in accordance with a KA algorithm;
generating a combined shared secret at least by combining, in accordance with a combination function, the first shared secret, the second shared secret, and a combination parameter associated with the combination function;
wherein the second computing entity derives the second shared secret at least by:
generating a second KA private key, and
combining the second KA private key with a second KA public key associated with the first computing entity in accordance with the KA algorithm;
wherein the second computing entity derives the combined shared secret at least by combining, in accordance with the combination function, the first shared secret, the second shared secret, and the combination parameter associated with the combination function;
wherein the encryption key comprises, or is based at least in part on, the combined shared secret.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable media of claim 15, wherein the operations further comprise:
receiving the first KEM public key and the first KA public key from the second computing entity;
validating the first KEM public key and the first KA public key;
responsive to validating the first KEM public key and the first KA public key, performing the set of cryptographic operations; and
transmitting a first encrypted message to the second computing entity, wherein the first encrypted message is encrypted with the encryption key.

### Claim 17 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the operations further comprise:
initializing the SE platform runtime environment at least in part via an electromagnetic field generated by a near-field communication element associated with the second computing entity; and
receiving the first KEM public key from the second computing entity subsequent to initializing the SE platform runtime environment.

### Claim 18 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the operations further comprise:
initiating a cryptography module within the SE platform runtime environment; and
selecting, via the cryptography module, the set of one or more SE applications for execution within the SE platform runtime environment.

### Claim 19 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the operations further comprise:
configuring one or more parameters associated with the set of cryptographic operations based on one or more user inputs,
wherein the one or more parameters comprises at least one of: the first KEM public key, or a selection of the encapsulation algorithm,
wherein at least one of the one or more parameters is provided as a byte array.

### Claim 20

A system, comprising:
at least one secure element (SE) hardware processor associated with a first computing entity;
an SE platform runtime environment executable on the at least one SE hardware processor;
wherein the SE platform runtime environment is configured to execute operations, using the at least one SE hardware processor, the operations comprising:
performing a set of cryptographic operations at least by executing a set of one or more SE applications within the SE platform runtime environment, wherein the set of cryptographic operations comprises:
generating a first shared secret;
generating a ciphertext at least by encapsulating the first shared secret with a first KEM public key associated with a second computing entity in accordance with an encapsulation algorithm; and
transmitting the ciphertext to the second computing entity,
wherein subsequent to transmitting the ciphertext to the second computing entity:
the second computing entity derives the first shared secret by decapsulating the ciphertext with a KEM private key corresponding to the first KEM public key, and
the first computing entity and the second computing entity exchange at least one encrypted message,
wherein the at least one encrypted message is encrypted with an encryption key,
wherein the encryption key comprises, or is based at least in part on, the first shared secret.
