Lines Matching refs:outlen1
4309 int outlen1, outlen2; in test_evp_init_seq() local
4352 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) { in test_evp_init_seq()
4364 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_evp_init_seq()
4368 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_init_seq()
4397 int outlen1, outlen2, outlen_final; in test_evp_reinit_seq() local
4410 || !TEST_true(EVP_CipherUpdate(ctx, outbuf1, &outlen1, t->input, t->inlen)) in test_evp_reinit_seq()
4413 || !TEST_mem_eq(t->expected, t->expectedlen, outbuf1, outlen1 + outlen_final) in test_evp_reinit_seq()
4455 int outlen1, outlen2; in test_evp_reset() local
4478 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) { in test_evp_reset()
4482 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_evp_reset()
4486 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_reset()
4494 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) { in test_evp_reset()
4498 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_evp_reset()
4502 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_reset()
4566 int outlen1, outlen2; in test_evp_updated_iv() local
4592 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, cfbPlaintext, sizeof(cfbPlaintext)))) { in test_evp_updated_iv()
4609 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_evp_updated_iv()
4651 int outlen1, outlen2, outlen3; in test_gcm_reinit() local
4686 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, gcmResetPlaintext, in test_gcm_reinit()
4691 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_gcm_reinit()
4695 if (!TEST_mem_eq(t->expected1, t->expectedlen1, outbuf, outlen1 + outlen2)) { in test_gcm_reinit()
4720 if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, gcmResetPlaintext, in test_gcm_reinit()
4725 if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) { in test_gcm_reinit()
4729 if (!TEST_mem_eq(t->expected2, t->expectedlen2, outbuf, outlen1 + outlen2)) { in test_gcm_reinit()