Lines Matching +full:key +full:- +full:code
1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #include <tpm-common.h>
121 /* TPM-defined fatal error codes */
220 /* TPM-defined non-fatal errors */
290 * Return: return code of the operation
298 * Return: return code of the operation
306 * Return: return code of the operation
319 * Return: return code of the operation
332 * Return: return code of the operation
345 * Return: return code of the operation
355 * @param in_digest 160-bit value representing the event to be
357 * @param out_digest 160-bit PCR value after execution of the
359 * Return: return code of the operation
371 * Return: return code of the operation
377 * is bit-wise OR'ed of flags listed in enum tpm_physical_presence.
381 * Return: return code of the operation
389 * @param data output buffer for the public endorsement key
391 * Return: return code of the operation
399 * Return: return code of the operation
407 * Return: return code of the operation
415 * Return: return code of the operation
424 * Return: return code of the operation
430 * to query sub_cap index that is 4-byte wide.
435 * limited to be 4-byte wide
438 * Return: return code of the operation
448 * Return: return code of the operation
461 * Return: return code of the operation
469 * Return: return code of the operation
475 * the usage of the parent key.
478 * @param parent_handle handle of the parent key.
479 * @param key pointer to the key structure (TPM_KEY or TPM_KEY12).
480 * @param key_length size of the key structure
481 * @param parent_key_usage_auth usage auth for the parent key
482 * @param key_handle pointer to the key handle
483 * Return: return code of the operation
485 u32 tpm1_load_key2_oiap(struct udevice *dev, u32 parent_handle, const void *key,
491 * authenticating the usage of the key.
494 * @param key_handle handle of the key
495 * @param usage_auth usage auth for the key
496 * @param pubkey pointer to the pub key buffer; may be NULL if the pubkey
498 * @param pubkey_len pointer to the pub key buffer len. On entry: the size of
501 * Return: return code of the operation
512 * Return: return code of the operation
522 * Return: return code of the operation
532 * Return: return code of the operation
538 * Search for a key by usage AuthData and the hash of the parent's pub key.
541 * @param auth Usage auth of the key to search for
542 * @param pubkey_digest SHA1 hash of the pub key structure of the key
543 * @param[out] handle The handle of the key (Non-null iff found)
544 * Return: 0 if key was found in TPM; != 0 if not.
558 * Return: return code of the operation
563 * tpm_finalise_physical_presence() - Finalise physical presence
566 * Return: return code of the operation (0 = success)
571 * tpm_nv_enable_locking() - lock the non-volatile space
574 * Return: return code of the operation (0 = success)
579 * tpm_set_global_lock() - set the global lock
582 * Return: return code of the operation (0 = success)
587 * tpm_resume() - start up the TPM from resume (after suspend)
590 * Return: return code of the operation (0 = success)