Check-in [de6758280f]
Overview
Comment:Added some whitespace for readability
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: de6758280f8ad9ef702096141564db278d71d5b6687cd19be19aa4703864cac9
User & Date: rkeene on 2018-07-02 06:22:26
Other Links: manifest | tags
Context
2018-07-02
06:41
Restructuring to get rid of SUPERCOP reference, it is incorrect check-in: 1f76e42a02 user: rkeene tags: trunk
06:22
Added some whitespace for readability check-in: de6758280f user: rkeene tags: trunk
06:20
When testing, print out helpful output check-in: 3dfda3b837 user: rkeene tags: trunk
Changes

Modified nano.c from [fe2268da6a] to [f4f5005da0].

135
136
137
138
139
140
141

142
143
144
145
146
147
148
	Tcl_SetObjResult(interp, Tcl_NewByteArrayObj(secret_key, NANO_SECRET_KEY_LENGTH));

	return(TCL_OK);

	/* NOTREACH */
	clientData = clientData;
}

static int nano_tcl_secret_key_to_public_key(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) {
	unsigned char *secret_key, *public_key;
	int secret_key_length, public_key_length;

	if (objc != 2) {
		Tcl_WrongNumArgs(interp, 1, objv, "secretKey");








>







135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
	Tcl_SetObjResult(interp, Tcl_NewByteArrayObj(secret_key, NANO_SECRET_KEY_LENGTH));

	return(TCL_OK);

	/* NOTREACH */
	clientData = clientData;
}

static int nano_tcl_secret_key_to_public_key(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) {
	unsigned char *secret_key, *public_key;
	int secret_key_length, public_key_length;

	if (objc != 2) {
		Tcl_WrongNumArgs(interp, 1, objv, "secretKey");