Home
last modified time | relevance | path

Searched refs:token_ctx (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/ssl/quic/
H A Dquic_port.c174 if ((port->token_ctx = EVP_CIPHER_CTX_new()) == NULL in port_init()
178 || !EVP_EncryptInit_ex(port->token_ctx, cipher, NULL, NULL, NULL) in port_init()
179 || (key_len = EVP_CIPHER_CTX_get_key_length(port->token_ctx)) <= 0 in port_init()
182 || !EVP_EncryptInit_ex(port->token_ctx, NULL, NULL, token_key, NULL)) in port_init()
215 EVP_CIPHER_CTX_free(port->token_ctx); in port_cleanup()
216 port->token_ctx = NULL; in port_cleanup()
954 if ((tag_len = EVP_CIPHER_CTX_get_tag_length(port->token_ctx)) == 0 in encrypt_validation_token()
955 || (iv_len = EVP_CIPHER_CTX_get_iv_length(port->token_ctx)) <= 0) in encrypt_validation_token()
968 || !EVP_EncryptInit_ex(port->token_ctx, NULL, NULL, NULL, iv) in encrypt_validation_token()
969 || !EVP_EncryptUpdate(port->token_ctx, data, &len, plaintext, pt_len) in encrypt_validation_token()
[all …]
H A Dquic_port_local.h120 EVP_CIPHER_CTX *token_ctx; member