Lines Matching full:token

18  * struct arm_cca_token_info - a descriptor for the token buffer.
21 * @granule: PA of the granule to which the token will be written
44 * arm_cca_attestation_continue - Retrieve the attestation token data.
48 * Attestation token generation is a long running operation and therefore
49 * the token data may not be retrieved in a single call. Moreover, the
50 * token retrieval operation must be requested on the same CPU on which the
51 * attestation token generation was initialised.
53 * times until the entire token data is retrieved.
70 * arm_cca_report_new - Generate a new attestation token.
75 * Initialise the attestation token generation using the challenge data
76 * passed in the TSM descriptor. Allocate memory for the attestation token
77 * and schedule calls to retrieve the attestation token on the same CPU
78 * on which the attestation token generation was initialised.
84 * * %0 - Attestation token generated successfully.
98 u8 *token __free(kvfree) = NULL; in arm_cca_report_new()
105 * The attestation token 'init' and 'continue' calls must be in arm_cca_report_new()
126 token = kvzalloc(max_size, GFP_KERNEL); in arm_cca_report_new()
127 if (!token) in arm_cca_report_new()
141 /* Loop until the token is ready or there is an error */ in arm_cca_report_new()
167 * Copy the retrieved token data from the granule in arm_cca_report_new()
168 * to the token buffer, ensuring that the RMM doesn't in arm_cca_report_new()
173 memcpy(&token[token_size], buf, info.offset); in arm_cca_report_new()
177 report->outblob = no_free_ptr(token); in arm_cca_report_new()