Commit 0d5a49e1 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add FIPS RSA error code.

Add some RSA error codes used by the FIPS module.
parent 5c49a98c
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -459,6 +459,9 @@ void ERR_load_RSA_strings(void);
/* Function codes. */
/* Function codes. */
#define RSA_F_CHECK_PADDING_MD				 140
#define RSA_F_CHECK_PADDING_MD				 140
#define RSA_F_DO_RSA_PRINT				 146
#define RSA_F_DO_RSA_PRINT				 146
#define RSA_F_FIPS_RSA_SIGN_DIGEST			 149
#define RSA_F_FIPS_RSA_VERIFY				 150
#define RSA_F_FIPS_RSA_VERIFY_DIGEST			 151
#define RSA_F_INT_RSA_VERIFY				 145
#define RSA_F_INT_RSA_VERIFY				 145
#define RSA_F_MEMORY_LOCK				 100
#define RSA_F_MEMORY_LOCK				 100
#define RSA_F_OLD_RSA_PRIV_DECODE			 147
#define RSA_F_OLD_RSA_PRIV_DECODE			 147
+4 −1
Original line number Original line Diff line number Diff line
/* crypto/rsa/rsa_err.c */
/* crypto/rsa/rsa_err.c */
/* ====================================================================
/* ====================================================================
 * Copyright (c) 1999-2011 The OpenSSL Project.  All rights reserved.
 * Copyright (c) 1999-2013 The OpenSSL Project.  All rights reserved.
 *
 *
 * Redistribution and use in source and binary forms, with or without
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * modification, are permitted provided that the following conditions
@@ -72,6 +72,9 @@ static ERR_STRING_DATA RSA_str_functs[]=
	{
	{
{ERR_FUNC(RSA_F_CHECK_PADDING_MD),	"CHECK_PADDING_MD"},
{ERR_FUNC(RSA_F_CHECK_PADDING_MD),	"CHECK_PADDING_MD"},
{ERR_FUNC(RSA_F_DO_RSA_PRINT),	"DO_RSA_PRINT"},
{ERR_FUNC(RSA_F_DO_RSA_PRINT),	"DO_RSA_PRINT"},
{ERR_FUNC(RSA_F_FIPS_RSA_SIGN_DIGEST),	"FIPS_rsa_sign_digest"},
{ERR_FUNC(RSA_F_FIPS_RSA_VERIFY),	"FIPS_rsa_verify"},
{ERR_FUNC(RSA_F_FIPS_RSA_VERIFY_DIGEST),	"FIPS_rsa_verify_digest"},
{ERR_FUNC(RSA_F_INT_RSA_VERIFY),	"INT_RSA_VERIFY"},
{ERR_FUNC(RSA_F_INT_RSA_VERIFY),	"INT_RSA_VERIFY"},
{ERR_FUNC(RSA_F_MEMORY_LOCK),	"MEMORY_LOCK"},
{ERR_FUNC(RSA_F_MEMORY_LOCK),	"MEMORY_LOCK"},
{ERR_FUNC(RSA_F_OLD_RSA_PRIV_DECODE),	"OLD_RSA_PRIV_DECODE"},
{ERR_FUNC(RSA_F_OLD_RSA_PRIV_DECODE),	"OLD_RSA_PRIV_DECODE"},