Lines Matching defs:cipher_key
310 uint8_t *cipher_key = NULL, *iv = NULL, *auth_key = NULL;
317 tls->cipher_key = tls_v0.cipher_key;
353 cipher_key = malloc(tls->cipher_key_len, M_KTLS, M_WAITOK);
355 error = copyin(tls->cipher_key, cipher_key, tls->cipher_key_len);
359 bcopy(tls->cipher_key, cipher_key, tls->cipher_key_len);
382 tls->cipher_key = cipher_key;
388 zfree(cipher_key, M_KTLS);
399 zfree(__DECONST(void *, tls->cipher_key), M_KTLS);
798 tls->params.cipher_key = malloc(en->cipher_key_len, M_KTLS, M_WAITOK);
799 bcopy(en->cipher_key, tls->params.cipher_key, en->cipher_key_len);
859 tls_new->params.cipher_key = malloc(tls->params.cipher_key_len, M_KTLS,
861 memcpy(tls_new->params.cipher_key, tls->params.cipher_key,
2044 if (tls->params.cipher_key != NULL) {
2045 zfree(tls->params.cipher_key, M_KTLS);
2046 tls->params.cipher_key = NULL;