Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dmorus640.c26 #define MORUS640_BLOCK_SIZE (MORUS_BLOCK_WORDS * MORUS640_WORD_SIZE) macro
36 u8 bytes[MORUS640_BLOCK_SIZE];
165 while (size >= MORUS640_BLOCK_SIZE) { in crypto_morus640_ad()
169 size -= MORUS640_BLOCK_SIZE; in crypto_morus640_ad()
170 src += MORUS640_BLOCK_SIZE; in crypto_morus640_ad()
173 while (size >= MORUS640_BLOCK_SIZE) { in crypto_morus640_ad()
177 size -= MORUS640_BLOCK_SIZE; in crypto_morus640_ad()
178 src += MORUS640_BLOCK_SIZE; in crypto_morus640_ad()
203 while (size >= MORUS640_BLOCK_SIZE) { in crypto_morus640_encrypt_chunk()
210 src += MORUS640_BLOCK_SIZE; in crypto_morus640_encrypt_chunk()
[all …]
/Linux-v4.19/arch/x86/crypto/
Dmorus640_glue.c56 if (pos + size >= MORUS640_BLOCK_SIZE) { in crypto_morus640_glue_process_ad()
58 unsigned int fill = MORUS640_BLOCK_SIZE - pos; in crypto_morus640_glue_process_ad()
60 ops->ad(state, buf.bytes, MORUS640_BLOCK_SIZE); in crypto_morus640_glue_process_ad()
67 src += left & ~(MORUS640_BLOCK_SIZE - 1); in crypto_morus640_glue_process_ad()
68 left &= MORUS640_BLOCK_SIZE - 1; in crypto_morus640_glue_process_ad()
81 memset(buf.bytes + pos, 0, MORUS640_BLOCK_SIZE - pos); in crypto_morus640_glue_process_ad()
82 ops->ad(state, buf.bytes, MORUS640_BLOCK_SIZE); in crypto_morus640_glue_process_ad()
103 base = chunksize & ~(MORUS640_BLOCK_SIZE - 1); in crypto_morus640_glue_process_crypt()
106 chunksize &= MORUS640_BLOCK_SIZE - 1; in crypto_morus640_glue_process_crypt()
121 if (keylen != MORUS640_BLOCK_SIZE) { in crypto_morus640_glue_setkey()
[all …]
/Linux-v4.19/include/crypto/
Dmorus640_glue.h25 #define MORUS640_BLOCK_SIZE (MORUS_BLOCK_WORDS * MORUS640_WORD_SIZE) macro
28 u8 bytes[MORUS640_BLOCK_SIZE];
96 .chunksize = MORUS640_BLOCK_SIZE, \
119 .chunksize = MORUS640_BLOCK_SIZE, \