Lines Matching defs:output
52 * Input and output MUST NOT point to the same buffer
55 static int cmac_multiply_by_u(unsigned char *output,
81 MBEDTLS_PUT_UINT32_BE(i32, &output[i], 0);
86 output[blocksize - 1] ^= R_n;
269 unsigned char *output)
280 output == NULL) {
311 memcpy(output, state, block_size);
350 unsigned char *output)
355 if (cipher_info == NULL || key == NULL || input == NULL || output == NULL) {
375 ret = mbedtls_cipher_cmac_finish(&ctx, output);
389 unsigned char output[16])
396 if (key == NULL || input == NULL || output == NULL) {
421 output);
836 unsigned char output[MBEDTLS_CMAC_MAX_BLOCK_SIZE];
851 message_lengths[i], output)) != 0) {
872 if ((ret = memcmp(output, &expected_result[i * block_size], block_size)) != 0) {
894 unsigned char output[MBEDTLS_AES_BLOCK_SIZE];
898 ret = mbedtls_aes_cmac_prf_128(PRFK, PRFKlen[i], PRFM, 20, output);
900 memcmp(output, PRFT[i], MBEDTLS_AES_BLOCK_SIZE) != 0) {