Lines Matching defs:cookie
134 int arm_get_rotpk_info(void *cookie __unused, void **key_ptr,
142 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
146 * Return the right root of trust key hash based on the cookie value:
148 * - Otherwise, interpret cookie as the OID of the certificate
151 if (cookie == NULL) {
153 } else if (strcmp(cookie, PROT_PK_OID) == 0) {
168 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
172 * Return the right root of trust key hash based on the cookie value:
174 * - Otherwise, interpret cookie as the OID of the certificate
177 if (cookie == NULL) {
179 } else if (strcmp(cookie, PROT_PK_OID) == 0) {
186 } else if (strcmp(cookie, SWD_ROT_PK_OID) == 0) {
202 * Return the non-volatile counter value stored in the platform. The cookie
207 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr)
212 assert(cookie != NULL);
215 oid = (const char *)cookie;
239 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr)