Home
last modified time | relevance | path

Searched refs:MORUS1280_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/crypto/
Dmorus1280.c26 #define MORUS1280_BLOCK_SIZE (MORUS_BLOCK_WORDS * MORUS1280_WORD_SIZE) macro
36 u8 bytes[MORUS1280_BLOCK_SIZE];
159 while (size >= MORUS1280_BLOCK_SIZE) { in crypto_morus1280_ad()
163 size -= MORUS1280_BLOCK_SIZE; in crypto_morus1280_ad()
164 src += MORUS1280_BLOCK_SIZE; in crypto_morus1280_ad()
167 while (size >= MORUS1280_BLOCK_SIZE) { in crypto_morus1280_ad()
171 size -= MORUS1280_BLOCK_SIZE; in crypto_morus1280_ad()
172 src += MORUS1280_BLOCK_SIZE; in crypto_morus1280_ad()
198 while (size >= MORUS1280_BLOCK_SIZE) { in crypto_morus1280_encrypt_chunk()
205 src += MORUS1280_BLOCK_SIZE; in crypto_morus1280_encrypt_chunk()
[all …]
/Linux-v4.19/arch/x86/crypto/
Dmorus1280_glue.c56 if (pos + size >= MORUS1280_BLOCK_SIZE) { in crypto_morus1280_glue_process_ad()
58 unsigned int fill = MORUS1280_BLOCK_SIZE - pos; in crypto_morus1280_glue_process_ad()
60 ops->ad(state, buf.bytes, MORUS1280_BLOCK_SIZE); in crypto_morus1280_glue_process_ad()
67 src += left & ~(MORUS1280_BLOCK_SIZE - 1); in crypto_morus1280_glue_process_ad()
68 left &= MORUS1280_BLOCK_SIZE - 1; in crypto_morus1280_glue_process_ad()
81 memset(buf.bytes + pos, 0, MORUS1280_BLOCK_SIZE - pos); in crypto_morus1280_glue_process_ad()
82 ops->ad(state, buf.bytes, MORUS1280_BLOCK_SIZE); in crypto_morus1280_glue_process_ad()
103 base = chunksize & ~(MORUS1280_BLOCK_SIZE - 1); in crypto_morus1280_glue_process_crypt()
106 chunksize &= MORUS1280_BLOCK_SIZE - 1; in crypto_morus1280_glue_process_crypt()
121 if (keylen == MORUS1280_BLOCK_SIZE) { in crypto_morus1280_glue_setkey()
[all …]
/Linux-v4.19/include/crypto/
Dmorus1280_glue.h25 #define MORUS1280_BLOCK_SIZE (MORUS_BLOCK_WORDS * MORUS1280_WORD_SIZE) macro
28 u8 bytes[MORUS1280_BLOCK_SIZE];
96 .chunksize = MORUS1280_BLOCK_SIZE, \
119 .chunksize = MORUS1280_BLOCK_SIZE, \