| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_null.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | - | ||||||
| 4 | const unsigned char *iv, int enc); | - | ||||||
| 5 | static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, | - | ||||||
| 6 | const unsigned char *in, size_t inl); | - | ||||||
| 7 | static const EVP_CIPHER n_cipher = { | - | ||||||
| 8 | 0, | - | ||||||
| 9 | 1, 0, 0, 0, | - | ||||||
| 10 | null_init_key, | - | ||||||
| 11 | null_cipher, | - | ||||||
| 12 | - | |||||||
| 13 | ((void *)0) | - | ||||||
| 14 | , | - | ||||||
| 15 | 0, | - | ||||||
| 16 | - | |||||||
| 17 | ((void *)0) | - | ||||||
| 18 | , | - | ||||||
| 19 | - | |||||||
| 20 | ((void *)0) | - | ||||||
| 21 | , | - | ||||||
| 22 | - | |||||||
| 23 | ((void *)0) | - | ||||||
| 24 | , | - | ||||||
| 25 | - | |||||||
| 26 | ((void *)0) | - | ||||||
| 27 | - | |||||||
| 28 | }; | - | ||||||
| 29 | - | |||||||
| 30 | const EVP_CIPHER *EVP_enc_null(void) | - | ||||||
| 31 | { | - | ||||||
| 32 | return executed 51 times by 1 test: &n_cipher;return &n_cipher;Executed by:
executed 51 times by 1 test: return &n_cipher;Executed by:
| 51 | ||||||
| 33 | } | - | ||||||
| 34 | - | |||||||
| 35 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | - | ||||||
| 36 | const unsigned char *iv, int enc) | - | ||||||
| 37 | { | - | ||||||
| 38 | return executed 79 times by 1 test: 1;return 1;Executed by:
executed 79 times by 1 test: return 1;Executed by:
| 79 | ||||||
| 39 | } | - | ||||||
| 40 | - | |||||||
| 41 | static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, | - | ||||||
| 42 | const unsigned char *in, size_t inl) | - | ||||||
| 43 | { | - | ||||||
| 44 | if (in != out
| 0-275 | ||||||
| 45 | memcpy(out, in, inl); never executed: memcpy(out, in, inl); | 0 | ||||||
| 46 | return executed 275 times by 1 test: 1;return 1;Executed by:
executed 275 times by 1 test: return 1;Executed by:
| 275 | ||||||
| 47 | } | - | ||||||
| Switch to Source code | Preprocessed file |