Searched refs:esp_ccp_ctx (Results 1 – 1 of 1) sorted by relevance
134 esp_chachapoly_ctx_t esp_ccp_ctx; in esp_chachapoly_schedule() local145 esp_ccp_ctx = (esp_chachapoly_ctx_t)sav->sched; in esp_chachapoly_schedule()146 esp_ccp_ctx->ccp_implicit_iv = ((sav->flags & SADB_X_EXT_IIV) != 0); in esp_chachapoly_schedule()148 if (sav->ivlen != (esp_ccp_ctx->ccp_implicit_iv ? 0 : ESP_CHACHAPOLY_IV_LEN)) { in esp_chachapoly_schedule()154 rc = chacha20poly1305_init(&esp_ccp_ctx->ccp_ctx, in esp_chachapoly_schedule()162 memcpy(esp_ccp_ctx->ccp_salt, in esp_chachapoly_schedule()164 sizeof(esp_ccp_ctx->ccp_salt)); in esp_chachapoly_schedule()168 ntohl(sav->spi), (esp_ccp_ctx->ccp_implicit_iv ? " IIV" : ""), in esp_chachapoly_schedule()196 esp_chachapoly_ctx_t esp_ccp_ctx; in esp_chachapoly_encrypt_finalize() local207 esp_ccp_ctx = (esp_chachapoly_ctx_t)sav->sched; in esp_chachapoly_encrypt_finalize()[all …]