Symbol: cipher_ctx
crypto/openssl/crypto/modes/siv128.c
176
EVP_CIPHER_CTX_free(ctx->cipher_ctx);
crypto/openssl/crypto/modes/siv128.c
180
ctx->cipher_ctx = NULL;
crypto/openssl/crypto/modes/siv128.c
193
if ((ctx->cipher_ctx = EVP_CIPHER_CTX_new()) == NULL
crypto/openssl/crypto/modes/siv128.c
197
|| !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL)
crypto/openssl/crypto/modes/siv128.c
202
EVP_CIPHER_CTX_free(ctx->cipher_ctx);
crypto/openssl/crypto/modes/siv128.c
203
ctx->cipher_ctx = NULL;
crypto/openssl/crypto/modes/siv128.c
225
if (dest->cipher_ctx == NULL) {
crypto/openssl/crypto/modes/siv128.c
226
dest->cipher_ctx = EVP_CIPHER_CTX_new();
crypto/openssl/crypto/modes/siv128.c
227
if (dest->cipher_ctx == NULL)
crypto/openssl/crypto/modes/siv128.c
230
if (!EVP_CIPHER_CTX_copy(dest->cipher_ctx, src->cipher_ctx))
crypto/openssl/crypto/modes/siv128.c
292
if (!siv128_do_encrypt(ctx->cipher_ctx, out, in, len, &q))
crypto/openssl/crypto/modes/siv128.c
318
if (!siv128_do_encrypt(ctx->cipher_ctx, out, in, len, &q)
crypto/openssl/crypto/modes/siv128.c
374
EVP_CIPHER_CTX_free(ctx->cipher_ctx);
crypto/openssl/crypto/modes/siv128.c
375
ctx->cipher_ctx = NULL;
crypto/openssl/engines/e_devcrypto.c
209
struct cipher_ctx *cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(ctx);
crypto/openssl/engines/e_devcrypto.c
214
if (cipher_ctx->sess.ses != 0 && clean_devcrypto_session(&cipher_ctx->sess) == 0)
crypto/openssl/engines/e_devcrypto.c
217
cipher_ctx->sess.cipher = cipher_d->devcryptoid;
crypto/openssl/engines/e_devcrypto.c
218
cipher_ctx->sess.keylen = cipher_d->keylen;
crypto/openssl/engines/e_devcrypto.c
219
cipher_ctx->sess.key = (void *)key;
crypto/openssl/engines/e_devcrypto.c
220
cipher_ctx->op = enc ? COP_ENCRYPT : COP_DECRYPT;
crypto/openssl/engines/e_devcrypto.c
221
cipher_ctx->mode = cipher_d->flags & EVP_CIPH_MODE;
crypto/openssl/engines/e_devcrypto.c
222
cipher_ctx->blocksize = cipher_d->blocksize;
crypto/openssl/engines/e_devcrypto.c
224
cipher_ctx->sess.crid = (use_softdrivers == DEVCRYPTO_USE_SOFTWARE) ? CRYPTO_FLAG_SOFTWARE | CRYPTO_FLAG_HARDWARE : CRYPTO_FLAG_HARDWARE;
crypto/openssl/engines/e_devcrypto.c
225
ret = ioctl(cfd, CIOCGSESSION2, &cipher_ctx->sess);
crypto/openssl/engines/e_devcrypto.c
227
ret = ioctl(cfd, CIOCGSESSION, &cipher_ctx->sess);
crypto/openssl/engines/e_devcrypto.c
240
struct cipher_ctx *cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(ctx);
crypto/openssl/engines/e_devcrypto.c
250
cryp.ses = cipher_ctx->sess.ses;
crypto/openssl/engines/e_devcrypto.c
255
cryp.op = cipher_ctx->op;
crypto/openssl/engines/e_devcrypto.c
261
switch (cipher_ctx->mode) {
crypto/openssl/engines/e_devcrypto.c
287
switch (cipher_ctx->mode) {
crypto/openssl/engines/e_devcrypto.c
299
nblocks = (inl + cipher_ctx->blocksize - 1)
crypto/openssl/engines/e_devcrypto.c
300
/ cipher_ctx->blocksize;
crypto/openssl/engines/e_devcrypto.c
320
struct cipher_ctx *cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(ctx);
crypto/openssl/engines/e_devcrypto.c
324
while (cipher_ctx->num && inl) {
crypto/openssl/engines/e_devcrypto.c
325
(*out++) = *(in++) ^ cipher_ctx->partial[cipher_ctx->num];
crypto/openssl/engines/e_devcrypto.c
327
cipher_ctx->num = (cipher_ctx->num + 1) % cipher_ctx->blocksize;
crypto/openssl/engines/e_devcrypto.c
331
if (inl > cipher_ctx->blocksize) {
crypto/openssl/engines/e_devcrypto.c
332
nblocks = inl / cipher_ctx->blocksize;
crypto/openssl/engines/e_devcrypto.c
333
len = nblocks * cipher_ctx->blocksize;
crypto/openssl/engines/e_devcrypto.c
343
memset(cipher_ctx->partial, 0, cipher_ctx->blocksize);
crypto/openssl/engines/e_devcrypto.c
344
if (cipher_do_cipher(ctx, cipher_ctx->partial, cipher_ctx->partial,
crypto/openssl/engines/e_devcrypto.c
345
cipher_ctx->blocksize)
crypto/openssl/engines/e_devcrypto.c
349
out[cipher_ctx->num] = in[cipher_ctx->num]
crypto/openssl/engines/e_devcrypto.c
350
^ cipher_ctx->partial[cipher_ctx->num];
crypto/openssl/engines/e_devcrypto.c
351
cipher_ctx->num++;
crypto/openssl/engines/e_devcrypto.c
360
struct cipher_ctx *cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(ctx);
crypto/openssl/engines/e_devcrypto.c
362
struct cipher_ctx *to_cipher_ctx;
crypto/openssl/engines/e_devcrypto.c
367
if (cipher_ctx == NULL)
crypto/openssl/engines/e_devcrypto.c
370
to_cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(to_ctx);
crypto/openssl/engines/e_devcrypto.c
372
return cipher_init(to_ctx, (void *)cipher_ctx->sess.key, EVP_CIPHER_CTX_iv(ctx),
crypto/openssl/engines/e_devcrypto.c
373
(cipher_ctx->op == COP_ENCRYPT));
crypto/openssl/engines/e_devcrypto.c
376
memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess));
crypto/openssl/engines/e_devcrypto.c
388
struct cipher_ctx *cipher_ctx = (struct cipher_ctx *)EVP_CIPHER_CTX_get_cipher_data(ctx);
crypto/openssl/engines/e_devcrypto.c
390
return clean_devcrypto_session(&cipher_ctx->sess);
crypto/openssl/engines/e_devcrypto.c
489
sizeof(struct cipher_ctx))) {
crypto/openssl/include/crypto/modes.h
224
EVP_CIPHER_CTX *cipher_ctx;
crypto/openssl/include/internal/quic_wire_pkt.h
160
EVP_CIPHER_CTX *cipher_ctx;
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv_hw.c
72
out->siv.cipher_ctx = NULL;
crypto/openssl/ssl/quic/quic_wire_pkt.c
106
if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, sample, 1)
crypto/openssl/ssl/quic/quic_wire_pkt.c
107
|| !EVP_CipherUpdate(hpr->cipher_ctx, mask, &l,
crypto/openssl/ssl/quic/quic_wire_pkt.c
38
hpr->cipher_ctx = EVP_CIPHER_CTX_new();
crypto/openssl/ssl/quic/quic_wire_pkt.c
39
if (hpr->cipher_ctx == NULL) {
crypto/openssl/ssl/quic/quic_wire_pkt.c
51
if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL,
crypto/openssl/ssl/quic/quic_wire_pkt.c
69
EVP_CIPHER_CTX_free(hpr->cipher_ctx);
crypto/openssl/ssl/quic/quic_wire_pkt.c
70
hpr->cipher_ctx = NULL;
crypto/openssl/ssl/quic/quic_wire_pkt.c
92
if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, NULL, 1)
crypto/openssl/ssl/quic/quic_wire_pkt.c
93
|| !EVP_CipherUpdate(hpr->cipher_ctx, dst, &l, sample, 16)) {