Lines Matching refs:pub_key
35 coap_binary_t *pub_key; member
353 ecdsa_key.pub_key_x = t_context->pub_key->s; in get_ecdsa_key()
354 ecdsa_key.pub_key_y = &t_context->pub_key->s[DTLS_EC_KEY_SIZE]; in get_ecdsa_key()
465 if (t_context->pub_key) { in coap_dtls_free_context()
466 coap_delete_binary(t_context->pub_key); in coap_dtls_free_context()
467 t_context->pub_key = NULL; in coap_dtls_free_context()
911 t_context->pub_key = get_asn1_tag(COAP_ASN1_BITSTRING, pub_data, pub_len, in asn1_derive_keys()
913 if (!t_context->pub_key) { in asn1_derive_keys()
920 t_context->pub_key->s += 2; in asn1_derive_keys()
921 t_context->pub_key->length -= 2; in asn1_derive_keys()
1001 if (t_context->pub_key) { in coap_dtls_context_set_pki()
1002 coap_delete_binary(t_context->pub_key); in coap_dtls_context_set_pki()
1003 t_context->pub_key = NULL; in coap_dtls_context_set_pki()