Lines Matching refs:peer_rpk
48 ASN1_OCTET_STRING *peer_rpk; member
81 ASN1_EXP_OPT(SSL_SESSION_ASN1, peer_rpk, ASN1_OCTET_STRING, 20)
131 ASN1_OCTET_STRING peer_rpk; in i2d_SSL_SESSION() local
177 as.peer_rpk = NULL; in i2d_SSL_SESSION()
178 peer_rpk.data = NULL; in i2d_SSL_SESSION()
179 if (in->peer_rpk != NULL) { in i2d_SSL_SESSION()
180 peer_rpk.length = i2d_PUBKEY(in->peer_rpk, &peer_rpk.data); in i2d_SSL_SESSION()
181 if (peer_rpk.length > 0 && peer_rpk.data != NULL) in i2d_SSL_SESSION()
182 as.peer_rpk = &peer_rpk; in i2d_SSL_SESSION()
221 OPENSSL_free(peer_rpk.data); in i2d_SSL_SESSION()
339 EVP_PKEY_free(ret->peer_rpk); in d2i_SSL_SESSION_ex()
340 ret->peer_rpk = NULL; in d2i_SSL_SESSION_ex()
341 if (as->peer_rpk != NULL) { in d2i_SSL_SESSION_ex()
342 const unsigned char *data = as->peer_rpk->data; in d2i_SSL_SESSION_ex()
347 ret->peer_rpk = d2i_PUBKEY_ex(NULL, &data, as->peer_rpk->length, libctx, propq); in d2i_SSL_SESSION_ex()
348 if (ret->peer_rpk == NULL) in d2i_SSL_SESSION_ex()