Lines Matching refs:keyx

622 	       handshake->keyx.psk.identity,  in calculate_key_block()
623 handshake->keyx.psk.id_length, in calculate_key_block()
647 pre_master_len = dtls_ecdh_pre_master_secret(handshake->keyx.ecdsa.own_eph_priv, in calculate_key_block()
648 handshake->keyx.ecdsa.other_eph_pub_x, in calculate_key_block()
649 handshake->keyx.ecdsa.other_eph_pub_y, in calculate_key_block()
650 sizeof(handshake->keyx.ecdsa.own_eph_priv), in calculate_key_block()
1030 memcpy(handshake->keyx.ecdsa.other_eph_pub_x, data, in check_client_keyexchange()
1031 sizeof(handshake->keyx.ecdsa.other_eph_pub_x)); in check_client_keyexchange()
1032 data += sizeof(handshake->keyx.ecdsa.other_eph_pub_x); in check_client_keyexchange()
1034 memcpy(handshake->keyx.ecdsa.other_eph_pub_y, data, in check_client_keyexchange()
1035 sizeof(handshake->keyx.ecdsa.other_eph_pub_y)); in check_client_keyexchange()
1036 data += sizeof(handshake->keyx.ecdsa.other_eph_pub_y); in check_client_keyexchange()
1062 handshake->keyx.psk.id_length = id_length; in check_client_keyexchange()
1063 memcpy(handshake->keyx.psk.identity, data, id_length); in check_client_keyexchange()
1722 ret = dtls_ecdsa_verify_sig_hash(config->keyx.ecdsa.other_pub_x, config->keyx.ecdsa.other_pub_y, in check_client_certificate_verify()
1723 sizeof(config->keyx.ecdsa.other_pub_x), in check_client_certificate_verify()
1967 dtls_ecdsa_generate_key(config->keyx.ecdsa.own_eph_priv, in dtls_send_server_key_exchange_ecdh()
2178 handshake->keyx.psk.identity, handshake->keyx.psk.id_length, in dtls_send_client_key_exchange()
2181 sizeof(handshake->keyx.psk.identity))); in dtls_send_client_key_exchange()
2188 memset(&handshake->keyx.psk, 0, sizeof(dtls_handshake_parameters_psk_t)); in dtls_send_client_key_exchange()
2192 handshake->keyx.psk.id_length = (unsigned int)len; in dtls_send_client_key_exchange()
2193 memcpy(handshake->keyx.psk.identity, p + sizeof(uint16), len); in dtls_send_client_key_exchange()
2195 dtls_int_to_uint16(p, handshake->keyx.psk.id_length); in dtls_send_client_key_exchange()
2198 memcpy(p, handshake->keyx.psk.identity, handshake->keyx.psk.id_length); in dtls_send_client_key_exchange()
2199 p += handshake->keyx.psk.id_length; in dtls_send_client_key_exchange()
2221 dtls_ecdsa_generate_key(peer->handshake_params->keyx.ecdsa.own_eph_priv, in dtls_send_client_key_exchange()
2583 memcpy(config->keyx.ecdsa.other_pub_x, data, in check_server_certificate()
2584 sizeof(config->keyx.ecdsa.other_pub_x)); in check_server_certificate()
2585 data += sizeof(config->keyx.ecdsa.other_pub_x); in check_server_certificate()
2587 memcpy(config->keyx.ecdsa.other_pub_y, data, in check_server_certificate()
2588 sizeof(config->keyx.ecdsa.other_pub_y)); in check_server_certificate()
2589 data += sizeof(config->keyx.ecdsa.other_pub_y); in check_server_certificate()
2592 config->keyx.ecdsa.other_pub_x, in check_server_certificate()
2593 config->keyx.ecdsa.other_pub_y, in check_server_certificate()
2594 sizeof(config->keyx.ecdsa.other_pub_x)); in check_server_certificate()
2654 memcpy(config->keyx.ecdsa.other_eph_pub_x, data, sizeof(config->keyx.ecdsa.other_eph_pub_y)); in check_server_key_exchange_ecdsa()
2655 data += sizeof(config->keyx.ecdsa.other_eph_pub_y); in check_server_key_exchange_ecdsa()
2656 data_length -= sizeof(config->keyx.ecdsa.other_eph_pub_y); in check_server_key_exchange_ecdsa()
2658 memcpy(config->keyx.ecdsa.other_eph_pub_y, data, sizeof(config->keyx.ecdsa.other_eph_pub_y)); in check_server_key_exchange_ecdsa()
2659 data += sizeof(config->keyx.ecdsa.other_eph_pub_y); in check_server_key_exchange_ecdsa()
2660 data_length -= sizeof(config->keyx.ecdsa.other_eph_pub_y); in check_server_key_exchange_ecdsa()
2669 ret = dtls_ecdsa_verify_sig(config->keyx.ecdsa.other_pub_x, config->keyx.ecdsa.other_pub_y, in check_server_key_exchange_ecdsa()
2670 sizeof(config->keyx.ecdsa.other_pub_x), in check_server_key_exchange_ecdsa()
2719 config->keyx.psk.id_length = len; in check_server_key_exchange_psk()
2720 memcpy(config->keyx.psk.identity, data, len); in check_server_key_exchange_psk()