Searched refs:AEGIS_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/crypto/ |
D | aegis256.c | 36 union aegis_block key[AEGIS256_KEY_SIZE / AEGIS_BLOCK_SIZE]; 69 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis256_update_u() 81 crypto_xor(key_iv[0].bytes, iv + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis256_init() 82 AEGIS_BLOCK_SIZE); in crypto_aegis256_init() 83 crypto_xor(key_iv[1].bytes, iv + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis256_init() 84 AEGIS_BLOCK_SIZE); in crypto_aegis256_init() 111 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis256_ad() 114 size -= AEGIS_BLOCK_SIZE; in crypto_aegis256_ad() 118 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis256_ad() 121 size -= AEGIS_BLOCK_SIZE; in crypto_aegis256_ad() [all …]
|
D | aegis128.c | 69 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u() 80 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init() 104 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_ad() 107 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_ad() 111 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_ad() 114 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_ad() 115 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_ad() 126 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_encrypt_chunk() 142 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk() 143 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk() [all …]
|
D | aegis128l.c | 26 #define AEGIS128L_CHUNK_SIZE (AEGIS128L_CHUNK_BLOCKS * AEGIS_BLOCK_SIZE) 78 crypto_xor(state->blocks[0].bytes, msg + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_update_u() 79 AEGIS_BLOCK_SIZE); in crypto_aegis128l_update_u() 80 crypto_xor(state->blocks[4].bytes, msg + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_update_u() 81 AEGIS_BLOCK_SIZE); in crypto_aegis128l_update_u() 92 memcpy(chunk.blocks[0].bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128l_init() 179 crypto_xor(tmp0->bytes, src + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_encrypt_chunk() 180 AEGIS_BLOCK_SIZE); in crypto_aegis128l_encrypt_chunk() 186 crypto_xor(tmp1->bytes, src + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_encrypt_chunk() 187 AEGIS_BLOCK_SIZE); in crypto_aegis128l_encrypt_chunk() [all …]
|
D | aegis.h | 20 #define AEGIS_BLOCK_SIZE 16 macro 23 __le64 words64[AEGIS_BLOCK_SIZE / sizeof(__le64)]; 24 __le32 words32[AEGIS_BLOCK_SIZE / sizeof(__le32)]; 25 u8 bytes[AEGIS_BLOCK_SIZE];
|