Patent ID: 9665699
Date: 2017-05-30
CPC Classifications: G06F,H04L

Claim:
1. A non-transitory machine-readable storage medium encoded with instructions for execution by a keyed encryption operation by a cryptographic system mapping an input message having an encoded portion and a padding portion to an output message, comprising: instructions for receiving a padding value k; instructions for receiving the input message, wherein the padding portion has a size indicated by the padding value k and wherein the padding portion has a random value; instructions for computing a first portion of the encryption operation on the input message to produce a first portion output; instructions for computing a compensation factor based upon the padding portion of the input message including determining whether an input portion of the input message is part of the padding portion and calculating the compensation factor based upon whether the input portion is part of the padding portion; and instructions for compensating the first portion output based upon the compensation factor.