Home
last modified time | relevance | path

Searched refs:peer_len (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_pake.function570 size_t peer_len = strlen(peer_arg);
596 TEST_EQUAL(psa_pake_set_peer(&operation, peer, peer_len),
628 SETUP_ALWAYS_CHECK_STEP(psa_pake_set_peer(&operation, peer, peer_len),
634 SETUP_CONDITIONAL_CHECK_STEP(psa_pake_set_peer(&operation, peer, peer_len),
1127 const size_t peer_len = sizeof(peer);
1152 PSA_ASSERT(psa_pake_set_peer(&operation, peer, peer_len));
1157 TEST_EQUAL(peer_len_ret, peer_len);
1171 TEST_EQUAL(buffer_len_ret, peer_len);
/mbedtls-3.5.0/include/psa/
Dcrypto_extra.h1373 size_t *peer_len);
2042 size_t MBEDTLS_PRIVATE(peer_len);
/mbedtls-3.5.0/library/
Dpsa_crypto.c7282 size_t *peer_len) argument
7284 if (inputs->peer_len == 0) {
7288 *peer_len = inputs->peer_len;
7297 if (inputs->peer_len == 0) {
7301 if (peer_id_size < inputs->peer_len) {
7305 memcpy(peer_id, inputs->peer, inputs->peer_len);
7306 *peer_id_length = inputs->peer_len;
7482 if (operation->data.inputs.peer_len != 0) {
7503 operation->data.inputs.peer_len = peer_id_len;
7610 if (inputs.user_len == 0 || inputs.peer_len == 0) {
[all …]
Dssl_tls.c1965 size_t peer_len = 0; in mbedtls_ssl_set_hs_ecjpake_password_common() local
1982 peer_len = sizeof(jpake_client_id); in mbedtls_ssl_set_hs_ecjpake_password_common()
1987 peer_len = sizeof(jpake_server_id); in mbedtls_ssl_set_hs_ecjpake_password_common()
1995 status = psa_pake_set_peer(&ssl->handshake->psa_pake_ctx, peer, peer_len); in mbedtls_ssl_set_hs_ecjpake_password_common()
/mbedtls-3.5.0/docs/proposed/
Dpsa-driver-interface.md387     size_t *peer_len);