We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5e701 commit 6c3db51Copy full SHA for 6c3db51
src/pairing.zig
@@ -16,8 +16,6 @@ pub const Pairing = extern struct {
16
/// - can use stack allocation at consumer side
17
/// - can reuse memory if it makes sense at consumer side
18
pub fn init(buffer: *[Self.sizeOf()]u8, hash_or_encode: bool, dst: []const u8) Self {
19
- std.debug.assert(buffer.len == Self.sizeOf());
20
-
21
const obj = Self{ .ctx = @ptrCast(buffer) };
22
c.blst_pairing_init(obj.ctx, hash_or_encode, @ptrCast(dst.ptr), dst.len);
23
0 commit comments