Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dcipher-chachapoly-libcrypto.c36 EVP_CIPHER_CTX *main_evp, *header_evp; member
48 if ((ctx->main_evp = EVP_CIPHER_CTX_new()) == NULL || in chachapoly_new()
51 if (!EVP_CipherInit(ctx->main_evp, EVP_chacha20(), key, NULL, 1)) in chachapoly_new()
68 EVP_CIPHER_CTX_free(cpctx->main_evp); in chachapoly_free()
97 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || in chachapoly_crypt()
98 EVP_Cipher(ctx->main_evp, poly_key, in chachapoly_crypt()
126 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || in chachapoly_crypt()
127 EVP_Cipher(ctx->main_evp, dest + aadlen, src + aadlen, len) < 0) { in chachapoly_crypt()