Lines Matching refs:MBEDTLS_BLOWFISH_BLOCKSIZE

234                     const unsigned char input[MBEDTLS_BLOWFISH_BLOCKSIZE],  in mbedtls_blowfish_crypt_ecb()  argument
235 unsigned char output[MBEDTLS_BLOWFISH_BLOCKSIZE] ) in mbedtls_blowfish_crypt_ecb() argument
264 unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_cbc() argument
269 unsigned char temp[MBEDTLS_BLOWFISH_BLOCKSIZE]; in mbedtls_blowfish_crypt_cbc()
271 if( length % MBEDTLS_BLOWFISH_BLOCKSIZE ) in mbedtls_blowfish_crypt_cbc()
278 memcpy( temp, input, MBEDTLS_BLOWFISH_BLOCKSIZE ); in mbedtls_blowfish_crypt_cbc()
281 for( i = 0; i < MBEDTLS_BLOWFISH_BLOCKSIZE;i++ ) in mbedtls_blowfish_crypt_cbc()
284 memcpy( iv, temp, MBEDTLS_BLOWFISH_BLOCKSIZE ); in mbedtls_blowfish_crypt_cbc()
286 input += MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
287 output += MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
288 length -= MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
295 for( i = 0; i < MBEDTLS_BLOWFISH_BLOCKSIZE; i++ ) in mbedtls_blowfish_crypt_cbc()
299 memcpy( iv, output, MBEDTLS_BLOWFISH_BLOCKSIZE ); in mbedtls_blowfish_crypt_cbc()
301 input += MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
302 output += MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
303 length -= MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cbc()
319 unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_cfb64() argument
337 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cfb64()
349 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cfb64()
366 unsigned char nonce_counter[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_ctr() argument
367 unsigned char stream_block[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_ctr() argument
380 for( i = MBEDTLS_BLOWFISH_BLOCKSIZE; i > 0; i-- ) in mbedtls_blowfish_crypt_ctr()
387 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_ctr()