Searched refs:ticket (Results 1 - 25 of 46) sorted by relevance

12

/external/tpm2/
H A DTicket.c15 // This function indicates if producing a ticket is safe. It checks if the leading bytes of an input buffer is
16 // TPM_GENERATED_VALUE or its substring of canonical form. If so, it is not safe to produce ticket for an
21 // TRUE It is safe to produce ticket
22 // FALSE It is not safe to produce ticket
34 // it is not safe to generate a ticket
49 // This function creates a TPMT_TK_VERIFIED ticket.
53 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket
56 TPMT_TK_VERIFIED *ticket // OUT: verified ticket
61 // Fill in ticket field
[all...]
H A DTicket_fp.h11 TPM_ST type, // IN: the type of ticket.
12 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket
17 TPMT_TK_AUTH *ticket // OUT: Created ticket
20 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy for ticket
23 TPMT_TK_CREATION *ticket // OUT: created ticket
26 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket
29 TPMT_TK_HASHCHECK *ticket // OUT: Created ticket
[all...]
H A DPolicyTicket.c16 // TPM_RC_EXPIRED timeout value in the ticket is in the past and the ticket has expired
18 // TPM_RC_TICKET ticket is not valid
37 // A ticket is used in place of a previously given authorization. Since
39 // ticket is not necessary and, in place of using a ticket, one
40 // should use the intended authorization for which the ticket
62 // Re-generate policy ticket by input parameters
63 TicketComputeAuth(in->ticket.tag, in->ticket
[all...]
H A DCertifyCreation.c31 TPMT_TK_CREATION ticket; local
39 // Re-compute ticket
41 &in->creationHash, &ticket);
42 // Compare ticket
43 if(!Memory2BEqual(&ticket.digest.b, &in->creationTicket.digest.b))
H A DPolicyAuthorize.c28 TPMT_TK_VERIFIED ticket; local
58 // Validate ticket TPMT_TK_VERIFIED
75 &in->keySign, &ticket);
77 // Compare ticket digest. If not match, return error
78 if(!Memory2BEqual(&in->checkTicket.digest.b, &ticket.digest.b))
H A DSign.c20 // TPM_RC_TICKET validation is not a valid ticket
30 TPMT_TK_HASHCHECK ticket; local
48 // If validation is provided, or the key is restricted, check the ticket
52 // Compute and compare ticket
55 &in->digest, &ticket);
57 if(!Memory2BEqual(&in->validation.digest.b, &ticket.digest.b))
61 // If we don't have a ticket, at least verify that the provided 'digest'
H A DPolicyTicket_fp.h18 TPMT_TK_AUTH ticket; member in struct:__anon17001
H A DMarshal_PolicyTicket.c34 result = TPMT_TK_AUTH_Unmarshal(&target->ticket, buffer, size);
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
H A Dregistration.py27 @param ticket_id: valid id for a ticket.
35 """Updates the given registration ticket with the new data.
37 @param ticket_id: id of the ticket to update.
63 """Creates a new registration ticket."""
79 """Finalizes a registration ticket by creating a new device.
81 @param ticket_id: id of ticket to finalize.
98 ticket = self.create_registration_ticket()
99 logging.info('Initial Ticket: %s', ticket)
100 ticket_id = ticket['id']
106 ticket
[all...]
/external/valgrind/coregrind/m_scheduler/
H A Dticket-lock-linux.c3 /*--- Linux ticket lock implementation ticket-lock-linux.c ---*/
73 return "ticket lock";
104 * Acquire ticket lock. Increment the tail of the queue and use the original
105 * value as the ticket value. Wait until the head of the queue equals the
106 * ticket value. The futex used to wait depends on the ticket value in order
107 * to avoid that all threads get woken up every time a ticket lock is
111 * See also Nick Piggin, x86: FIFO ticket spinlocks, Linux kernel mailing list
116 unsigned ticket, futex_valu local
[all...]
/external/icu/icu4c/source/tools/toolutil/
H A Dudbgutil.h116 * @param ticket ticket string such as "10245" or "cldrbug:5013"
120 U_CAPI char *udbg_knownIssueURLFrom(const char *ticket, char *buf);
127 U_CAPI void *udbg_knownIssue_openU(void *ptr, const char *ticket, char *where, const UChar *msg, UBool *firstForTicket,
136 U_CAPI void *udbg_knownIssue_open(void *ptr, const char *ticket, char *where, const char *msg, UBool *firstForTicket,
H A Dudbgutil.cpp597 #define ICU_TRAC_URL "http://bugs.icu-project.org/trac/ticket/"
598 #define CLDR_TRAC_URL "http://unicode.org/cldr/trac/ticket/"
601 U_CAPI char *udbg_knownIssueURLFrom(const char *ticket, char *buf) { argument
602 if( ticket==NULL ) {
606 if( !strncmp(ticket, CLDR_TICKET_PREFIX, strlen(CLDR_TICKET_PREFIX)) ) {
608 strcat( buf, ticket+strlen(CLDR_TICKET_PREFIX) );
611 strcat( buf, ticket );
620 U_CAPI void *udbg_knownIssue_openU(void *ptr, const char *ticket, char *where, const UChar *msg, UBool *firstForTicket, argument
625 printf("%s\tKnown Issue #%s\n", where, ticket);
630 U_CAPI void *udbg_knownIssue_open(void *ptr, const char *ticket, cha argument
678 add(const char *ticket, const char *where, const UChar *msg, UBool *firstForTicket, UBool *firstForWhere) argument
700 add(const char *ticket, const char *where, const char *msg, UBool *firstForTicket, UBool *firstForWhere) argument
750 udbg_knownIssue_openU(void *ptr, const char *ticket, char *where, const UChar *msg, UBool *firstForTicket, UBool *firstForWhere) argument
762 udbg_knownIssue_open(void *ptr, const char *ticket, char *where, const char *msg, UBool *firstForTicket, UBool *firstForWhere) argument
[all...]
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dregistration_tickets.py24 client: POST .../ # Creates a new ticket with id <id> claims the ticket.
25 device: PATCH .../<id> with json blob # Populate ticket with device info
36 """Initializes a registration ticket.
48 """Creates and returns a new registration ticket."""
50 ticket = {'kind': 'clouddevices#registrationTicket',
53 return ticket
56 def _finalize(self, id, api_key, ticket):
57 """Finalizes the ticket causing the server to add robot account info."""
58 if 'userEmail' not in ticket
[all...]
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
H A Dcas.py41 1. If a query argument 'ticket' is found, then an attempt to
42 validate said ticket /w the authentication service done. If the
43 ticket is not validated; an 403 'Forbidden' exception is raised.
49 will send them back to this same URL, only with a 'ticket' query
67 if qs and qs[-1].startswith("ticket="):
69 ticket = qs.pop().split("=", 1)[1]
73 {'service': service,'ticket': ticket})
H A Dauth_tkt.py70 generate the appropriate authentication ticket. .cookie()
140 Exception raised when a ticket can't be parsed. If we get
150 def parse_ticket(secret, ticket, ip, digest_algo=DEFAULT_DIGEST):
152 Parse the ticket, returning (timestamp, userid, tokens, user_data).
154 If the ticket cannot be parsed, ``BadTicket`` will be raised with
161 ticket = ticket.strip('"')
162 digest = ticket[:digest_hexa_size]
164 timestamp = int(ticket[digest_hexa_size:digest_hexa_size + 8], 16)
168 userid, data = ticket[digest_hexa_siz
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_server.h41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
H A Dtlsv1_client.h47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_server.h41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
H A Dtlsv1_client.h47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_server.h41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
H A Dtlsv1_client.h47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
/external/icu/icu4c/source/tools/ctestfw/unicode/
H A Dctest.h229 * @param ticket ticket number such as "12345" for ICU tickets or "cldrbug:6636" for CLDR tickets.
235 log_knownIssue(const char *ticket, const char *fmt, ...);
/external/autotest/client/common_lib/cros/tendo/
H A Dbuffet_tester.py210 ticket = self._registration_client.create_registration_ticket()
211 logging.info('Created ticket: %r', ticket)
217 buffet.manager.RegisterDevice(dbus.String(ticket['id'])))
/external/icu/icu4c/source/test/intltest/
H A Dintltest.h171 * @param ticket ticket string, "12345" or "cldrbug:1234"
175 UBool logKnownIssue( const char *ticket, const UnicodeString &message );
181 * @param ticket ticket string, "12345" or "cldrbug:1234"
184 UBool logKnownIssue( const char *ticket );
190 * @param ticket ticket string, "12345" or "cldrbug:1234"
194 UBool logKnownIssue( const char *ticket, const char *fmt, ...);
/external/icu/icu4c/source/tools/ctestfw/
H A Dctest.c92 static UBool vlog_knownIssue(const char *ticket, const char *pattern, va_list ap);
696 static UBool vlog_knownIssue(const char *ticket, const char *pattern, va_list ap) argument
706 knownList = udbg_knownIssue_open(knownList, ticket, gTestName, buf,
710 log_info("(Known issue #%s) %s\n", ticket, buf);
712 log_verbose("(Known issue #%s) %s\n", ticket, buf);
807 log_knownIssue(const char *ticket, const char *pattern, ...) { argument
810 return vlog_knownIssue(ticket, pattern, ap);

Completed in 894 milliseconds

12