File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,5 +58,7 @@ PASS ecc makeKey
5858PASS ecc sharedSecret32
5959PASS ecc sharedSecret64
6060PASS ecc signVerify
61- PASS ecc importExport
61+ PASS ecc importExportx963
62+ PASS ecc importExportDer
63+ PASS pbkdf2
6264```
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ Napi::Number bind_wc_EccPublicKeyToDer(const Napi::CallbackInfo& info)
143143 uint8_t * out = (uint8_t *)( info[1 ].As <Napi::Uint8Array>().Data () );
144144 unsigned int out_len = info[2 ].As <Napi::Number>().Int32Value ();
145145
146+ /* 1=export with ASN.1/DER header (which includes curve info) */
146147 ret = wc_EccPublicKeyToDer ( ecc, out, out_len, 1 );
147- // ret = wc_EccPublicKeyToDer( ecc, out, out_len, 0 );
148148
149149 return Napi::Number::New ( env, ret );
150150}
You can’t perform that action at this time.
0 commit comments