aimd5.c revision 65c4736d9c0ebc6d9b1d991593b55566909da9cd
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence/* Copyright (C) RSA Data Security, Inc. created 1990, 1996. This is an
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence unpublished work protected as such under copyright law. This work
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence contains proprietary, confidential, and trade secret information of
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence RSA Data Security, Inc. Use, disclosure or reproduction without the
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence express written authorization of RSA Data Security, Inc. is
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence prohibited.
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence */
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence#include "global.h"
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence#include "bsafe2.h"
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence#include "bkey.h"
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence#include "balg.h"
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence#include "aichdig.h"
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceB_AlgorithmInfoType AIT_MD5 = {&AITChooseDigestNull_V_TABLE};
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrenceint AI_MD5 (infoType)
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrencePOINTER *infoType;
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence{
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence *infoType = (POINTER)&AIT_MD5;
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence /* Return 0 to indicate a B_AlgorithmInfoType, not a B_KeyInfoType */
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence return (0);
6b7257f756eb0530cdf54df9a7fab8d51a5001c3David Lawrence}
6b7257f756eb0530cdf54df9a7fab8d51a5001c3David Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence