Skip to content

Commit 722edff

Browse files
krithikxbjayanax
authored andcommitted
Dockerfile version bump for v2.0.0
- Bumped the Dockerfile version reference to v2.0.0. - Removed unused header includes and obsolete structures from qat_prov_kmgmt_ec_utils.h. Signed-off-by: Krithika Kumaravelu <[email protected]> Co-authored-by: Jaya Naga Venkata Sudhakar <[email protected]>
1 parent 4660ff0 commit 722edff

File tree

3 files changed

+6
-60
lines changed

3 files changed

+6
-60
lines changed

dockerfiles/haproxy/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ FROM ${UBUNTU_BASE} AS builder
4040

4141
ARG OPENSSL_VERSION="openssl-3.0.16"
4242
ARG QATLIB_VERSION="24.02.0"
43-
ARG QAT_ENGINE_VERSION="v1.9.0"
43+
ARG QAT_ENGINE_VERSION="v2.0.0"
4444
ARG IPSEC_MB_VERSION="v2.0"
45-
ARG IPP_CRYPTO_VERSION="v1.1.0"
45+
ARG IPP_CRYPTO_VERSION="v1.2.0"
4646
ARG HAPROXY_VERSION="v2.8.0"
4747
ARG GID
4848
ENV DEBIAN_FRONTEND=noninteractive
@@ -160,7 +160,7 @@ COPY --from=builder /usr/local/lib/libqat.so.4.2.0 /usr/lib/
160160
COPY --from=builder /usr/local/lib/libusdm.so.0.1.0 /usr/lib/
161161
COPY --from=builder /usr/local/lib/libIPSec_MB.so.2.0.0 /usr/lib/x86_64-linux-gnu/
162162
COPY --from=builder /usr/local/lib64/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/
163-
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.1 /usr/lib/x86_64-linux-gnu/
163+
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.2 /usr/lib/x86_64-linux-gnu/
164164
COPY --from=builder /usr/local/bin/openssl /usr/bin/
165165
COPY --from=builder /usr/local/lib64/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so
166166
COPY --from=builder /etc/group /etc/group

dockerfiles/qat_crypto_base/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ FROM ${UBUNTU_BASE} AS builder
4040

4141
ARG OPENSSL_VERSION="openssl-3.0.16"
4242
ARG QATLIB_VERSION="24.02.0"
43-
ARG QAT_ENGINE_VERSION="v1.9.0"
43+
ARG QAT_ENGINE_VERSION="v2.0.0"
4444
ARG IPSEC_MB_VERSION="v2.0"
45-
ARG IPP_CRYPTO_VERSION="v1.1.0"
45+
ARG IPP_CRYPTO_VERSION="v1.2.0"
4646
ARG GID
4747
ENV DEBIAN_FRONTEND=noninteractive
4848

@@ -145,7 +145,7 @@ COPY --from=builder /usr/local/lib/libqat.so.4.2.0 /usr/lib/
145145
COPY --from=builder /usr/local/lib/libusdm.so.0.1.0 /usr/lib/
146146
COPY --from=builder /usr/local/lib/libIPSec_MB.so.2.0.0 /usr/lib/x86_64-linux-gnu/
147147
COPY --from=builder /usr/local/lib64/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/
148-
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.1 /usr/lib/x86_64-linux-gnu/
148+
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.2 /usr/lib/x86_64-linux-gnu/
149149
COPY --from=builder /usr/local/bin/openssl /usr/bin/
150150
COPY --from=builder /usr/local/lib64/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/
151151
COPY --from=builder /etc/group /etc/group

qat_prov_kmgmt_ec_utils.h

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
# define _GNU_SOURCE
5151
#endif
5252

53-
#include <openssl/engine.h>
54-
5553
#if defined(ENABLE_QAT_HW_ECDH) || defined(ENABLE_QAT_SW_ECDH)
5654
#define COPY_INT_PARAM(params, key, val) \
5755
p = OSSL_PARAM_locate_const(params, key); \
@@ -182,58 +180,6 @@ struct bignum_st {
182180
int flags;
183181
};
184182

185-
typedef void (*ENGINE_DYNAMIC_ID)(void);
186-
187-
/*
188-
* This is a structure for storing implementations of various crypto
189-
* algorithms and functions.
190-
*/
191-
struct engine_st {
192-
const char *id;
193-
const char *name;
194-
const RSA_METHOD *rsa_meth;
195-
const DSA_METHOD *dsa_meth;
196-
const DH_METHOD *dh_meth;
197-
const EC_KEY_METHOD *ec_meth;
198-
const RAND_METHOD *rand_meth;
199-
/* Cipher handling is via this callback */
200-
ENGINE_CIPHERS_PTR ciphers;
201-
/* Digest handling is via this callback */
202-
ENGINE_DIGESTS_PTR digests;
203-
/* Public key handling via this callback */
204-
ENGINE_PKEY_METHS_PTR pkey_meths;
205-
/* ASN1 public key handling via this callback */
206-
ENGINE_PKEY_ASN1_METHS_PTR pkey_asn1_meths;
207-
ENGINE_GEN_INT_FUNC_PTR destroy;
208-
ENGINE_GEN_INT_FUNC_PTR init;
209-
ENGINE_GEN_INT_FUNC_PTR finish;
210-
ENGINE_CTRL_FUNC_PTR ctrl;
211-
ENGINE_LOAD_KEY_PTR load_privkey;
212-
ENGINE_LOAD_KEY_PTR load_pubkey;
213-
ENGINE_SSL_CLIENT_CERT_PTR load_ssl_client_cert;
214-
const ENGINE_CMD_DEFN *cmd_defns;
215-
int flags;
216-
/* reference count on the structure itself */
217-
QAT_CRYPTO_REF_COUNT struct_ref;
218-
/*
219-
* reference count on usability of the engine type. NB: This controls the
220-
* loading and initialisation of any functionality required by this
221-
* engine, whereas the previous count is simply to cope with
222-
* (de)allocation of this structure. Hence, running_ref <= struct_ref at
223-
* all times.
224-
*/
225-
int funct_ref;
226-
/* A place to store per-ENGINE data */
227-
CRYPTO_EX_DATA ex_data;
228-
/* Used to maintain the linked-list of engines. */
229-
struct engine_st *prev;
230-
struct engine_st *next;
231-
/* Used to maintain the linked-list of dynamic engines. */
232-
struct engine_st *prev_dyn;
233-
struct engine_st *next_dyn;
234-
ENGINE_DYNAMIC_ID dynamic_id;
235-
};
236-
237183
/*
238184
* This prints the engine's pointer address, "struct" or "funct" to
239185
* indicate the reference type, the before and after reference count, and

0 commit comments

Comments
 (0)