Lines Matching defs:auth_key
310 uint8_t *cipher_key = NULL, *iv = NULL, *auth_key = NULL;
319 tls->auth_key = tls_v0.auth_key;
373 auth_key = malloc(tls->auth_key_len, M_KTLS, M_WAITOK);
375 error = copyin(tls->auth_key, auth_key, tls->auth_key_len);
379 bcopy(tls->auth_key, auth_key, tls->auth_key_len);
384 tls->auth_key = auth_key;
390 zfree(auth_key, M_KTLS);
401 zfree(__DECONST(void *, tls->auth_key), M_KTLS);
792 tls->params.auth_key = malloc(en->auth_key_len, M_KTLS,
794 bcopy(en->auth_key, tls->params.auth_key, en->auth_key_len);
852 if (tls_new->params.auth_key != NULL) {
853 tls_new->params.auth_key = malloc(tls->params.auth_key_len,
855 memcpy(tls_new->params.auth_key, tls->params.auth_key,
2039 if (tls->params.auth_key != NULL) {
2040 zfree(tls->params.auth_key, M_KTLS);
2041 tls->params.auth_key = NULL;