File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23238,10 +23238,10 @@ static int hpke_test_single(Hpke* hpke)
2323823238 void* receiverKey = NULL;
2323923239 void* ephemeralKey = NULL;
2324023240#ifdef WOLFSSL_SMALL_STACK
23241- uint8_t *pubKey = NULL; /* public key */
23241+ byte *pubKey = NULL; /* public key */
2324223242 word16 pubKeySz = (word16)HPKE_Npk_MAX;
2324323243#else
23244- uint8_t pubKey[HPKE_Npk_MAX]; /* public key */
23244+ byte pubKey[HPKE_Npk_MAX]; /* public key */
2324523245 word16 pubKeySz = (word16)sizeof(pubKey);
2324623246#endif
2324723247
@@ -23252,7 +23252,7 @@ static int hpke_test_single(Hpke* hpke)
2325223252
2325323253#ifdef WOLFSSL_SMALL_STACK
2325423254 if (ret == 0) {
23255- pubKey = (uint8_t *)XMALLOC(pubKeySz, HEAP_HINT,
23255+ pubKey = (byte *)XMALLOC(pubKeySz, HEAP_HINT,
2325623256 DYNAMIC_TYPE_TMP_BUFFER);
2325723257 if (pubKey == NULL)
2325823258 ret = MEMORY_E;
You can’t perform that action at this time.
0 commit comments