{"id":282,"date":"2026-11-23T13:58:05","date_gmt":"2026-11-23T18:58:05","guid":{"rendered":"https:\/\/carleton.ca\/sci-lab\/?p=282"},"modified":"2026-11-23T14:05:21","modified_gmt":"2026-11-23T19:05:21","slug":"new-preprint-on-low-latency-linear-layers","status":"publish","type":"post","link":"https:\/\/carleton.ca\/sci-lab\/2026\/new-preprint-on-low-latency-linear-layers\/","title":{"rendered":"New preprint on low-latency linear layers"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        New preprint on low-latency linear layers\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<p class=\"wp-block-paragraph\">Mostafa Taha and Arash Reyhani-Masoleh (Western University) have posted a preprint on the IACR Cryptology ePrint Archive: &#8220;Ties, Splits and Neighborhoods: New Area Records for Low-Latency Linear Layers&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The linear layer of a block cipher, such as MixColumns in AES, is built in hardware from XOR gates. Fewer gates mean a smaller circuit, and fewer gates on the longest path mean a faster one. The paper looks for circuits with the fewest 2-input XOR gates at the minimum depth, and for the smallest area when 3-input XOR gates are also available.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The search combines three known techniques: a beam search over the near-ties of the depth-bounded Boyar-Peralta heuristic, backward splitting, and a large neighborhood search. On the 23 benchmark matrices of Shi, Feng and Xu (20 distinct problems), it finds circuits with 1 to 4 fewer XOR2 gates than the previous records for 14 problems, and matches the records for the other 6. After merging gates into 3-input XOR gates, the circuits are smaller than the published ones for 19 of the 20 problems (UMC 180 nm unit areas).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The code, the logs, every circuit and the scripts that check them are on GitHub. A web page runs the same search on any binary matrix of up to 64 inputs and 128 outputs, in the browser; the computation stays on your computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Preprint: <a href=\"https:\/\/eprint.iacr.org\/2026\/2980\">https:\/\/eprint.iacr.org\/2026\/2980<\/a><br>Code and circuits: <a href=\"https:\/\/github.com\/Carleton-SCI\/low-latency-linear-layers\">https:\/\/github.com\/Carleton-SCI\/low-latency-linear-layers<\/a><br>Try it in the browser: <a href=\"https:\/\/carleton-sci.github.io\/low-latency-linear-layers\/web\/\">https:\/\/carleton-sci.github.io\/low-latency-linear-layers\/web\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This work was supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC) through Discovery Grants.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mostafa Taha and Arash Reyhani-Masoleh (Western University) have posted a preprint on the IACR Cryptology ePrint Archive: &#8220;Ties, Splits and Neighborhoods: New Area Records for Low-Latency Linear Layers&#8221;. The linear layer of a block cipher, such as MixColumns in AES, is built in hardware from XOR gates. Fewer gates mean a smaller circuit, and fewer [&hellip;]<\/p>\n","protected":false},"author":588,"featured_media":284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[22],"tags":[],"class_list":["post-282","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/users\/588"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/comments?post=282"}],"version-history":[{"count":1,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/posts\/282\/revisions\/283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/media\/284"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/categories?post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carleton.ca\/sci-lab\/wp-json\/wp\/v2\/tags?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}