Home
last modified time | relevance | path

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

/linux/crypto/
H A Dxctr.c32 #define XCTR_BLOCKSIZE 16 macro
37 u8 keystream[XCTR_BLOCKSIZE]; in crypto_xctr_crypt_final()
41 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_final()
57 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_segment()
62 crypto_xor(dst, src, XCTR_BLOCKSIZE); in crypto_xctr_crypt_segment()
67 src += XCTR_BLOCKSIZE; in crypto_xctr_crypt_segment()
68 dst += XCTR_BLOCKSIZE; in crypto_xctr_crypt_segment()
69 } while ((nbytes -= XCTR_BLOCKSIZE) >= XCTR_BLOCKSIZE); in crypto_xctr_crypt_segment()
82 u8 tmp[XCTR_BLOCKSIZE + MAX_CIPHER_ALIGNMASK]; in crypto_xctr_crypt_inplace()
84 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_inplace()
[all …]