Lines Matching refs:n

52 static void mbedtls_zeroize( void *v, size_t n ) {  in mbedtls_zeroize()  argument
53 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
60 #define GET_UINT32_BE(n,b,i) \ argument
62 (n) = ( (uint32_t) (b)[(i) ] << 24 ) \
70 #define PUT_UINT32_BE(n,b,i) \ argument
72 (b)[(i) ] = (unsigned char) ( (n) >> 24 ); \
73 (b)[(i) + 1] = (unsigned char) ( (n) >> 16 ); \
74 (b)[(i) + 2] = (unsigned char) ( (n) >> 8 ); \
75 (b)[(i) + 3] = (unsigned char) ( (n) ); \
111 #define SBOX1(n) FSb[(n)] argument
112 #define SBOX2(n) (unsigned char)((FSb[(n)] >> 7 ^ FSb[(n)] << 1) & 0xff) argument
113 #define SBOX3(n) (unsigned char)((FSb[(n)] >> 1 ^ FSb[(n)] << 7) & 0xff) argument
114 #define SBOX4(n) FSb[((n) << 1 ^ (n) >> 7) &0xff] argument
198 #define SBOX1(n) FSb[(n)] argument
199 #define SBOX2(n) FSb2[(n)] argument
200 #define SBOX3(n) FSb3[(n)] argument
201 #define SBOX4(n) FSb4[(n)] argument
621 size_t n = *iv_off; in mbedtls_camellia_crypt_cfb128() local
627 if( n == 0 ) in mbedtls_camellia_crypt_cfb128()
631 *output++ = (unsigned char)( c ^ iv[n] ); in mbedtls_camellia_crypt_cfb128()
632 iv[n] = (unsigned char) c; in mbedtls_camellia_crypt_cfb128()
634 n = ( n + 1 ) & 0x0F; in mbedtls_camellia_crypt_cfb128()
641 if( n == 0 ) in mbedtls_camellia_crypt_cfb128()
644 iv[n] = *output++ = (unsigned char)( iv[n] ^ *input++ ); in mbedtls_camellia_crypt_cfb128()
646 n = ( n + 1 ) & 0x0F; in mbedtls_camellia_crypt_cfb128()
650 *iv_off = n; in mbedtls_camellia_crypt_cfb128()
669 size_t n = *nc_off; in mbedtls_camellia_crypt_ctr() local
673 if( n == 0 ) { in mbedtls_camellia_crypt_ctr()
682 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_camellia_crypt_ctr()
684 n = ( n + 1 ) & 0x0F; in mbedtls_camellia_crypt_ctr()
687 *nc_off = n; in mbedtls_camellia_crypt_ctr()