bigmaxes.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/* Copyright (C) RSA Data Security, Inc. created 1993, 1996. This is an
unpublished work protected as such under copyright law. This work
contains proprietary, confidential, and trade secret information of
RSA Data Security, Inc. Use, disclosure or reproduction without the
express written authorization of RSA Data Security, Inc. is
prohibited.
*/
#ifndef _BIGMAXES_H_
#define _BIGMAXES_H_ 1
#ifdef __cplusplus
extern "C" {
#endif
#define MAX_RSA_MODULUS_BITS 4096
/* MAX_RSA_PRIME_BITS -- length in bits of the maximum allowed RSA prime
MAX_RSA_MODULUS_LEN -- length in bytes of the maximum allowed RSA modulus,
in canonical format (no sign bit)
MAX_RSA_PRIME_LEN -- length in bytes of the maximum allowed RSA prime, in
canonical format (no sign bit)
*/
/* MAX_RSA_MODULUS_WORDS -- length in 16-bit words of the maximum allowed RSA
modulus, in bignum format (including sign bit)
MAX_RSA_PRIME_WORDS -- length in 16-bit words of the maximum allowed RSA
prime, in bignum format (including sign bit)
*/
#ifdef __cplusplus
}
#endif
#endif