QARMA
QARMA (from Qualcomm ARM Authenticator ) is a lightweight tweakable block cipher primarily known for its use in the ARMv8 architecture for protection of software as a cryptographic hash for the Pointer Authentication Code.[src] The cipher was proposed by Roberto Avanzi in 2016.[src] Two versions of QARMA are defined: QARMA-64 (64-bit block size with a 128-bit encryption key) and QARMA-128 (128-bit block size with a 256-bit key).[src] The design of the QARMA was influenced by PRINCE and MANTIS.[src] The cipher is intended for fully-unrolled hardware implementations with low latency (like memory encryption).[src] Unlike the XTS mode, the address can be directly used as a tweak and does not need to be whitened with the block encryption first.[src]
QARMA (from Qualcomm ARM Authenticator ) is a lightweight tweakable block cipher primarily known for its use in the ARMv8 architecture for protection of software as a cryptographic hash for the Pointer Authentication Code.[src] The cipher was proposed by Roberto Avanzi in 2016.[src] Two versions of QARMA are defined: QARMA-64 (64-bit block size with a 128-bit encryption key) and QARMA-128 (128-bit block size with a 256-bit key).[src] The design of the QARMA was influenced by PRINCE and MANTIS.[src] The cipher is intended for fully-unrolled hardware implementations with low latency (like memory encryption).[src] Unlike the XTS mode, the address can be directly used as a tweak and does not need to be whitened with the block encryption first.[src] permutation F is using core key k 0 and parameterized by a tweak T.[src] It has r rounds inside (r = 7 for QARMA-64, r = 11 for QARMA-128); "central" permutation C is using key k 1 and is designed to be reversible via a simple key transformation (contains two central rounds); the third permutation is an inverse of the first (r more rounds).[src] All keys are derived from the master encryption key K using specialisation: K is partitioned into halves as w 0 Concatenation k 0 , each will have halfsize bits; for encryption w 1 = (w 0 >>> 1) + (w 0 >> (halfsize-1)); for encryption k 1 = k 0 ; for decryption, the same design can be used as long as k 0 +α is used as a core key, k 1 = Q•k 0 , w 1 and w 0 are swapped.[src] α here is a special constant and Q a special involutary matrix.[src] This construct is similar to the alpha reflection in PRINCE.[src] s.[src] |thumb|500px The data is split into 16 cells (4-bit nibbles for QARMA-64, 8-bit bytes for QARMA-128).[src] Internal state also contains 16 cells, arranged in a 4x4 matrix, and is initialized by plaintext (XORed with w 0 ).[src] In each round of \digamma , the state is transformed via operations \tau, M, S : \tau is ShuffleCells, a MIDORI permutation of cells ([ 0, 11, 6, 13, 10, 1, 12, 7, 5, 14, 3, 8, 15, 4, 9, 2]); M is MixColumns: each column is multiplied by a fixed matrix M; S is SubCells: each cell is transformed using an S-box.[src] The tweak for each round is updated using h, \omega : h is a cell permutation from MANTIS ([ 6, 5, 14, 15, 0, 1, 2, 3, 7, 12, 13, 4, 8, 9, 10, 11]); \omega is an LFSR applied to each of the cells with numbers [0, 1, 3, 4, 8, 11, 13].[src] For QARMA-64, the LFSR is (b3, b2, b1, b0) ⇒ (b0 + b1, b3, b2, b1), for QARMA-128, (b7, b6, ..., b0) ⇒ (b0 + b2, b7, b6, ..., b1), The rounds of \overline \digamma consist of inverse operations \overline \tau, \overline M, \overline S, \overline h, \overline \omega .[src] Central rounds, in addition to two rounds ( \tau, M, S and \overline \tau, \overline M, \overline S ), include multiplication of the state by an involutary matrix Q.[src]
24 sentences · 24 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"QARMA." encyclopegia.org, 2024, https://encyclopegia.org/wiki/qarma. Accessed 26 November 2026.
Chicago
"QARMA." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/qarma.
APA
encyclopegia.org. (2024). QARMA. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/qarma
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON