[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-725937-105":59,"doc-detail-725937-en":130,"doc-similar-725937":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","accelerator-for-crystals-dilithium-with-dual-core-parallelism-on-esp32","Accelerator for Crystals-Dilithium with Dual-Core Parallelism on ESP32","","Dilithium is a lattice-based digital signature scheme selected in the NIST post-quantum cryptography standardization. To tackle its inefficiency on embedded platforms, the work designs a targeted acceleration scheme for Dilithium by leveraging ESP32 hardware. It optimizes algorithm scheduling to enable dual-thread parallel execution on the ESP32 dual-core architecture and replaces the generic Keccak-related code with an official 32-bit C implementation from XKCP. The integrated algorithm is verified in ESP-IDF, reducing total latency to 127.59 ms and improving real-time performance for lightweight applications.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/accelerator-for-crystals-dilithium-with-dual-core-parallelism-on-esp32/725937/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/accelerator-for-crystals-dilithium-with-dual-core-parallelism-on-esp32/725937.png","ImageObject",300,407,{"name":92,"@type":93},"Bintang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-11-20",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address for Dilithium on the ESP32?","Question",{"text":112,"@type":113},"The paper targets low execution efficiency of core Dilithium modules—key generation, signing, verification, and hash operations—when implemented using generic single-threaded C code on the ESP32.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does dual-core parallelism improve Dilithium performance on ESP32?",{"text":117,"@type":113},"It optimizes task partitioning and scheduling so computationally intensive operations run in parallel across dual threads, replacing the original serial execution flow.",{"name":119,"@type":110,"acceptedAnswer":120},"What hash-related optimization is introduced in the scheme?",{"text":121,"@type":113},"The Keccak hash module is optimized and adapted using the official 32-bit C implementation from XKCP, replacing the original generic C code to better match ESP32’s 32-bit instruction system.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},725937,1795210482,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},962085564381,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Accelerator for Crystals-Dilithium with Dual-Core  \nParallelism on ESP32  \nWeicheng Hu∗ , Junjie Zhong∗ , Tianming Gao∗ , Yingnan Zang∗ , Yongjun Xia∗ and Yijun Cui∗  \nEmail: {huweicheng, zhongjunjie, gaotianming, zangyingnan, yjxia, [yijun.cui](yijun.cui}@nuaa.edu.cn)[}](yijun.cui}@nuaa.edu.cn)[@nuaa.edu.cn](yijun.cui}@nuaa.edu.cn)[ ](yijun.cui}@nuaa.edu.cn)∗ College of Integrated Circuits, Nanjing University of Aeronautics and Astronautics, Nanjing, China  \nAbstract—Dilithium is a lattice-based digital signature scheme selected in the post-quantum cryptography (PQC) standardization process by the National Institute of Standards and Technology (NIST). To address the inefficiency issue, a targeted acceleration scheme for Dilithium is designed by combining the hardware characteristics of the ESP32. Based on the dualcore architecture of the ESP32, the algorithm scheduling is optimized to enable dual-thread parallel acceleration instead of single-thread execution. In addition, the Keccak hash module is optimized and adapted using the official 32-bit C implementation from XKCP, replacing the original generic C code. The full Dilithium algorithm is integrated and verified in the ESP-IDF development environment, and system stability is guaranteed by reasonably configuring compilation parameters and optimizing task scheduling. After comprehensive optimization, the total latency is reduced to 127.59 ms. Specifically, the optimized execution latencies for key generation, signature generation, and signature verification are 20.29 ms, 85.47 ms, and 21.83 ms, respectively, achieving latency reductions of 56.94%, 32.12%, and 52.79% compared with the AES-modified version of Dilithium. Experimental results demonstrate that using the original SHAKE algorithm reduces the total latency by more than 35% compared with the AES-modified version. With dual-core parallelism and the optimized Keccak function, the total latency is further reduced by more than 41% compared with the AES-modified version, which significantly improves the real-time performance of Dilithium on the ESP32 and meets the lightweight and highefficiency requirements of embedded applications.  \nIndex Terms—Hardware Security, Post-quantum Cryptography, Crystals-Dilithium, ESP32, Parallel Acceleration  \nI. INTRODUCTION  \nDilithium[1] is a digital signature scheme selected in the post-quantum cryptography (PQC) standardization process by the National Institute of Standards and Technology (NIST) . Its security relies on well-founded lattice-based hard problems, making it widely applicable in resource-constrained embedded scenarios. With the rapid development of the Internet of Things (IoT), edge devices such as ESP32 are increasingly deployed in smart grids, industrial control, and intelligent transportation, where secure and efficient identity authentication is urgently required[2] . When implementing Dilithium on the ESP32 microcontroller, the execution efficiency of core modules such as key generation, signing, verification, and hash operations is relatively low. Existing implementations mostly adopt generalpurpose C code with single-threaded execution, which cannot  \nThis work is supported by grants from the National Natural Science Foundation of China (62474092 62371226 62134002 62425404), the Natural Science Foundation of Jiangsu Province (BK20210287) .  \nfully exploit the performance potential of the dual-core Xtensa LX6 processor of the ESP32 .  \nMost existing hardware acceleration implementations of post-quantum cryptography are designed for high-performance platforms such as FPGAs[3] and ASICs[4] . Optimizationsand practical deployments targeting the ESP32, a typical representative of embedded edge devices, are still insufficient. However, many studies have demonstrated the feasibility and application value of the ESP32 platform in practical PQC deployment. For example, efficient implementations of Kyberon the ESP32 have been proposed, where dual-core parallelism and hardwar","cbCaisb8AhyA7kps","https://ap.wps.com/l/cbCaisb8AhyA7kps","pdf",1138846,"English","# Introduction\n## Motivation and background\n## Proposed dual-core parallel acceleration scheme\n## Keccak optimization and integration","[{\"question\":\"What problem does the paper address for Dilithium on the ESP32?\",\"answer\":\"The paper targets low execution efficiency of core Dilithium modules—key generation, signing, verification, and hash operations—when implemented using generic single-threaded C code on the ESP32.\"},{\"question\":\"How does dual-core parallelism improve Dilithium performance on ESP32?\",\"answer\":\"It optimizes task partitioning and scheduling so computationally intensive operations run in parallel across dual threads, replacing the original serial execution flow.\"},{\"question\":\"What hash-related optimization is introduced in the scheme?\",\"answer\":\"The Keccak hash module is optimized and adapted using the official 32-bit C implementation from XKCP, replacing the original generic C code to better match ESP32’s 32-bit instruction system.\"}]","Accelerator for Crystals-Dilithium with Dual-Core Parallelism on ESP32 | PDF",15,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/e3e707a19bf61664c3d112f1ecfd5255.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/3bbbe652ebaa561b53f714396746e727.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/67ecf4af9f49e584dfe0e00c3589c54c.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/326b0eec6d71dea037caff08d403959e.webp",980,1268,{"list":162,"token":66},[163,169,175,181,187,194,201,208,215,222],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":81,"category_name":30,"create_tm":168},700709,"Advance-P4 7-inch ESP32-P4 HMI AI Display - Lesson 1 - Print Hello World","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012033336/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=6lNcZBEQsJUnNqgXQJ7VaM%2FmOaE%3D","advance-p4-7-inch-esp32-p4-hmi-ai-display-lesson-1-print-hello-world",1794520120,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},690384,"ESP32-CAM - Image Recognition Development Board - Usage Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002633556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=2r%2FTO4yl0g5FUvPgxKJbj1POozE%3D","esp32-cam-image-recognition-development-board-usage-guide",1794165019,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":81,"category_name":30,"create_tm":180},700703,"ESP32-S3-Touch-LCD-4 - Development Tools and Arduino Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012033319/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=6aMcirwhWRK4WJ2bahtiFhxQUzE%3D","esp32-s3-touch-lcd-4-development-tools-and-arduino-setup-guide",1794520109,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":44,"category_name":30,"create_tm":186},690238,"ESP32-C6 Series - Datasheet - Product Overview - Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002601557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=fMM5OZyqgLZrzKdW11kkJP6xYjM%3D","esp32-c6-series-datasheet-product-overview-features",1794159196,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":30,"create_tm":193},86103,"Dual-Arm Robot-Assisted Dressing with Differentiable Clothing Simulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809504326/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=KTscLCBFadGJ5ylglHtQ8z1wW1s%3D","dual-arm-robot-assisted-dressing-with-differentiable-clothing-simulation",21,1784208532,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":30,"create_tm":200},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=Aohtym8cxm3e2gGe4wsvw8esGDU%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":30,"create_tm":207},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=Yx0rVi3f%2F7YTZSMbdYS%2BbASg8G4%3D","xnx-universal-transmitter-installation-manual",854,1776135954,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":30,"create_tm":214},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=RTCExxPo4EhNNi6qZgtgNiBg4z0%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":30,"create_tm":221},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=9VkxCJGfu4a8b66PwFEAAQFTozw%3D","free-fire-proxy-server",565,1776135932,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":30,"create_tm":228},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=%2F4VpAjsmm6MxR5BMVgQsMzjL1fE%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]