Branch: refs/heads/api-next
  Home:   https://github.com/Linaro/odp
  Commit: 3a1832865c90865de3fd8bd30103995637e7851c
      
https://github.com/Linaro/odp/commit/3a1832865c90865de3fd8bd30103995637e7851c
  Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M platform/linux-generic/include/odp_crypto_internal.h
    M platform/linux-generic/odp_crypto.c

  Log Message:
  -----------
  linux-generic: crypto: make AES-GCM thread safe

Using single context for all operations is not thread safe: multiple
threads can access the same context in parallel, affecting its internal
state. Make AES-GCM functions use local context for en/decryption
operations.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Reply via email to