Lines Matching defs:authkey
1505 struct sctp_authkey *authkey = NULL;
1567 authkey = OPENSSL_malloc(sockopt_len);
1568 if (authkey == NULL) {
1572 memset(authkey, 0x00, sockopt_len);
1573 authkey->sca_keynumber = authkeyid.scact_keynumber + 1;
1579 authkey->sca_keylength = 64;
1581 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t));
1584 setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey,
1586 OPENSSL_free(authkey);
1587 authkey = NULL;