Lines Matching refs:authchunks
1771 struct sctp_authchunks *authchunks; in BIO_new_dgram_sctp() local
1815 authchunks = OPENSSL_zalloc(sockopt_len); in BIO_new_dgram_sctp()
1816 if (authchunks == NULL) { in BIO_new_dgram_sctp()
1820 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_LOCAL_AUTH_CHUNKS, authchunks, in BIO_new_dgram_sctp()
1823 OPENSSL_free(authchunks); in BIO_new_dgram_sctp()
1828 for (p = (unsigned char *)authchunks->gauth_chunks; in BIO_new_dgram_sctp()
1829 p < (unsigned char *)authchunks + sockopt_len; in BIO_new_dgram_sctp()
1837 OPENSSL_free(authchunks); in BIO_new_dgram_sctp()
2137 struct sctp_authchunks *authchunks; in dgram_sctp_read() local
2141 authchunks = OPENSSL_malloc(optlen); in dgram_sctp_read()
2142 if (authchunks == NULL) in dgram_sctp_read()
2144 memset(authchunks, 0, optlen); in dgram_sctp_read()
2146 authchunks, &optlen); in dgram_sctp_read()
2149 for (p = (unsigned char *)authchunks->gauth_chunks; in dgram_sctp_read()
2150 p < (unsigned char *)authchunks + optlen; in dgram_sctp_read()
2158 OPENSSL_free(authchunks); in dgram_sctp_read()