| cipher-chachapoly-libcrypto.c | 36 EVP_CIPHER_CTX *main_evp, *header_evp; member in struct:chachapoly_ctx 48 if ((ctx->main_evp = EVP_CIPHER_CTX_new()) == NULL || 51 if (!EVP_CipherInit(ctx->main_evp, EVP_chacha20(), key, NULL, 1)) 68 EVP_CIPHER_CTX_free(cpctx->main_evp); 97 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || 98 EVP_Cipher(ctx->main_evp, poly_key, 126 if (!EVP_CipherInit(ctx->main_evp, NULL, NULL, seqbuf, 1) || 127 EVP_Cipher(ctx->main_evp, dest + aadlen, src + aadlen, len) < 0) {
|