#ifndef _RSA_SIGN_CONSTANTS_H_
	#define _RSA_SIGN_CONSTANTS_H_

/*
 *  RSA Block length. Used to determine the modulo's size.
 */
#define RSA_SIGN_BLOCK_LEN (1024)
#define RSA_SIGN_HASH_METHOD_SHA_1 ("sha1")
#define RSA_SIGN_HASH_METHOD_SHA_256 ("sha256")

/*
 *	Supported Hashing methods for RSA signature validation
 */
enum rsa_sign_hash_method {SHA1, SHA256 }; 

#endif /* _RSA_SIGN_CONSTANTS_H_ */


#ifndef _RSA_SIGN_CONSTANTS_H_
	#define _RSA_SIGN_CONSTANTS_H_

/*
 *  RSA Block length. Used to determine the modulo's size.
 */
#define RSA_SIGN_BLOCK_LEN (RSA_SIGN_KEY_BITSIZE/8)
#define RSA_SIGN_KEY_BITSIZE (1024)
#define RSA_SIGN_HASH_METHOD_SHA_1 ("sha1")
#define RSA_SIGN_HASH_METHOD_SHA_256 ("sha256")

/*
 *	Supported Hashing methods for RSA signature validation
 */
enum rsa_sign_hash_method {SHA1, SHA256 }; 

#endif /* _RSA_SIGN_CONSTANTS_H_ */


Add RSA byte length constant
Add RSA byte length constant

A RSA byte length define was added to disambiguate RSA_KEY_BITLENGTH
(typically 1024 here) from the RSA byte block length.
