Patent ID: 8370622

Claim:
A non-transitory tangible computer readable storage medium having stored thereon a computer program for adjusting a rate at which packets are provided to a cryptographic engine having a cryptographic accelerator input queue and a cryptographic accelerator, the computer program comprising a set of instructions which, when executed by a computer, cause the computer to perform a method comprising the steps of: providing the cryptographic engine with a group of packets to be encrypted or decrypted during a processing cycle, an amount of data contained in the group of packets being determined according to an estimation of a likely amount of data able to be processed by the cryptographic accelerator during the processing cycle; measuring an output bandwidth of the cryptographic accelerator during the processing cycle; and using the output bandwidth of the cryptographic accelerator during the processing cycle as feedback to adjust an amount of data input to the cryptographic accelerator to be processed by the cryptographic accelerator during a subsequent processing cycle.