Lines Matching refs:input
56 const unsigned char *input, in cmac_multiply_by_u() argument
78 uint32_t i32 = MBEDTLS_GET_UINT32_BE(&input[i], 0); in cmac_multiply_by_u()
85 R_n = (unsigned char) mbedtls_ct_uint_if_else_0(mbedtls_ct_bool(input[0] >> 7), R_n); in cmac_multiply_by_u()
199 const unsigned char *input, size_t ilen) in mbedtls_cipher_cmac_update() argument
206 if (ctx == NULL || ctx->cipher_info == NULL || input == NULL || in mbedtls_cipher_cmac_update()
224 input, in mbedtls_cipher_cmac_update()
234 input += block_size - cmac_ctx->unprocessed_len; in mbedtls_cipher_cmac_update()
245 mbedtls_xor_no_simd(state, input, state, block_size); in mbedtls_cipher_cmac_update()
253 input += block_size; in mbedtls_cipher_cmac_update()
259 input, in mbedtls_cipher_cmac_update()
349 const unsigned char *input, size_t ilen, in mbedtls_cipher_cmac() argument
355 if (cipher_info == NULL || key == NULL || input == NULL || output == NULL) { in mbedtls_cipher_cmac()
370 ret = mbedtls_cipher_cmac_update(&ctx, input, ilen); in mbedtls_cipher_cmac()
388 const unsigned char *input, size_t in_len, in mbedtls_aes_cmac_prf_128() argument
396 if (key == NULL || input == NULL || output == NULL) { in mbedtls_aes_cmac_prf_128()
420 ret = mbedtls_cipher_cmac(cipher_info, int_key, 128, input, in_len, in mbedtls_aes_cmac_prf_128()