| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/c_all.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | static void | - |
| 7 | OpenSSL_add_all_ciphers_internal(void) | - |
| 8 | { | - |
| 9 | - | |
| 10 | EVP_add_cipher(EVP_des_cfb64()); | - |
| 11 | EVP_add_cipher(EVP_des_cfb1()); | - |
| 12 | EVP_add_cipher(EVP_des_cfb8()); | - |
| 13 | EVP_add_cipher(EVP_des_ede_cfb64()); | - |
| 14 | EVP_add_cipher(EVP_des_ede3_cfb64()); | - |
| 15 | EVP_add_cipher(EVP_des_ede3_cfb1()); | - |
| 16 | EVP_add_cipher(EVP_des_ede3_cfb8()); | - |
| 17 | - | |
| 18 | EVP_add_cipher(EVP_des_ofb()); | - |
| 19 | EVP_add_cipher(EVP_des_ede_ofb()); | - |
| 20 | EVP_add_cipher(EVP_des_ede3_ofb()); | - |
| 21 | - | |
| 22 | EVP_add_cipher(EVP_desx_cbc()); | - |
| 23 | OBJ_NAME_add(("DESX"),0x02|0x8000,("DESX-CBC")); | - |
| 24 | OBJ_NAME_add(("desx"),0x02|0x8000,("DESX-CBC")); | - |
| 25 | - | |
| 26 | EVP_add_cipher(EVP_des_cbc()); | - |
| 27 | OBJ_NAME_add(("DES"),0x02|0x8000,("DES-CBC")); | - |
| 28 | OBJ_NAME_add(("des"),0x02|0x8000,("DES-CBC")); | - |
| 29 | EVP_add_cipher(EVP_des_ede_cbc()); | - |
| 30 | EVP_add_cipher(EVP_des_ede3_cbc()); | - |
| 31 | OBJ_NAME_add(("DES3"),0x02|0x8000,("DES-EDE3-CBC")); | - |
| 32 | OBJ_NAME_add(("des3"),0x02|0x8000,("DES-EDE3-CBC")); | - |
| 33 | - | |
| 34 | EVP_add_cipher(EVP_des_ecb()); | - |
| 35 | EVP_add_cipher(EVP_des_ede()); | - |
| 36 | EVP_add_cipher(EVP_des_ede3()); | - |
| 37 | - | |
| 38 | - | |
| 39 | - | |
| 40 | EVP_add_cipher(EVP_rc4()); | - |
| 41 | EVP_add_cipher(EVP_rc4_40()); | - |
| 42 | - | |
| 43 | EVP_add_cipher(EVP_rc4_hmac_md5()); | - |
| 44 | - | |
| 45 | - | |
| 46 | - | |
| 47 | - | |
| 48 | EVP_add_cipher(EVP_idea_ecb()); | - |
| 49 | EVP_add_cipher(EVP_idea_cfb64()); | - |
| 50 | EVP_add_cipher(EVP_idea_ofb()); | - |
| 51 | EVP_add_cipher(EVP_idea_cbc()); | - |
| 52 | OBJ_NAME_add(("IDEA"),0x02|0x8000,("IDEA-CBC")); | - |
| 53 | OBJ_NAME_add(("idea"),0x02|0x8000,("IDEA-CBC")); | - |
| 54 | - | |
| 55 | - | |
| 56 | - | |
| 57 | EVP_add_cipher(EVP_rc2_ecb()); | - |
| 58 | EVP_add_cipher(EVP_rc2_cfb64()); | - |
| 59 | EVP_add_cipher(EVP_rc2_ofb()); | - |
| 60 | EVP_add_cipher(EVP_rc2_cbc()); | - |
| 61 | EVP_add_cipher(EVP_rc2_40_cbc()); | - |
| 62 | EVP_add_cipher(EVP_rc2_64_cbc()); | - |
| 63 | OBJ_NAME_add(("RC2"),0x02|0x8000,("RC2-CBC")); | - |
| 64 | OBJ_NAME_add(("rc2"),0x02|0x8000,("RC2-CBC")); | - |
| 65 | - | |
| 66 | - | |
| 67 | - | |
| 68 | EVP_add_cipher(EVP_bf_ecb()); | - |
| 69 | EVP_add_cipher(EVP_bf_cfb64()); | - |
| 70 | EVP_add_cipher(EVP_bf_ofb()); | - |
| 71 | EVP_add_cipher(EVP_bf_cbc()); | - |
| 72 | OBJ_NAME_add(("BF"),0x02|0x8000,("BF-CBC")); | - |
| 73 | OBJ_NAME_add(("bf"),0x02|0x8000,("BF-CBC")); | - |
| 74 | OBJ_NAME_add(("blowfish"),0x02|0x8000,("BF-CBC")); | - |
| 75 | - | |
| 76 | - | |
| 77 | - | |
| 78 | EVP_add_cipher(EVP_cast5_ecb()); | - |
| 79 | EVP_add_cipher(EVP_cast5_cfb64()); | - |
| 80 | EVP_add_cipher(EVP_cast5_ofb()); | - |
| 81 | EVP_add_cipher(EVP_cast5_cbc()); | - |
| 82 | OBJ_NAME_add(("CAST"),0x02|0x8000,("CAST5-CBC")); | - |
| 83 | OBJ_NAME_add(("cast"),0x02|0x8000,("CAST5-CBC")); | - |
| 84 | OBJ_NAME_add(("CAST-cbc"),0x02|0x8000,("CAST5-CBC")); | - |
| 85 | OBJ_NAME_add(("cast-cbc"),0x02|0x8000,("CAST5-CBC")); | - |
| 86 | - | |
| 87 | - | |
| 88 | - | |
| 89 | EVP_add_cipher(EVP_aes_128_ecb()); | - |
| 90 | EVP_add_cipher(EVP_aes_128_cbc()); | - |
| 91 | EVP_add_cipher(EVP_aes_128_cfb128()); | - |
| 92 | EVP_add_cipher(EVP_aes_128_cfb1()); | - |
| 93 | EVP_add_cipher(EVP_aes_128_cfb8()); | - |
| 94 | EVP_add_cipher(EVP_aes_128_ofb()); | - |
| 95 | EVP_add_cipher(EVP_aes_128_ctr()); | - |
| 96 | EVP_add_cipher(EVP_aes_128_gcm()); | - |
| 97 | EVP_add_cipher(EVP_aes_128_xts()); | - |
| 98 | OBJ_NAME_add(("AES128"),0x02|0x8000,("AES-128-CBC")); | - |
| 99 | OBJ_NAME_add(("aes128"),0x02|0x8000,("AES-128-CBC")); | - |
| 100 | EVP_add_cipher(EVP_aes_192_ecb()); | - |
| 101 | EVP_add_cipher(EVP_aes_192_cbc()); | - |
| 102 | EVP_add_cipher(EVP_aes_192_cfb128()); | - |
| 103 | EVP_add_cipher(EVP_aes_192_cfb1()); | - |
| 104 | EVP_add_cipher(EVP_aes_192_cfb8()); | - |
| 105 | EVP_add_cipher(EVP_aes_192_ofb()); | - |
| 106 | EVP_add_cipher(EVP_aes_192_ctr()); | - |
| 107 | EVP_add_cipher(EVP_aes_192_gcm()); | - |
| 108 | OBJ_NAME_add(("AES192"),0x02|0x8000,("AES-192-CBC")); | - |
| 109 | OBJ_NAME_add(("aes192"),0x02|0x8000,("AES-192-CBC")); | - |
| 110 | EVP_add_cipher(EVP_aes_256_ecb()); | - |
| 111 | EVP_add_cipher(EVP_aes_256_cbc()); | - |
| 112 | EVP_add_cipher(EVP_aes_256_cfb128()); | - |
| 113 | EVP_add_cipher(EVP_aes_256_cfb1()); | - |
| 114 | EVP_add_cipher(EVP_aes_256_cfb8()); | - |
| 115 | EVP_add_cipher(EVP_aes_256_ofb()); | - |
| 116 | EVP_add_cipher(EVP_aes_256_ctr()); | - |
| 117 | EVP_add_cipher(EVP_aes_256_gcm()); | - |
| 118 | EVP_add_cipher(EVP_aes_256_xts()); | - |
| 119 | OBJ_NAME_add(("AES256"),0x02|0x8000,("AES-256-CBC")); | - |
| 120 | OBJ_NAME_add(("aes256"),0x02|0x8000,("AES-256-CBC")); | - |
| 121 | - | |
| 122 | EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1()); | - |
| 123 | EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1()); | - |
| 124 | - | |
| 125 | - | |
| 126 | - | |
| 127 | - | |
| 128 | EVP_add_cipher(EVP_camellia_128_ecb()); | - |
| 129 | EVP_add_cipher(EVP_camellia_128_cbc()); | - |
| 130 | EVP_add_cipher(EVP_camellia_128_cfb128()); | - |
| 131 | EVP_add_cipher(EVP_camellia_128_cfb1()); | - |
| 132 | EVP_add_cipher(EVP_camellia_128_cfb8()); | - |
| 133 | EVP_add_cipher(EVP_camellia_128_ofb()); | - |
| 134 | OBJ_NAME_add(("CAMELLIA128"),0x02|0x8000,("CAMELLIA-128-CBC")); | - |
| 135 | OBJ_NAME_add(("camellia128"),0x02|0x8000,("CAMELLIA-128-CBC")); | - |
| 136 | EVP_add_cipher(EVP_camellia_192_ecb()); | - |
| 137 | EVP_add_cipher(EVP_camellia_192_cbc()); | - |
| 138 | EVP_add_cipher(EVP_camellia_192_cfb128()); | - |
| 139 | EVP_add_cipher(EVP_camellia_192_cfb1()); | - |
| 140 | EVP_add_cipher(EVP_camellia_192_cfb8()); | - |
| 141 | EVP_add_cipher(EVP_camellia_192_ofb()); | - |
| 142 | OBJ_NAME_add(("CAMELLIA192"),0x02|0x8000,("CAMELLIA-192-CBC")); | - |
| 143 | OBJ_NAME_add(("camellia192"),0x02|0x8000,("CAMELLIA-192-CBC")); | - |
| 144 | EVP_add_cipher(EVP_camellia_256_ecb()); | - |
| 145 | EVP_add_cipher(EVP_camellia_256_cbc()); | - |
| 146 | EVP_add_cipher(EVP_camellia_256_cfb128()); | - |
| 147 | EVP_add_cipher(EVP_camellia_256_cfb1()); | - |
| 148 | EVP_add_cipher(EVP_camellia_256_cfb8()); | - |
| 149 | EVP_add_cipher(EVP_camellia_256_ofb()); | - |
| 150 | OBJ_NAME_add(("CAMELLIA256"),0x02|0x8000,("CAMELLIA-256-CBC")); | - |
| 151 | OBJ_NAME_add(("camellia256"),0x02|0x8000,("CAMELLIA-256-CBC")); | - |
| 152 | - | |
| 153 | - | |
| 154 | - | |
| 155 | EVP_add_cipher(EVP_chacha20()); | - |
| 156 | - | |
| 157 | - | |
| 158 | - | |
| 159 | EVP_add_cipher(EVP_gost2814789_ecb()); | - |
| 160 | EVP_add_cipher(EVP_gost2814789_cfb64()); | - |
| 161 | EVP_add_cipher(EVP_gost2814789_cnt()); | - |
| 162 | - | |
| 163 | } executed 292 times by 33 tests: end of blockExecuted by:
| 292 |
| 164 | - | |
| 165 | void | - |
| 166 | OpenSSL_add_all_ciphers(void) | - |
| 167 | { | - |
| 168 | static pthread_once_t add_all_ciphers_once = | - |
| 169 | 0 | - |
| 170 | ; | - |
| 171 | (void) pthread_once(&add_all_ciphers_once, OpenSSL_add_all_ciphers_internal); | - |
| 172 | } executed 506 times by 33 tests: end of blockExecuted by:
| 506 |
| 173 | - | |
| 174 | static void | - |
| 175 | OpenSSL_add_all_digests_internal(void) | - |
| 176 | { | - |
| 177 | - | |
| 178 | EVP_add_digest(EVP_md4()); | - |
| 179 | - | |
| 180 | - | |
| 181 | - | |
| 182 | EVP_add_digest(EVP_md5()); | - |
| 183 | EVP_add_digest(EVP_md5_sha1()); | - |
| 184 | OBJ_NAME_add(("ssl2-md5"),0x01|0x8000,("MD5")); | - |
| 185 | OBJ_NAME_add(("ssl3-md5"),0x01|0x8000,("MD5")); | - |
| 186 | - | |
| 187 | - | |
| 188 | - | |
| 189 | - | |
| 190 | EVP_add_digest(EVP_dss()); | - |
| 191 | - | |
| 192 | - | |
| 193 | - | |
| 194 | EVP_add_digest(EVP_sha1()); | - |
| 195 | OBJ_NAME_add(("ssl3-sha1"),0x01|0x8000,("SHA1")); | - |
| 196 | OBJ_NAME_add(("RSA-SHA1-2"),0x01|0x8000,("RSA-SHA1")); | - |
| 197 | - | |
| 198 | EVP_add_digest(EVP_dss1()); | - |
| 199 | OBJ_NAME_add(("DSA-SHA1-old"),0x01|0x8000,("DSA-SHA1")); | - |
| 200 | OBJ_NAME_add(("DSS1"),0x01|0x8000,("DSA-SHA1")); | - |
| 201 | OBJ_NAME_add(("dss1"),0x01|0x8000,("DSA-SHA1")); | - |
| 202 | - | |
| 203 | - | |
| 204 | EVP_add_digest(EVP_ecdsa()); | - |
| 205 | - | |
| 206 | - | |
| 207 | - | |
| 208 | - | |
| 209 | EVP_add_digest(EVP_gostr341194()); | - |
| 210 | EVP_add_digest(EVP_gost2814789imit()); | - |
| 211 | EVP_add_digest(EVP_streebog256()); | - |
| 212 | EVP_add_digest(EVP_streebog512()); | - |
| 213 | - | |
| 214 | - | |
| 215 | EVP_add_digest(EVP_ripemd160()); | - |
| 216 | OBJ_NAME_add(("ripemd"),0x01|0x8000,("RIPEMD160")); | - |
| 217 | OBJ_NAME_add(("rmd160"),0x01|0x8000,("RIPEMD160")); | - |
| 218 | - | |
| 219 | - | |
| 220 | EVP_add_digest(EVP_sha224()); | - |
| 221 | EVP_add_digest(EVP_sha256()); | - |
| 222 | - | |
| 223 | - | |
| 224 | EVP_add_digest(EVP_sha384()); | - |
| 225 | EVP_add_digest(EVP_sha512()); | - |
| 226 | - | |
| 227 | - | |
| 228 | EVP_add_digest(EVP_whirlpool()); | - |
| 229 | - | |
| 230 | } executed 292 times by 33 tests: end of blockExecuted by:
| 292 |
| 231 | - | |
| 232 | void | - |
| 233 | OpenSSL_add_all_digests(void) | - |
| 234 | { | - |
| 235 | static pthread_once_t add_all_digests_once = | - |
| 236 | 0 | - |
| 237 | ; | - |
| 238 | (void) pthread_once(&add_all_digests_once, OpenSSL_add_all_digests_internal); | - |
| 239 | } executed 507 times by 33 tests: end of blockExecuted by:
| 507 |
| 240 | - | |
| 241 | void | - |
| 242 | OPENSSL_add_all_algorithms_noconf(void) | - |
| 243 | { | - |
| 244 | OPENSSL_cpuid_setup(); | - |
| 245 | OpenSSL_add_all_ciphers(); | - |
| 246 | OpenSSL_add_all_digests(); | - |
| 247 | } executed 215 times by 5 tests: end of blockExecuted by:
| 215 |
| 248 | - | |
| 249 | void | - |
| 250 | OPENSSL_add_all_algorithms_conf(void) | - |
| 251 | { | - |
| 252 | OPENSSL_add_all_algorithms_noconf(); | - |
| 253 | OPENSSL_config( | - |
| 254 | ((void *)0) | - |
| 255 | ); | - |
| 256 | } never executed: end of block | 0 |
| Switch to Source code | Preprocessed file |