Lines Matching refs:key

35      * @brief HUKS fresh key info

41 * @brief Generate key
42 * @param keyAlias key alias
44 * @param keyIn key to generate key
45 * @param keyOut output key
52 * @brief Import key
53 * @param keyAlias key alias
54 * @param key the key needs to be imported
56 * @param keyOut output key
59 int32_t (*HuksHdiImportKey)(const struct HksBlob *keyAlias, const struct HksBlob *key,
63 * @brief Import wrapped key
64 * @param wrappingKeyAlias alias used to decrypt the key data after the wrap
65 * @param key the key to wrap key
66 * @param wrappedKeyData wrapped key data out
68 * @param keyOut output key
71 int32_t (*HuksHdiImportWrappedKey)(const struct HksBlob *wrappingKeyAlias, const struct HksBlob *key,
75 * @brief Export public key
76 * @param key key need to export
78 * @param keyOut exported key
81 int32_t (*HuksHdiExportPublicKey)(const struct HksBlob *key, const struct HksParamSet *paramSet,
86 * @param key the key
92 int32_t (*HuksHdiInit)(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBlob *handle,
126 * @brief Get key properties
128 * @param key the key
131 int32_t (*HuksHdiGetKeyProperties)(const struct HksParamSet *paramSet, const struct HksBlob *key);
134 * @brief Attest key
135 * @param key the key
140 int32_t (*HuksHdiAttestKey)(const struct HksBlob *key, const struct HksParamSet *paramSet,
168 * @brief Upgrade key info
169 * @param keyAlias key alias
170 * @param keyInfo key info
171 * @param keyOut output key value
187 * @param key required key to sign data
193 int32_t (*HuksHdiSign)(const struct HksBlob *key, const struct HksParamSet *paramSet,
198 * @param key required key to verify data
204 int32_t (*HuksHdiVerify)(const struct HksBlob *key, const struct HksParamSet *paramSet,
209 * @param key required key to encrypt data
215 int32_t (*HuksHdiEncrypt)(const struct HksBlob *key, const struct HksParamSet *paramSet,
220 * @param key required key to decrypt data
226 int32_t (*HuksHdiDecrypt)(const struct HksBlob *key, const struct HksParamSet *paramSet,
230 * @brief Agree key
232 * @param privateKey self private key
233 * @param peerPublicKey peer public key
234 * @param agreedKey agreed key
241 * @brief Derive key
243 * @param kdfKey main key to derive key
244 * @param derivedKey derived key
252 * @param key main key to derive key
258 int32_t (*HuksHdiMac)(const struct HksBlob *key, const struct HksParamSet *paramSet,
262 * @brief Upgrade key
263 * @param oldKey old key to be upgraded
265 * @param newKey new key
275 * @param publicKey public key