Lines Matching refs:m
76 unsigned char *m; in mbedtls_arc4_setup() local
80 m = ctx->m; in mbedtls_arc4_setup()
83 m[i] = (unsigned char) i; in mbedtls_arc4_setup()
91 a = m[i]; in mbedtls_arc4_setup()
93 m[i] = m[j]; in mbedtls_arc4_setup()
94 m[j] = (unsigned char) a; in mbedtls_arc4_setup()
106 unsigned char *m; in mbedtls_arc4_crypt() local
110 m = ctx->m; in mbedtls_arc4_crypt()
114 x = ( x + 1 ) & 0xFF; a = m[x]; in mbedtls_arc4_crypt()
115 y = ( y + a ) & 0xFF; b = m[y]; in mbedtls_arc4_crypt()
117 m[x] = (unsigned char) b; in mbedtls_arc4_crypt()
118 m[y] = (unsigned char) a; in mbedtls_arc4_crypt()
121 ( input[i] ^ m[(unsigned char)( a + b )] ); in mbedtls_arc4_crypt()