Lines Matching refs:pk_resp_packet
852 MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE pk_resp_packet; in mysqlnd_sha256_get_rsa_key() local
857 conn->payload_decoder_factory->m.init_sha256_pk_request_response_packet(&pk_resp_packet); in mysqlnd_sha256_get_rsa_key()
865 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_sha256_get_rsa_key()
871 DBG_INF_FMT("Public key(%d):\n%s", pk_resp_packet.public_key_len, pk_resp_packet.public_key); in mysqlnd_sha256_get_rsa_key()
873 …ret = mysqlnd_sha256_get_rsa_from_pem((const char *) pk_resp_packet.public_key, pk_resp_packet.pub… in mysqlnd_sha256_get_rsa_key()
876 PACKET_FREE(&pk_resp_packet); in mysqlnd_sha256_get_rsa_key()
1134 MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE pk_resp_packet; in mysqlnd_caching_sha2_get_key() local
1139 conn->payload_decoder_factory->m.init_sha256_pk_request_response_packet(&pk_resp_packet); in mysqlnd_caching_sha2_get_key()
1148 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_caching_sha2_get_key()
1154 DBG_INF_FMT("Public key(%d):\n%s", pk_resp_packet.public_key_len, pk_resp_packet.public_key); in mysqlnd_caching_sha2_get_key()
1156 …ret = mysqlnd_sha256_get_rsa_from_pem((const char *) pk_resp_packet.public_key, pk_resp_packet.pub… in mysqlnd_caching_sha2_get_key()
1159 PACKET_FREE(&pk_resp_packet); in mysqlnd_caching_sha2_get_key()