Lines Matching refs:n
43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
44 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
51 #define GET_UINT32_BE(n,b,i) \ argument
53 (n) = ( (uint32_t) (b)[(i) ] << 24 ) \
61 #define PUT_UINT32_BE(n,b,i) \ argument
63 (b)[(i) ] = (unsigned char) ( (n) >> 24 ); \
64 (b)[(i) + 1] = (unsigned char) ( (n) >> 16 ); \
65 (b)[(i) + 2] = (unsigned char) ( (n) >> 8 ); \
66 (b)[(i) + 3] = (unsigned char) ( (n) ); \
324 size_t n = *iv_off; in mbedtls_blowfish_crypt_cfb64() local
330 if( n == 0 ) in mbedtls_blowfish_crypt_cfb64()
334 *output++ = (unsigned char)( c ^ iv[n] ); in mbedtls_blowfish_crypt_cfb64()
335 iv[n] = (unsigned char) c; in mbedtls_blowfish_crypt_cfb64()
337 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cfb64()
344 if( n == 0 ) in mbedtls_blowfish_crypt_cfb64()
347 iv[n] = *output++ = (unsigned char)( iv[n] ^ *input++ ); in mbedtls_blowfish_crypt_cfb64()
349 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_cfb64()
353 *iv_off = n; in mbedtls_blowfish_crypt_cfb64()
372 size_t n = *nc_off; in mbedtls_blowfish_crypt_ctr() local
376 if( n == 0 ) { in mbedtls_blowfish_crypt_ctr()
385 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_blowfish_crypt_ctr()
387 n = ( n + 1 ) % MBEDTLS_BLOWFISH_BLOCKSIZE; in mbedtls_blowfish_crypt_ctr()
390 *nc_off = n; in mbedtls_blowfish_crypt_ctr()