Lines Matching refs:input
86 const unsigned char *input, in cmac_multiply_by_u() argument
110 output[i] = input[i] << 1 | overflow; in cmac_multiply_by_u()
111 overflow = input[i] >> 7; in cmac_multiply_by_u()
123 mask = - ( input[0] >> 7 ); in cmac_multiply_by_u()
243 const unsigned char *input, size_t ilen ) in mbedtls_cipher_cmac_update() argument
250 if( ctx == NULL || ctx->cipher_info == NULL || input == NULL || in mbedtls_cipher_cmac_update()
264 input, in mbedtls_cipher_cmac_update()
275 input += block_size - cmac_ctx->unprocessed_len; in mbedtls_cipher_cmac_update()
286 cmac_xor_block( state, input, state, block_size ); in mbedtls_cipher_cmac_update()
293 input += block_size; in mbedtls_cipher_cmac_update()
300 input, in mbedtls_cipher_cmac_update()
391 const unsigned char *input, size_t ilen, in mbedtls_cipher_cmac() argument
397 if( cipher_info == NULL || key == NULL || input == NULL || output == NULL ) in mbedtls_cipher_cmac()
409 ret = mbedtls_cipher_cmac_update( &ctx, input, ilen ); in mbedtls_cipher_cmac()
426 const unsigned char *input, size_t in_len, in mbedtls_aes_cmac_prf_128() argument
434 if( key == NULL || input == NULL || output == NULL ) in mbedtls_aes_cmac_prf_128()
460 ret = mbedtls_cipher_cmac( cipher_info, int_key, 128, input, in_len, in mbedtls_aes_cmac_prf_128()