Patent ID: 9641337
Date: 2017-05-02
CPC Classifications: H04L

Claim:
1. A method of gluing a cryptographic implementation of a cryptographic function to a surrounding program in a cryptographic system, comprising: receiving, by the cryptographic system, an input message; receiving a computed value from the surrounding program, wherein the surrounding program computes the computed value before the cryptographic systems runs the cryptographic implementation; performing, by the cryptographic system, the keyed cryptographic function mapping the input message into an output message using the computed value from the surrounding program, wherein the output message is a correct output message when the computed value has a correct value, wherein the cryptographic implementation of the keyed cryptographic function includes a network of functions and wherein when an input to a first function corresponds to a specific input value, an output of the first function is determined based upon the received computed value by XORing the received computed value with a predetermined constant; and outputting the output message, wherein a correct output message indicates that the cryptographic implementation and surrounding program have not been tampered with.