Patent ID: 11934538
Assignee: SRI INTERNATIONAL
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. The method of claim 6, wherein the memory buffer is allocated on a stack of the executable program, and wherein the method further comprises:
determining a routine referencing the target cryptographic primitive;
increasing a size of a stack frame of the routine based on a difference between the size of the second digest and the size of the first digest;
determining a first stack offset within the stack frame of a memory location referenced by an instruction of the executable program; and
in response to determining that the first stack offset of the memory location is above a second stack offset of the memory buffer, determining a third stack offset based on the difference between the size of the second digest and the size of the memory buffer and replacing the first stack offset in the instruction with the third stack offset.