Lines Matching defs:which
186 int tls1_change_cipher_state(SSL *s, int which)
220 if (which & SSL3_CC_READ) {
339 if ((which == SSL3_CHANGE_CIPHER_CLIENT_WRITE) ||
340 (which == SSL3_CHANGE_CIPHER_SERVER_READ)) {
390 BIO_printf(trc_out, "which = %04X, mac key:\n", which);
395 if (!EVP_CipherInit_ex(dd, c, NULL, key, NULL, (which & SSL3_CC_WRITE))
408 if (!EVP_CipherInit_ex(dd, c, NULL, NULL, NULL, (which & SSL3_CC_WRITE))
417 if (!EVP_CipherInit_ex(dd, c, NULL, key, iv, (which & SSL3_CC_WRITE))) {
448 if (which & SSL3_CC_WRITE)
459 if (which & SSL3_CC_WRITE) {
465 if ((BIO_get_ktls_send(s->wbio) && (which & SSL3_CC_WRITE)) ||
466 (BIO_get_ktls_recv(s->rbio) && (which & SSL3_CC_READ))) {
471 if (which & SSL3_CC_WRITE)
480 if (which & SSL3_CC_READ) {
501 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) {
502 if (which & SSL3_CC_WRITE)
512 BIO_printf(trc_out, "which = %04X, key:\n", which);