]> www.wagner.pp.ru Git - openssl-gost/engine.git/blob - gost.txt
tcl_tests: ca.try: Ignore openssl crl exit status for 'corrupted CRL' test
[openssl-gost/engine.git] / gost.txt
1 # Copyright 1999-2020 The OpenSSL Project Authors. All Rights Reserved.
2 #
3 # Licensed under the OpenSSL license (the "License").  You may not use
4 # this file except in compliance with the License.  You can obtain a copy
5 # in the file LICENSE in the source distribution or at
6 # https://www.openssl.org/source/license.html
7
8 # Function codes
9 GOST_F_DECODE_GOST_ALGOR_PARAMS:100:decode_gost_algor_params
10 GOST_F_ENCODE_GOST_ALGOR_PARAMS:101:encode_gost_algor_params
11 GOST_F_FILL_GOST_EC_PARAMS:102:fill_GOST_EC_params
12 GOST_F_GET_ENCRYPTION_PARAMS:103:get_encryption_params
13 GOST_F_GOST2015_GET_ASN1_PARAMS:158:gost2015_get_asn1_params
14 GOST_F_GOST2015_SET_ASN1_PARAMS:159:gost2015_set_asn1_params
15 GOST_F_GOST89_GET_ASN1_PARAMETERS:104:gost89_get_asn1_parameters
16 GOST_F_GOST89_SET_ASN1_PARAMETERS:105:gost89_set_asn1_parameters
17 GOST_F_GOST_CIPHER_CTL:106:gost_cipher_ctl
18 GOST_F_GOST_CMS_SET_KARI_SHARED_INFO:156:gost_cms_set_kari_shared_info
19 GOST_F_GOST_CMS_SET_KTRI_SHARED_INFO:157:gost_cms_set_ktri_shared_info
20 GOST_F_GOST_CMS_SET_SHARED_INFO:155:gost_cms_set_shared_info
21 GOST_F_GOST_EC_COMPUTE_PUBLIC:107:gost_ec_compute_public
22 GOST_F_GOST_EC_KEYGEN:108:gost_ec_keygen
23 GOST_F_GOST_EC_SIGN:109:gost_ec_sign
24 GOST_F_GOST_EC_VERIFY:110:gost_ec_verify
25 GOST_F_GOST_ENCODE_CMS_PARAMS:161:gost_encode_cms_params
26 GOST_F_GOST_GRASSHOPPER_CIPHER_CTL:111:gost_grasshopper_cipher_ctl
27 GOST_F_GOST_GRASSHOPPER_CIPHER_DO_CTRACPKM_OMAC:160:\
28         gost_grasshopper_cipher_do_ctracpkm_omac
29 GOST_F_GOST_GRASSHOPPER_CIPHER_DO_MGM:166:gost_grasshopper_cipher_do_mgm
30 GOST_F_GOST_GRASSHOPPER_CIPHER_INIT_CTRACPKM_OMAC:162:\
31         gost_grasshopper_cipher_init_ctracpkm_omac
32 GOST_F_GOST_GRASSHOPPER_MGM_CTRL:167:gost_grasshopper_mgm_ctrl
33 GOST_F_GOST_GRASSHOPPER_SET_ASN1_PARAMETERS:112:\
34         gost_grasshopper_set_asn1_parameters
35 GOST_F_GOST_IMIT_CTRL:113:gost_imit_ctrl
36 GOST_F_GOST_IMIT_FINAL:114:gost_imit_final
37 GOST_F_GOST_IMIT_UPDATE:115:gost_imit_update
38 GOST_F_GOST_KDFTREE2012_256:149:gost_kdftree2012_256
39 GOST_F_GOST_KEXP15:143:gost_kexp15
40 GOST_F_GOST_KIMP15:148:gost_kimp15
41 GOST_F_GOST_MAGMA_CIPHER_DO_MGM:168:gost_magma_cipher_do_mgm
42 GOST_F_GOST_MAGMA_MGM_CTRL:169:gost_magma_mgm_ctrl
43 GOST_F_GOST_MGM128_AAD:170:gost_mgm128_aad
44 GOST_F_GOST_MGM128_DECRYPT:171:gost_mgm128_decrypt
45 GOST_F_GOST_MGM128_ENCRYPT:172:gost_mgm128_encrypt
46 GOST_F_MAGMA_CIPHER_CTL:163:magma_cipher_ctl
47 GOST_F_MAGMA_CIPHER_CTL_ACPKM_OMAC:164:magma_cipher_ctl_acpkm_omac
48 GOST_F_MAGMA_CIPHER_INIT_CTR_ACPKM_OMAC:165:magma_cipher_init_ctr_acpkm_omac
49 GOST_F_OMAC_ACPKM_IMIT_CTRL:144:omac_acpkm_imit_ctrl
50 GOST_F_OMAC_ACPKM_IMIT_FINAL:145:omac_acpkm_imit_final
51 GOST_F_OMAC_ACPKM_IMIT_UPDATE:146:omac_acpkm_imit_update
52 GOST_F_OMAC_ACPKM_KEY:147:omac_acpkm_key
53 GOST_F_OMAC_IMIT_CTRL:116:omac_imit_ctrl
54 GOST_F_OMAC_IMIT_FINAL:117:omac_imit_final
55 GOST_F_OMAC_IMIT_UPDATE:118:omac_imit_update
56 GOST_F_OMAC_KEY:138:omac_key
57 GOST_F_PARAM_COPY_GOST_EC:119:param_copy_gost_ec
58 GOST_F_PKEY_GOST2001_PARAMGEN:120:pkey_gost2001_paramgen
59 GOST_F_PKEY_GOST2012_PARAMGEN:121:pkey_gost2012_paramgen
60 GOST_F_PKEY_GOST2018_DECRYPT:150:pkey_gost2018_decrypt
61 GOST_F_PKEY_GOST2018_ENCRYPT:151:pkey_gost2018_encrypt
62 GOST_F_PKEY_GOST_CTRL:122:pkey_gost_ctrl
63 GOST_F_PKEY_GOST_DECRYPT:153:pkey_gost_decrypt
64 GOST_F_PKEY_GOST_ECCP_DECRYPT:123:pkey_GOST_ECcp_decrypt
65 GOST_F_PKEY_GOST_ECCP_ENCRYPT:124:pkey_GOST_ECcp_encrypt
66 GOST_F_PKEY_GOST_EC_CTRL_STR_256:125:pkey_gost_ec_ctrl_str_256
67 GOST_F_PKEY_GOST_EC_CTRL_STR_512:126:pkey_gost_ec_ctrl_str_512
68 GOST_F_PKEY_GOST_EC_CTRL_STR_COMMON:154:pkey_gost_ec_ctrl_str_common
69 GOST_F_PKEY_GOST_EC_DERIVE:127:pkey_gost_ec_derive
70 GOST_F_PKEY_GOST_ENCRYPT:152:pkey_gost_encrypt
71 GOST_F_PKEY_GOST_GRASSHOPPER_MAC_SIGNCTX_INIT:141:\
72         pkey_gost_grasshopper_mac_signctx_init
73 GOST_F_PKEY_GOST_MAC_CTRL:128:pkey_gost_mac_ctrl
74 GOST_F_PKEY_GOST_MAC_CTRL_STR:129:pkey_gost_mac_ctrl_str
75 GOST_F_PKEY_GOST_MAC_KEYGEN_BASE:130:pkey_gost_mac_keygen_base
76 GOST_F_PKEY_GOST_MAC_SIGNCTX_INIT:131:pkey_gost_mac_signctx_init
77 GOST_F_PKEY_GOST_MAGMA_MAC_SIGNCTX_INIT:142:pkey_gost_magma_mac_signctx_init
78 GOST_F_PKEY_GOST_OMAC_CTRL:139:pkey_gost_omac_ctrl
79 GOST_F_PKEY_GOST_OMAC_CTRL_STR:140:pkey_gost_omac_ctrl_str
80 GOST_F_PRINT_GOST_EC_PUB:132:print_gost_ec_pub
81 GOST_F_PRIV_DECODE_GOST:133:priv_decode_gost
82 GOST_F_PUB_DECODE_GOST_EC:134:pub_decode_gost_ec
83 GOST_F_PUB_ENCODE_GOST_EC:135:pub_encode_gost_ec
84 GOST_F_UNPACK_CP_SIGNATURE:136:unpack_cp_signature
85 GOST_F_VKO_COMPUTE_KEY:137:VKO_compute_key
86
87 #Reason codes
88 GOST_R_BAD_KEY_PARAMETERS_FORMAT:100:bad key parameters format
89 GOST_R_BAD_MAC:133:bad mac
90 GOST_R_BAD_ORDER:132:bad order
91 GOST_R_BAD_PKEY_PARAMETERS_FORMAT:101:bad pkey parameters format
92 GOST_R_CANNOT_PACK_EPHEMERAL_KEY:102:cannot pack ephemeral key
93 GOST_R_CANNOT_UNPACK_EPHEMERAL_KEY:136:cannot unpack ephemeral key
94 GOST_R_CIPHER_NOT_FOUND:103:cipher not found
95 GOST_R_CTRL_CALL_FAILED:104:ctrl call failed
96 GOST_R_DATA_TOO_LARGE:141:data too large
97 GOST_R_ERROR_COMPUTING_EXPORT_KEYS:135:error computing export keys
98 GOST_R_ERROR_COMPUTING_SHARED_KEY:105:error computing shared key
99 GOST_R_ERROR_DECODING_PUBLIC_KEY:138:error decoding public key
100 GOST_R_ERROR_PARSING_KEY_TRANSPORT_INFO:106:error parsing key transport info
101 GOST_R_ERROR_POINT_MUL:107:error point mul
102 GOST_R_ERROR_SETTING_PEER_KEY:139:error setting peer key
103 GOST_R_INCOMPATIBLE_ALGORITHMS:108:incompatible algorithms
104 GOST_R_INCOMPATIBLE_PEER_KEY:109:incompatible peer key
105 GOST_R_INVALID_BUFFER_SIZE:140:invalid buffer size
106 GOST_R_INVALID_CIPHER:134:invalid cipher
107 GOST_R_INVALID_CIPHER_PARAMS:110:invalid cipher params
108 GOST_R_INVALID_CIPHER_PARAM_OID:111:invalid cipher param oid
109 GOST_R_INVALID_DIGEST_TYPE:112:invalid digest type
110 GOST_R_INVALID_IV_LENGTH:113:invalid iv length
111 GOST_R_INVALID_MAC_KEY_LENGTH:114:invalid mac key length
112 GOST_R_INVALID_MAC_KEY_SIZE:115:invalid mac key size
113 GOST_R_INVALID_MAC_PARAMS:116:invalid mac params
114 GOST_R_INVALID_MAC_SIZE:117:invalid mac size
115 GOST_R_INVALID_PARAMSET:118:invalid paramset
116 GOST_R_INVALID_TAG_LENGTH:142:invalid tag length
117 GOST_R_KEY_IS_NOT_INITIALIZED:119:key is not initialized
118 GOST_R_KEY_PARAMETERS_MISSING:120:key parameters missing
119 GOST_R_MAC_KEY_NOT_SET:121:mac key not set
120 GOST_R_NO_PARAMETERS_SET:122:no parameters set
121 GOST_R_NO_PEER_KEY:123:no peer key
122 GOST_R_NO_PRIVATE_PART_OF_NON_EPHEMERAL_KEYPAIR:124:\
123         no private part of non ephemeral keypair
124 GOST_R_PUBLIC_KEY_UNDEFINED:125:public key undefined
125 GOST_R_RNG_ERROR:126:rng error
126 GOST_R_SIGNATURE_MISMATCH:127:signature mismatch
127 GOST_R_SIGNATURE_PARTS_GREATER_THAN_Q:128:signature parts greater than q
128 GOST_R_UKM_NOT_SET:129:ukm not set
129 GOST_R_UNSUPPORTED_CIPHER_CTL_COMMAND:130:unsupported cipher ctl command
130 GOST_R_UNSUPPORTED_PARAMETER_SET:131:unsupported parameter set
131 GOST_R_UNSUPPORTED_RECIPIENT_INFO:137:unsupported recipient info