Coverage Report

Created: 2026-02-14 07:20

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/openssl/crypto/evp/e_xcbc_d.c
Line
Count
Source
1
/*
2
 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3
 *
4
 * Licensed under the Apache License 2.0 (the "License").  You may not use
5
 * this file except in compliance with the License.  You can obtain a copy
6
 * in the file LICENSE in the source distribution or at
7
 * https://www.openssl.org/source/license.html
8
 */
9
10
#include <openssl/macros.h>
11
12
#ifndef OPENSSL_NO_DES
13
#include "crypto/evp.h"
14
15
static const EVP_CIPHER d_xcbc_cipher = {
16
    NID_desx_cbc,
17
    8, 24, 8,
18
    EVP_CIPH_CBC_MODE,
19
    EVP_ORIG_GLOBAL
20
};
21
22
const EVP_CIPHER *EVP_desx_cbc(void)
23
165
{
24
165
    return &d_xcbc_cipher;
25
165
}
26
#else
27
NON_EMPTY_TRANSLATION_UNIT
28
#endif