Lines Matching +full:key +full:- +full:code

1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #include <tpm-common.h>
11 #include <tpm-v1.h>
12 #include <tpm-v2.h>
19 * Return: return code of the operation
27 * Return: return code of the operation
35 * Return: return code of the operation
48 * Return: return code of the operation
61 * Return: return code of the operation
74 * Return: return code of the operation
84 * @param in_digest 160/256-bit value representing the event to be
87 * @param out_digest 160/256-bit PCR value after execution of the
90 * Return: return code of the operation
102 * Return: return code of the operation
108 * is bit-wise OR'ed of flags listed in enum tpm_physical_presence.
112 * Return: return code of the operation
120 * @param data output buffer for the public endorsement key
122 * Return: return code of the operation
130 * Return: return code of the operation
138 * Return: return code of the operation
146 * Return: return code of the operation
155 * Return: return code of the operation
161 * to query sub_cap index that is 4-byte wide.
166 * limited to be 4-byte wide
169 * Return: return code of the operation
179 * Return: return code of the operation
192 * Return: return code of the operation
200 * Return: return code of the operation
206 * the usage of the parent key.
209 * @param parent_handle handle of the parent key.
210 * @param key pointer to the key structure (TPM_KEY or TPM_KEY12).
211 * @param key_length size of the key structure
212 * @param parent_key_usage_auth usage auth for the parent key
213 * @param key_handle pointer to the key handle
214 * Return: return code of the operation
216 u32 tpm_load_key2_oiap(struct udevice *dev, u32 parent_handle, const void *key,
222 * authenticating the usage of the key.
225 * @param key_handle handle of the key
226 * @param usage_auth usage auth for the key
227 * @param pubkey pointer to the pub key buffer; may be NULL if the pubkey
229 * @param pubkey_len pointer to the pub key buffer len. On entry: the size of
232 * Return: return code of the operation
243 * Return: return code of the operation
253 * Return: return code of the operation
259 * Search for a key by usage AuthData and the hash of the parent's pub key.
262 * @param auth Usage auth of the key to search for
263 * @param pubkey_digest SHA1 hash of the pub key structure of the key
264 * @param[out] handle The handle of the key (Non-null iff found)
265 * Return: 0 if key was found in TPM; != 0 if not.
279 * Return: return code of the operation
284 * tpm_finalise_physical_presence() - Finalise physical presence
287 * Return: return code of the operation (0 = success)
292 * tpm_nv_enable_locking() - lock the non-volatile space
295 * Return: return code of the operation (0 = success)
300 * tpm_set_global_lock() - set the global lock
303 * Return: return code of the operation (0 = success)
308 * tpm_write_lock() - lock the non-volatile space
312 * Return: return code of the operation (0 = success)
317 * tpm_resume() - start up the TPM from resume (after suspend)
320 * Return: return code of the operation (0 = success)
335 * tpm_auto_start() - start up the TPM and perform selftests
338 * Return: return code of the operation (0 = success)