Implement public key extraction in TZ backend
[platform/core/security/key-manager.git] / src / manager / crypto / tz-backend / tz-context.h
index da27aa2..7233ef7 100644 (file)
@@ -89,7 +89,7 @@ public:
                                        RawBuffer &pwdTag,
                                        const RawBuffer &hash);
 
-       void importWrappedKey(const RawBuffer &wrappingKey,
+       void importWrappedKey(const RawBuffer &wrappingKeyId,
                                                  const Pwd &wrappingKeyPwd,
                                                  tz_algo_type algo,
                                                  const RawBuffer &iv,
@@ -102,7 +102,7 @@ public:
                                                  RawBuffer &encryptedKeyTag,
                                                  const RawBuffer &encryptedKeyHash);
 
-       RawBuffer exportWrappedKey(const RawBuffer &wrappingKey,
+       RawBuffer exportWrappedKey(const RawBuffer &wrappingKeyId,
                                                           const Pwd &wrappingKeyPwd,
                                                           tz_algo_type algo,
                                                           const RawBuffer &iv,
@@ -182,7 +182,7 @@ public:
                                         RawBuffer &secretTag,
                                         const RawBuffer &secretHash);
 
-       void executeKbkdf(const RawBuffer& secret,
+       void executeKbkdf(const RawBuffer& secretId,
                                          const RawBuffer& label,
                                          const RawBuffer& context,
                                          const RawBuffer& fixed,