Skip to content

Commit

Permalink
tests errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joacohoyos committed Dec 12, 2023
1 parent 69f585f commit 2cbd22c
Show file tree
Hide file tree
Showing 22 changed files with 977 additions and 687 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ export class COSEEncrypt {
ciphertext() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1692,7 +1692,7 @@ export class COSESign {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1801,7 +1801,7 @@ export class COSESign1 {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -2076,7 +2076,7 @@ export class COSESignature {
signature() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.cosesignature_signature(retptr, this.ptr);
wasm.cosesign1_signature(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var v0 = getArrayU8FromWasm0(r0, r1).slice();
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ class COSEEncrypt {
ciphertext() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1768,7 +1768,7 @@ class COSESign {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1880,7 +1880,7 @@ class COSESign1 {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -2181,7 +2181,7 @@ class COSESignature {
signature() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.cosesignature_signature(retptr, this.ptr);
wasm.cosesign1_signature(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var v0 = getArrayU8FromWasm0(r0, r1).slice();
Expand Down
Loading

0 comments on commit 2cbd22c

Please sign in to comment.