| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gost89imit_ameth.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | static void | - |
| 6 | mackey_free_gost(EVP_PKEY *pk) | - |
| 7 | { | - |
| 8 | free(pk->pkey.ptr); | - |
| 9 | } executed 8 times by 1 test: end of blockExecuted by:
| 8 |
| 10 | - | |
| 11 | static int | - |
| 12 | mac_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2) | - |
| 13 | { | - |
| 14 | switch (op) { | - |
| 15 | case never executed: 0x3:case 0x3:never executed: case 0x3: | 0 |
| 16 | *(int *)arg2 = 815; | - |
| 17 | return never executed: 2;return 2;never executed: return 2; | 0 |
| 18 | } | - |
| 19 | return never executed: -2;return -2;never executed: return -2; | 0 |
| 20 | } | - |
| 21 | - | |
| 22 | const EVP_PKEY_ASN1_METHOD gostimit_asn1_meth = { | - |
| 23 | .pkey_id = 815, | - |
| 24 | .pkey_base_id = 815, | - |
| 25 | .pkey_flags = 0x4, | - |
| 26 | - | |
| 27 | .pem_str = "GOST-MAC", | - |
| 28 | .info = "GOST 28147-89 MAC", | - |
| 29 | - | |
| 30 | .pkey_free = mackey_free_gost, | - |
| 31 | .pkey_ctrl = mac_ctrl_gost, | - |
| 32 | }; | - |
| Switch to Source code | Preprocessed file |