Searched refs:header_evp (Results 1 – 1 of 1) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | cipher-chachapoly-libcrypto.c | 36 EVP_CIPHER_CTX *main_evp, *header_evp; member 49 (ctx->header_evp = EVP_CIPHER_CTX_new()) == NULL) in chachapoly_new() 53 if (!EVP_CipherInit(ctx->header_evp, EVP_chacha20(), key + 32, NULL, 1)) in chachapoly_new() 55 if (EVP_CIPHER_CTX_iv_length(ctx->header_evp) != 16) in chachapoly_new() 69 EVP_CIPHER_CTX_free(cpctx->header_evp); in chachapoly_free() 117 if (!EVP_CipherInit(ctx->header_evp, NULL, NULL, seqbuf, 1) || in chachapoly_crypt() 118 EVP_Cipher(ctx->header_evp, dest, src, aadlen) < 0) { in chachapoly_crypt() 156 if (!EVP_CipherInit(ctx->header_evp, NULL, NULL, seqbuf, 0)) in chachapoly_get_length() 158 if (EVP_Cipher(ctx->header_evp, buf, (u_char *)cp, sizeof(buf)) < 0) in chachapoly_get_length()
|