Skip to content

Commit

Permalink
Merge branch 'develop' into feature/rapidsnark_package
Browse files Browse the repository at this point in the history
# Conflicts:
#	android/src/main/jniLibs/arm64-v8a/libpolygonid.so
#	android/src/main/jniLibs/x86_64/libpolygonid.so
#	ios/Frameworks/libpolygonid.xcframework/ios-arm64/libpolygonid.a
#	lib/iden3comm/authenticate.dart
#	lib/iden3comm/data/repositories/iden3comm_repository_impl.dart
#	lib/identity/data/repositories/identity_repository_impl.dart
#	lib/identity/libs/bjj/bjj.dart
#	lib/identity/libs/bjj/eddsa_babyjub.dart
#	libs/libpolygonid/ios/libpolygonid.a
#	libs/libpolygonid/sim/libpolygonid.a
#	pubspec.yaml
  • Loading branch information
5eeman committed Oct 15, 2024
2 parents 4266387 + 6375ccb commit a62f356
Show file tree
Hide file tree
Showing 36 changed files with 348 additions and 253 deletions.
Binary file modified android/src/main/jniLibs/arm64-v8a/libpolygonid.so
Binary file not shown.
8 changes: 4 additions & 4 deletions android/src/main/jniLibs/libpolygonid.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ typedef struct { const char *p; ptrdiff_t n; } _GoString_;

typedef enum
{
PLGNSTATUSCODE_ERROR,
PLGNSTATUSCODE_NIL_POINTER,
PLGNSTATUSCODE_ERROR,
PLGNSTATUSCODE_NIL_POINTER,
} PLGNStatusCode;

typedef struct _PLGNStatus
{
PLGNStatusCode status;
char *error_msg;
PLGNStatusCode status;
char *error_msg;
} PLGNStatus;

#line 1 "cgo-generated-wrapper"
Expand Down
Binary file modified android/src/main/jniLibs/x86_64/libpolygonid.so
Binary file not shown.
2 changes: 0 additions & 2 deletions ios/Classes/SwiftPolygonIdSdkPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ public class SwiftPolygonIdSdkPlugin: NSObject, FlutterPlugin {

public static func dummyMethodToEnforceBundling() {
// LibBabyjubjub bindings
pack_signature("16727755406458403965916091816756284515992637653800319054951151706132152331811672775540645840396591609181675628451599263765380031");
unpack_signature("16727755406458403965916091816756284515992637653800319054951151706132152331811672775540645840396591609181675628451599263765380031");
pack_point("17777552123799933955779906779655732241715742912184938656739573121738514868268", "2626589144620713026669568689430873010625803728049924121243784502389097019475");
unpack_point("53b81ed5bffe9545b54016234682e7b2f699bd42a5e9eae27ff4051bc698ce85");
prv2pub("0001020304050607080900010203040506070809000102030405060708090001");
Expand Down
4 changes: 0 additions & 4 deletions ios/Classes/libbabyjubjub.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// NOTE: Append the lines below to ios/Classes/<your>Plugin.h

char *pack_signature(const char *signature);

char *unpack_signature(const char *compressed_signature);

char *pack_point(const char *point_x, const char *point_y);

char *unpack_point(const char *compressed_point);
Expand Down
Loading

0 comments on commit a62f356

Please sign in to comment.