Home
last modified time | relevance | path

Searched refs:role (Results 1 – 7 of 7) sorted by relevance

/net-tools-3.6.0/tinydtls-0.8.2/
Ddtls.c535 dtls_debug("key_block (%d bytes):\n", dtls_kb_size(config, peer->role)); in dtls_debug_keyblock()
537 dtls_kb_client_mac_secret(config, peer->role), in dtls_debug_keyblock()
538 dtls_kb_mac_secret_size(config, peer->role)); in dtls_debug_keyblock()
541 dtls_kb_server_mac_secret(config, peer->role), in dtls_debug_keyblock()
542 dtls_kb_mac_secret_size(config, peer->role)); in dtls_debug_keyblock()
545 dtls_kb_client_write_key(config, peer->role), in dtls_debug_keyblock()
546 dtls_kb_key_size(config, peer->role)); in dtls_debug_keyblock()
549 dtls_kb_server_write_key(config, peer->role), in dtls_debug_keyblock()
550 dtls_kb_key_size(config, peer->role)); in dtls_debug_keyblock()
553 dtls_kb_client_iv(config, peer->role), in dtls_debug_keyblock()
[all …]
Dpeer.h61 dtls_peer_type role; /**< denotes if this host is DTLS_CLIENT or DTLS_SERVER */ member
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Decjpake.h73 mbedtls_ecjpake_role role; /**< Are we client or server? */ member
113 mbedtls_ecjpake_role role,
/net-tools-3.6.0/mbedtls-2.4.0/library/
Decjpake.c47 #define ID_MINE ( ecjpake_id[ ctx->role ] )
48 #define ID_PEER ( ecjpake_id[ 1 - ctx->role ] )
99 mbedtls_ecjpake_role role, in mbedtls_ecjpake_setup() argument
107 ctx->role = role; in mbedtls_ecjpake_setup()
579 if( ctx->role == MBEDTLS_ECJPAKE_CLIENT ) in mbedtls_ecjpake_read_round_two()
678 if( ctx->role == MBEDTLS_ECJPAKE_SERVER ) in mbedtls_ecjpake_write_round_two()
Dssl_tls.c5803 mbedtls_ecjpake_role role; in mbedtls_ssl_set_hs_ecjpake_password() local
5809 role = MBEDTLS_ECJPAKE_SERVER; in mbedtls_ssl_set_hs_ecjpake_password()
5811 role = MBEDTLS_ECJPAKE_CLIENT; in mbedtls_ssl_set_hs_ecjpake_password()
5814 role, in mbedtls_ssl_set_hs_ecjpake_password()
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecjpake.function109 void read_round_one( int role, char *data, int ref_ret )
121 TEST_ASSERT( mbedtls_ecjpake_setup( &ctx, role,
Dtest_suite_ecjpake.data10 ECJPAKE round one: role mismatch