authorgravatar for kris.tate+github@gmail.comkristopher tate <kris.tate+github@gmail.com> 2018-09-06 12:24:12+09:00
committergravatar for kris.tate+github@gmail.comkristopher tate <kris.tate+github@gmail.com> 2018-09-06 12:24:12+09:00
logd1855a0e931706d84a81c0213994067bd9f2fc7f
tree67e732249a4dcc517004ac4c344a510621dbccc1
parent6632d85e5f1120784b3eb0a7ab8be0792ba27b85

std/crypto/x25519.zig: fix signature for `createPublicKey`;


1 files changed, 1 insertions(+), 1 deletions(-)

std/crypto/x25519.zig+1-1
......@@ -114,7 +114,7 @@ pub const X25519 = struct {
114114 return !zerocmp(u8, out);
115115 }
116116
117 pub fn createPublicKey(public_key: []const u8, private_key: []const u8) bool {
117 pub fn createPublicKey(public_key: [] u8, private_key: []const u8) bool {
118118 var base_point = []u8{9} ++ []u8{0} ** 31;
119119 return create(public_key, private_key, base_point);
120120 }