Check-in [0d89817e1a]
Overview
Comment:Made TYPE_CMAC case into code block to allow variable definition
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | crypto
Files: files | file ages | folders
SHA3-256: 0d89817e1a4b9ee29d0ee5ad7b94781fec7408cef86a03cba068e0dda982cd68
User & Date: bohagan on 2024-02-28 05:48:25
Other Links: branch diff | manifest | tags
Context
2024-03-02
03:14
Merged in acinclude.m4 changes Regenerated configure file check-in: cf160c6f63 user: bohagan tags: crypto
2024-02-28
05:48
Made TYPE_CMAC case into code block to allow variable definition check-in: 0d89817e1a user: bohagan tags: crypto
05:26
Merged changes from master check-in: bfb516156c user: bohagan tags: crypto
Changes
291
292
293
294
295
296
297

298
299
300
301





302
303
304
305
306
307
308
291
292
293
294
295
296
297
298




299
300
301
302
303
304
305
306
307
308
309
310







+
-
-
-
-
+
+
+
+
+







	}
	break;
    case TYPE_HMAC:
	res = HMAC_Final(statePtr->hctx, md_buf, &ulen);
	md_len = (int) ulen;
	break;
    case TYPE_CMAC:
	{
	size_t size;
	res = CMAC_Final(statePtr->cctx, md_buf, &size);
	md_len = (int) size;
	break;
	    size_t size;
	    res = CMAC_Final(statePtr->cctx, md_buf, &size);
	    md_len = (int) size;
	    break;
	}
    }

    if (!res) {
	if (resultObj == NULL) {
	    Tcl_AppendResult(interp, "Finalize failed: ", GET_ERR_REASON(), (char *) NULL);
	}
	return TCL_ERROR;