Searched refs:cred_copy (Results 1 – 1 of 1) sorted by relevance
355 void *cred_copy = NULL; in tls_cred_cmd_add() local461 cred_copy = k_malloc(cred_written); in tls_cred_cmd_add()462 if (!cred_copy) { in tls_cred_cmd_add()469 memset(cred_copy, 0, cred_written); in tls_cred_cmd_add()470 memcpy(cred_copy, cred_buf, cred_written); in tls_cred_cmd_add()476 cred_chosen = cred_copy; in tls_cred_cmd_add()502 if (cred_copy) { in tls_cred_cmd_add()507 cred_refs[ref_slot] = cred_copy; in tls_cred_cmd_add()510 memset(cred_copy, 0, cred_written); in tls_cred_cmd_add()511 (void)k_free(cred_copy); in tls_cred_cmd_add()