Home
last modified time | relevance | path

Searched refs:credential_lock (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_trusted.c41 static struct k_mutex credential_lock; variable
308 k_mutex_lock(&credential_lock, K_FOREVER); in credentials_lock()
323 k_mutex_unlock(&credential_lock); in credentials_unlock()
341 k_mutex_lock(&credential_lock, K_FOREVER); in tls_credential_add()
365 k_mutex_unlock(&credential_lock); in tls_credential_add()
385 k_mutex_lock(&credential_lock, K_FOREVER); in tls_credential_get()
414 k_mutex_unlock(&credential_lock); in tls_credential_get()
432 k_mutex_lock(&credential_lock, K_FOREVER); in tls_credential_delete()
455 k_mutex_unlock(&credential_lock); in tls_credential_delete()
Dtls_credentials.c23 static struct k_mutex credential_lock; variable
29 k_mutex_init(&credential_lock); in credentials_init()
116 k_mutex_lock(&credential_lock, K_FOREVER); in credentials_lock()
121 k_mutex_unlock(&credential_lock); in credentials_unlock()