Keep the backend id in GObj 53/288053/11
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 9 Feb 2023 08:55:08 +0000 (09:55 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 16 Mar 2023 10:24:24 +0000 (11:24 +0100)
commitaa2aac42acb5c15eda04206fe2738b8833981a68
treef7a705f53888d2c09ce3d4c1df624f790aa3a32d
parent89c20af31cf39ee3e9bf15fc8ac32a8bed0a3082
Keep the backend id in GObj

This is necessary for key derivation & wrapping, when one object
creates another.

Update SW and TZ backend.

Change-Id: I898b75b0cc093414d089ed4130827571d592315f
src/manager/crypto/generic-backend/gobj.h
src/manager/crypto/generic-backend/gstore.h
src/manager/crypto/sw-backend/obj.h
src/manager/crypto/sw-backend/store.cpp
src/manager/crypto/tz-backend/obj.h
src/manager/crypto/tz-backend/store.cpp
unit-tests/test_generic-backend.cpp
unit-tests/test_sw-backend.cpp