File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27626,24 +27626,10 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hpke_test(void)
2762627626 #endif
2762727627#endif
2762827628
27629- /* Test coverage for wc_HpkeInit with Curve448, even though it is not supported */
27630- #if defined(HAVE_CURVE448) && \
27631- (defined(WOLFSSL_SHA384) || defined(WOLFSSL_SHA512))
27632- /* test with_curve448 */
27633- ret = wc_HpkeInit(hpke, DHKEM_X448_HKDF_SHA512, HKDF_SHA512,
27634- HPKE_AES_256_GCM, NULL);
27635-
27636- if (ret != BAD_FUNC_ARG) /* Curve448 is not supported yet */
27637- ret = WC_TEST_RET_ENC_EC(ret);
27638- else
27639- ret = 0;
27640- #endif
27641-
2764227629#if defined(HAVE_CURVE25519)
2764327630 /* test with curve25519 and aes256 */
27644- if (ret == 0)
27645- ret = wc_HpkeInit(hpke, DHKEM_X25519_HKDF_SHA256, HKDF_SHA256,
27646- HPKE_AES_256_GCM, NULL);
27631+ ret = wc_HpkeInit(hpke, DHKEM_X25519_HKDF_SHA256, HKDF_SHA256,
27632+ HPKE_AES_256_GCM, NULL);
2764727633
2764827634 if (ret != 0)
2764927635 return WC_TEST_RET_ENC_EC(ret);
You can’t perform that action at this time.
0 commit comments