Lines Matching refs:enclen
189 size_t enclen = sizeof(enc); in test_ikm_small() local
201 && TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, in test_ikm_small()
212 size_t enclen = sizeof(enc); in test_input_size_small() local
216 || !TEST_int_eq(EVP_PKEY_encapsulate(ctx, NULL, &enclen, in test_input_size_small()
221 enclen--; in test_input_size_small()
222 if (!TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, sec, &seclen), in test_input_size_small()
225 enclen++; in test_input_size_small()
228 if (!TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, sec, &seclen), 0)) in test_input_size_small()
235 if (!TEST_int_eq(EVP_PKEY_decapsulate(ctx, sec, &seclen, enc, enclen), 0)) in test_input_size_small()
239 enclen--; in test_input_size_small()
240 ret = TEST_int_eq(EVP_PKEY_decapsulate(ctx, sec, &seclen, enc, enclen), 0); in test_input_size_small()
621 size_t enclen = sizeof(enc); in test_ec_badpublic() local
625 if (!TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc , &enclen, in test_ec_badpublic()
653 size_t enclen = sizeof(enc); in test_ec_badauth() local
668 || !TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, in test_ec_badauth()