Searched refs:secret2 (Results 1 – 1 of 1) sorted by relevance
/openssl/test/ |
H A D | evp_extra_test2.c | 469 unsigned char *out = NULL, *secret = NULL, *secret2 = NULL; in test_new_keytype() local 489 secret2 = OPENSSL_malloc(secretlen); in test_new_keytype() 490 if (out == NULL || secret == NULL || secret2 == NULL in test_new_keytype() 493 || !TEST_int_eq(EVP_PKEY_decapsulate(ctx, secret2, &secretlen2, out, outlen), 1) in test_new_keytype() 494 || !TEST_mem_eq(secret, secretlen, secret2, secretlen2)) in test_new_keytype() 501 OPENSSL_free(secret2); in test_new_keytype()
|
Completed in 11 milliseconds