Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/hashes/chc/
Dchc.c25 cipher_blocksize; /* blocksize of cipher */ variable
78 cipher_blocksize = cipher_descriptor[cipher].block_length; in chc_register()
100 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { in chc_init()
109 zeromem(buf, cipher_blocksize); in chc_init()
110 if ((err = cipher_descriptor[cipher_idx].setup(buf, cipher_blocksize, 0, key)) != CRYPT_OK) { in chc_init()
141 …if ((err = cipher_descriptor[cipher_idx].setup(md->chc.state, cipher_blocksize, 0, key)) != CRYPT_… in chc_compress()
145 XMEMCPY(T[1], buf, cipher_blocksize); in chc_compress()
147 for (x = 0; x < cipher_blocksize; x++) { in chc_compress()
160 HASH_PROCESS(_chc_process, chc_compress, chc, (unsigned long)cipher_blocksize)
180 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { in chc_process()
[all …]
/external/openssh/
Dcipher.h82 u_int cipher_blocksize(const Cipher *);
Dcipher.c99 cipher_blocksize(const Cipher *c) in cipher_blocksize() function
Dkex.c299 enc->block_size = cipher_blocksize(enc->cipher); in choose_enc()