Optimized voronoi-based algorithms for parallel shortest vector computation

Bibliographic Details
Main Author: Mariano, Artur
Publication Date: 2022
Other Authors: Cabeleira, Filipe, Santos, Luís Paulo, Falcão, Gabriel
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/1822/78135
Summary: This chapter addresses Voronoi cell-based algorithms, solving the Shortest Vector Problem, a fundamental challenge in lattice-based cryptanalysis. Several optimizations reduce the original algorithm's execution time. The algorithm suitability for parallel execution on both CPUs and GPUs is also shown. Optimizations are based on pruning, avoiding computations that will not improve the solution. The pruning criteria is related to the target vectors norm relative to the current best solution vector norm. Speedups up to 69× are observed. With a pre-process sorting step, which requires storing the norm ordered target vectors and therefore significantly more memory, speedup increases to 77×. On the parallel processing side, the optimized algorithm exhibits linear scalability on a CPU with up to 28 threads and keeps scaling, at a lower rate, with Simultaneous Multi-Threading up to 56 threads. The lack of support for efficient threads synchronization in GPUs precludes a scalable implementation of the pruning optimization. A parallel GPU version of the non-optimized algorithm is demonstrated to be competitive with the parallel non optimized CPU version, although the latter outperforms the former for 56 threads. GPUs are expected to outperform CPUs for higher lattice dimensions; this cannot be experimentally verified due to the limited memory available on current GPUs.
id RCAP_bd0161d5a3b08fc76220c3df4bee4f1a
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/78135
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Optimized voronoi-based algorithms for parallel shortest vector computationcryptanalysisparallel computingEngenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e InformáticaThis chapter addresses Voronoi cell-based algorithms, solving the Shortest Vector Problem, a fundamental challenge in lattice-based cryptanalysis. Several optimizations reduce the original algorithm's execution time. The algorithm suitability for parallel execution on both CPUs and GPUs is also shown. Optimizations are based on pruning, avoiding computations that will not improve the solution. The pruning criteria is related to the target vectors norm relative to the current best solution vector norm. Speedups up to 69× are observed. With a pre-process sorting step, which requires storing the norm ordered target vectors and therefore significantly more memory, speedup increases to 77×. On the parallel processing side, the optimized algorithm exhibits linear scalability on a CPU with up to 28 threads and keeps scaling, at a lower rate, with Simultaneous Multi-Threading up to 56 threads. The lack of support for efficient threads synchronization in GPUs precludes a scalable implementation of the pruning optimization. A parallel GPU version of the non-optimized algorithm is demonstrated to be competitive with the parallel non optimized CPU version, although the latter outperforms the former for 56 threads. GPUs are expected to outperform CPUs for higher lattice dimensions; this cannot be experimentally verified due to the limited memory available on current GPUs.Taylor & FrancisUniversidade do MinhoMariano, ArturCabeleira, FilipeSantos, Luís PauloFalcão, Gabriel20222022-01-01T00:00:00Zbook partinfo:eu-repo/semantics/publishedVersionapplication/pdfhttps://hdl.handle.net/1822/78135eng10.1201/9781003155799-49781003155799https://www.taylorfrancis.com/chapters/edit/10.1201/9781003155799-4/optimized-voronoi-based-algorithms-parallel-shortest-vector-computation-artur-mariano-filipe-cabeleira-lu%C3%ADs-paulo-santos-gabriel-falc%C3%A3oinfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T05:46:54Zoai:repositorium.sdum.uminho.pt:1822/78135Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T15:29:59.604321Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Optimized voronoi-based algorithms for parallel shortest vector computation
title Optimized voronoi-based algorithms for parallel shortest vector computation
spellingShingle Optimized voronoi-based algorithms for parallel shortest vector computation
Mariano, Artur
cryptanalysis
parallel computing
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
title_short Optimized voronoi-based algorithms for parallel shortest vector computation
title_full Optimized voronoi-based algorithms for parallel shortest vector computation
title_fullStr Optimized voronoi-based algorithms for parallel shortest vector computation
title_full_unstemmed Optimized voronoi-based algorithms for parallel shortest vector computation
title_sort Optimized voronoi-based algorithms for parallel shortest vector computation
author Mariano, Artur
author_facet Mariano, Artur
Cabeleira, Filipe
Santos, Luís Paulo
Falcão, Gabriel
author_role author
author2 Cabeleira, Filipe
Santos, Luís Paulo
Falcão, Gabriel
author2_role author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Mariano, Artur
Cabeleira, Filipe
Santos, Luís Paulo
Falcão, Gabriel
dc.subject.por.fl_str_mv cryptanalysis
parallel computing
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
topic cryptanalysis
parallel computing
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
description This chapter addresses Voronoi cell-based algorithms, solving the Shortest Vector Problem, a fundamental challenge in lattice-based cryptanalysis. Several optimizations reduce the original algorithm's execution time. The algorithm suitability for parallel execution on both CPUs and GPUs is also shown. Optimizations are based on pruning, avoiding computations that will not improve the solution. The pruning criteria is related to the target vectors norm relative to the current best solution vector norm. Speedups up to 69× are observed. With a pre-process sorting step, which requires storing the norm ordered target vectors and therefore significantly more memory, speedup increases to 77×. On the parallel processing side, the optimized algorithm exhibits linear scalability on a CPU with up to 28 threads and keeps scaling, at a lower rate, with Simultaneous Multi-Threading up to 56 threads. The lack of support for efficient threads synchronization in GPUs precludes a scalable implementation of the pruning optimization. A parallel GPU version of the non-optimized algorithm is demonstrated to be competitive with the parallel non optimized CPU version, although the latter outperforms the former for 56 threads. GPUs are expected to outperform CPUs for higher lattice dimensions; this cannot be experimentally verified due to the limited memory available on current GPUs.
publishDate 2022
dc.date.none.fl_str_mv 2022
2022-01-01T00:00:00Z
dc.type.driver.fl_str_mv book part
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/1822/78135
url https://hdl.handle.net/1822/78135
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv 10.1201/9781003155799-4
9781003155799
https://www.taylorfrancis.com/chapters/edit/10.1201/9781003155799-4/optimized-voronoi-based-algorithms-parallel-shortest-vector-computation-artur-mariano-filipe-cabeleira-lu%C3%ADs-paulo-santos-gabriel-falc%C3%A3o
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Taylor & Francis
publisher.none.fl_str_mv Taylor & Francis
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595352597397504