Searched refs:credlen (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/net/lib/tls_credentials/src/ |
D | main.c | 67 size_t credlen; in test_credential_get() local 72 credlen = sizeof(cred); in test_credential_get() 74 cred, &credlen); in test_credential_get() 79 zassert_equal(credlen, sizeof(test_server_key), in test_credential_get() 83 credlen = sizeof(cred); in test_credential_get() 85 cred, &credlen); in test_credential_get() 89 credlen = sizeof(test_server_cert) - 1; in test_credential_get() 91 cred, &credlen); in test_credential_get() 153 size_t credlen = sizeof(cred); in test_credential_delete() local 165 cred, &credlen); in test_credential_delete()
|
/Zephyr-latest/subsys/net/lib/tls_credentials/ |
D | tls_credentials.c | 125 const void *cred, size_t credlen) in tls_credential_add() argument 147 credential->len = credlen; in tls_credential_add() 156 void *cred, size_t *credlen) in tls_credential_get() argument 166 *credlen = 0; in tls_credential_get() 170 if (credential->len > *credlen) { in tls_credential_get() 177 *credlen = credential->len; in tls_credential_get() 181 *credlen = credential->len; in tls_credential_get()
|
D | tls_credentials_trusted.c | 327 const void *cred, size_t credlen) in tls_credential_add() argument 356 status = psa_ps_set(uid, credlen, cred, create_flags); in tls_credential_add() 371 void *cred, size_t *credlen) in tls_credential_get() argument 402 if (info.size > *credlen) { in tls_credential_get() 407 status = psa_ps_get(uid, 0, info.size, cred, credlen); in tls_credential_get()
|
/Zephyr-latest/include/zephyr/net/ |
D | tls_credentials.h | 93 const void *cred, size_t credlen); 113 void *cred, size_t *credlen);
|