• Christophe Saout's avatar
    [CRYPTO]: Fix two scatterwalk problems. · db85e990
    Christophe Saout authored
    - After calling scatterwalk_copychunks walk_in might point to the next
      page which will break scatterwalk_samebuf (in this case src_p should
      point to tmp_src anyway and scatterwalk_samembuf returns 0).
    
    - scatterwalk_samebuf should also check for equal offsets inside the page
      (just bad for performance in some cases).
    db85e990
scatterwalk.h 1.64 KB