~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to crypto/rand/rand_err.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-06-13 18:15:46 UTC
  • mto: (11.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090613181546-vbfntai3b009dl1u
Tags: upstream-0.9.8k
ImportĀ upstreamĀ versionĀ 0.9.8k

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* crypto/rand/rand_err.c */
2
2
/* ====================================================================
3
 
 * Copyright (c) 1999-2005 The OpenSSL Project.  All rights reserved.
 
3
 * Copyright (c) 1999-2007 The OpenSSL Project.  All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
6
6
 * modification, are permitted provided that the following conditions
70
70
 
71
71
static ERR_STRING_DATA RAND_str_functs[]=
72
72
        {
 
73
{ERR_FUNC(RAND_F_ENG_RAND_GET_RAND_METHOD),     "ENG_RAND_GET_RAND_METHOD"},
 
74
{ERR_FUNC(RAND_F_FIPS_RAND),    "FIPS_RAND"},
 
75
{ERR_FUNC(RAND_F_FIPS_RAND_BYTES),      "FIPS_RAND_BYTES"},
 
76
{ERR_FUNC(RAND_F_FIPS_RAND_GET_RAND_METHOD),    "FIPS_RAND_GET_RAND_METHOD"},
 
77
{ERR_FUNC(RAND_F_FIPS_RAND_SET_DT),     "FIPS_RAND_SET_DT"},
 
78
{ERR_FUNC(RAND_F_FIPS_SET_DT),  "FIPS_SET_DT"},
 
79
{ERR_FUNC(RAND_F_FIPS_SET_PRNG_SEED),   "FIPS_SET_PRNG_SEED"},
 
80
{ERR_FUNC(RAND_F_FIPS_SET_TEST_MODE),   "FIPS_SET_TEST_MODE"},
73
81
{ERR_FUNC(RAND_F_RAND_GET_RAND_METHOD), "RAND_get_rand_method"},
74
82
{ERR_FUNC(RAND_F_SSLEAY_RAND_BYTES),    "SSLEAY_RAND_BYTES"},
75
83
{0,NULL}
77
85
 
78
86
static ERR_STRING_DATA RAND_str_reasons[]=
79
87
        {
 
88
{ERR_REASON(RAND_R_NON_FIPS_METHOD)      ,"non fips method"},
 
89
{ERR_REASON(RAND_R_NOT_IN_TEST_MODE)     ,"not in test mode"},
 
90
{ERR_REASON(RAND_R_NO_KEY_SET)           ,"no key set"},
 
91
{ERR_REASON(RAND_R_PRNG_ASKING_FOR_TOO_MUCH),"prng asking for too much"},
 
92
{ERR_REASON(RAND_R_PRNG_ERROR)           ,"prng error"},
 
93
{ERR_REASON(RAND_R_PRNG_KEYED)           ,"prng keyed"},
 
94
{ERR_REASON(RAND_R_PRNG_NOT_REKEYED)     ,"prng not rekeyed"},
 
95
{ERR_REASON(RAND_R_PRNG_NOT_RESEEDED)    ,"prng not reseeded"},
80
96
{ERR_REASON(RAND_R_PRNG_NOT_SEEDED)      ,"PRNG not seeded"},
 
97
{ERR_REASON(RAND_R_PRNG_SEED_MUST_NOT_MATCH_KEY),"prng seed must not match key"},
 
98
{ERR_REASON(RAND_R_PRNG_STUCK)           ,"prng stuck"},
81
99
{0,NULL}
82
100
        };
83
101