Home GnuPG

Fix unaligned accesses with ldm/stm in ChaCha20 and Poly1305 ARM/NEON
1111d311fd64Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix unaligned accesses with ldm/stm in ChaCha20 and Poly1305 ARM/NEON

* cipher/chacha20-armv7-neon.S (UNALIGNED_STMIA8)
(UNALIGNED_LDMIA4): New.
(_gcry_chacha20_armv7_neon_blocks): Use new helper macros instead of
ldm/stm instructions directly.
* cipher/poly1305-armv7-neon.S (UNALIGNED_LDMIA2)
(UNALIGNED_LDMIA4): New.
(_gcry_poly1305_armv7_neon_init_ext, _gcry_poly1305_armv7_neon_blocks)
(_gcry_poly1305_armv7_neon_finish_ext): Use new helper macros instead
of ldm instruction directly.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jul 8 2016, 12:22 AM
Parents
rC496790940753: bench-slope: add unaligned buffer mode
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rC1111d311fd64: Fix unaligned accesses with ldm/stm in ChaCha20 and Poly1305 ARM/NEON (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Jul 8 2016, 12:22 AM