diff options
author | tb <> | 2023-12-20 14:15:19 +0000 |
---|---|---|
committer | tb <> | 2023-12-20 14:15:19 +0000 |
commit | e5f75ebda0817555e654280a941bad4dfd170a5f (patch) | |
tree | f41e7de4cfa794def9cdee07f6fd8bc408f59b09 /src/lib | |
parent | 11652f2e9a7074f8d0fd65a49879620e3d088deb (diff) | |
download | openbsd-e5f75ebda0817555e654280a941bad4dfd170a5f.tar.gz openbsd-e5f75ebda0817555e654280a941bad4dfd170a5f.tar.bz2 openbsd-e5f75ebda0817555e654280a941bad4dfd170a5f.zip |
Rename impl into engine
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/evp/evp_enc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c index 2526106eb3..df3ede34a6 100644 --- a/src/lib/libcrypto/evp/evp_enc.c +++ b/src/lib/libcrypto/evp/evp_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_enc.c,v 1.72 2023/12/20 14:14:39 tb Exp $ */ | 1 | /* $OpenBSD: evp_enc.c,v 1.73 2023/12/20 14:15:19 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -78,7 +78,7 @@ EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, | |||
78 | } | 78 | } |
79 | 79 | ||
80 | int | 80 | int |
81 | EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, | 81 | EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, |
82 | const unsigned char *key, const unsigned char *iv, int enc) | 82 | const unsigned char *key, const unsigned char *iv, int enc) |
83 | { | 83 | { |
84 | if (enc == -1) | 84 | if (enc == -1) |
@@ -228,7 +228,7 @@ EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, | |||
228 | } | 228 | } |
229 | 229 | ||
230 | int | 230 | int |
231 | EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, | 231 | EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, |
232 | const unsigned char *key, const unsigned char *iv) | 232 | const unsigned char *key, const unsigned char *iv) |
233 | { | 233 | { |
234 | return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 1); | 234 | return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 1); |
@@ -242,7 +242,7 @@ EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, | |||
242 | } | 242 | } |
243 | 243 | ||
244 | int | 244 | int |
245 | EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, | 245 | EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, |
246 | const unsigned char *key, const unsigned char *iv) | 246 | const unsigned char *key, const unsigned char *iv) |
247 | { | 247 | { |
248 | return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 0); | 248 | return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 0); |