%0 Conference Proceedings %T Output-sensitive Information flow analysis %+ VERIMAG (VERIMAG - IMAG) %A Ene, Cristian %A Mounier, Laurent %A Potet, Marie-Laure %Z Part 1: Full Papers %< avec comité de lecture %( Lecture Notes in Computer Science %B 39th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE) %C Copenhagen, Denmark %Y Jorge A. Pérez %Y Nobuko Yoshida %I Springer International Publishing %3 Formal Techniques for Distributed Objects, Components, and Systems %V LNCS-11535 %P 93-110 %8 2019-06-17 %D 2019 %R 10.1007/978-3-030-21759-4_6 %K Information flow %K Output-sensitive non-interference %K Type system %Z Computer Science [cs]/Cryptography and Security [cs.CR] %Z Computer Science [cs]Conference papers %X Constant-time programming is a countermeasure to prevent cache based attacks where programs should not perform memory accesses that depend on secrets. In some cases this policy can be safely relaxed if one can prove that the program does not leak more information than the public outputs of the computation. We propose a novel approach for verifying constant-time programming based on a new information flow property, called output-sensitive non-interference. Noninterference states that a public observer cannot learn anything about the private data. Since real systems need to intentionally declassify some information, this property is too strong in practice. In order to take into account public outputs we proceed as follows: instead of using complex explicit declassification policies, we partition variables in three sets: input, output and leakage variables. Then, we propose a typing system to statically check that leakage variables do not leak more information about the secret inputs than the public normal output. The novelty of our approach is that we track the dependence of leakage variables with respect not only to the initial values of input variables (as in classical approaches for noninterference), but taking also into account the final values of output variables. We adapted this approach to LLVM IR and we developed a prototype to verify LLVM implementations. %G English %Z TC 6 %Z WG 6.1 %2 https://hal.science/hal-02303984/document %2 https://hal.science/hal-02303984/file/forte19.pdf %L hal-02303984 %U https://hal.science/hal-02303984 %~ UGA %~ IMAG %~ CNRS %~ INPG %~ VERIMAG %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-FORTE %~ IFIP-DISCOTEC %~ IFIP-LNCS-11535 %~ UGA-COMUE %~ ANR