chromium/third_party/ffmpeg/libavutil/md5.c

/*
 * Copyright (C) 2006 Michael Niedermayer ([email protected])
 * Copyright (C) 2003-2005 by Christopher R. Hertel ([email protected])
 *
 * References:
 *  IETF RFC 1321: The MD5 Message-Digest Algorithm
 *       Ron Rivest. IETF, April, 1992
 *
 * based on http://ubiqx.org/libcifs/source/Auth/MD5.c
 *          from Christopher R. Hertel ([email protected])
 * Simplified, cleaned and IMO redundant comments removed by Michael.
 *
 * If you use gcc, then version 4.1 or later and -fomit-frame-pointer is
 * strongly recommended.
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#include <stdint.h>
#include <string.h>

#include "bswap.h"
#include "intreadwrite.h"
#include "macros.h"
#include "mem.h"
#include "md5.h"

AVMD5;

const int av_md5_size =;

struct AVMD5 *av_md5_alloc(void)
{}

static const uint8_t S[4][4] =;

static const uint32_t T[64] =;

#define CORE(i, a, b, c, d)

static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks)
{}

void av_md5_init(AVMD5 *ctx)
{}

void av_md5_update(AVMD5 *ctx, const uint8_t *src, size_t len)
{}

void av_md5_final(AVMD5 *ctx, uint8_t *dst)
{}

void av_md5_sum(uint8_t *dst, const uint8_t *src, size_t len)
{}