Search International and National Patent Collections

1. (WO2018138211) METHOD TO SECURE A SOFTWARE CODE

Pub. No.:    WO/2018/138211    International Application No.:    PCT/EP2018/051865
Publication Date: Fri Aug 03 01:59:59 CEST 2018 International Filing Date: Fri Jan 26 00:59:59 CET 2018
IPC: G06F 21/12
G06F 21/14
Applicants: GEMALTO SA
SFNT GERMANY GMBH
Inventors: GARREAU, Eric
VOLPE, Sébastien
GARBA, Peter
Title: METHOD TO SECURE A SOFTWARE CODE
Abstract:
The present invention relates to method of securing a software code comprising at least one constant value, said method generating a secure software code and comprising the steps of: − determining (S1) by a processor in the software code a constant value to be protected, − inserting (S2) by the processor in the software code an indexed array of values such that the constant value to be protected can be determined from one value of the array, − replacing (S3) by the processor in the software code the constant value to be protected by a replacement variable, − inserting (S4) by the processor in the software code a first sequence of instructions which, when executed at runtime: • computes the index in the array of the value from which the constant value to be protected can be determined, • extracts from said array the value located at said computed index in said array, • from said extracted value, determines the constant value to be protected, • sets the value of said replacement variable equal to the determined constant value.