From 7c2023270ee5233c2722b5148ab0a791c03881b6 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Tue, 5 Dec 2023 14:31:19 -0500 Subject: [PATCH] add missing getter --- src/crypto/PSASessionKeystore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/PSASessionKeystore.cpp b/src/crypto/PSASessionKeystore.cpp index 69b45f5a2434e5..9c281f06d5dc25 100644 --- a/src/crypto/PSASessionKeystore.cpp +++ b/src/crypto/PSASessionKeystore.cpp @@ -60,6 +60,8 @@ class HmacKeyAttributes ~HmacKeyAttributes() { psa_reset_key_attributes(&mAttrs); } + const psa_key_attributes_t & Get() { return mAttrs; } + private: psa_key_attributes_t mAttrs = PSA_KEY_ATTRIBUTES_INIT; };