Home
last modified time | relevance | path

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

/freebsd-14-stable/crypto/openssh/
HDcipher-chachapoly-libcrypto.c38 EVP_CIPHER_CTX *main_evp, *header_evp; member
50 if ((ctx->main_evp = EVP_CIPHER_CTX_new()) == NULL || in chachapoly_new()
53 if (!EVP_CipherInit(ctx->main_evp, EVP_chacha20(), key, NULL, 1)) in chachapoly_new()
70 EVP_CIPHER_CTX_free(cpctx->main_evp); in chachapoly_free()
99 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || in chachapoly_crypt()
100 EVP_Cipher(ctx->main_evp, poly_key, in chachapoly_crypt()
128 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || in chachapoly_crypt()
129 EVP_Cipher(ctx->main_evp, dest + aadlen, src + aadlen, len) < 0) { in chachapoly_crypt()