Lines Matching defs:authkey
1332 struct sctp_authkey *authkey = NULL;
1394 authkey = OPENSSL_malloc(sockopt_len);
1395 if (authkey == NULL) {
1399 memset(authkey, 0, sockopt_len);
1400 authkey->sca_keynumber = authkeyid.scact_keynumber + 1;
1406 authkey->sca_keylength = 64;
1408 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t));
1411 setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey,
1413 OPENSSL_free(authkey);
1414 authkey = NULL;