signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.55k stars 415 forks source link

bridge: Add support for arrays as arguments and return values #398

Closed jrose-signal closed 2 years ago

jrose-signal commented 2 years ago

Specifically, adding support for references to fixed-sized arrays as arguments (pointer-to-fixed-size-array in C, byte[] in Java, Buffer in Node), and fixed-sized array values as results (out-pointer-to-fixed-sized-array in C, byte[] in Java, Buffer in Node). This will be used for some zkgroup primitive values.