7aa8c5bee779af59d4733f6a50f7f6be39f1eb43409e5b3357440f9a7d0ca115 include/openssl/ecerr.h
61c76ee3f12ed0e42503a56421ca00f1cb9a0f4caa5f9c4421c374bcd45917d7 include/openssl/encoder.h
69dd983f45b8ccd551f084796519446552963a18c52b70470d978b597c81b2dc include/openssl/encodererr.h
-e09078b3c2966e0f2fe18fb1370800942fb0e6e5c49cc02e6cdcce6a677faef0 include/openssl/engine.h
-fb510978001ebea15eee4c4c6cbeebb126a66e11117e6f6d9b9fb4be5057b92c include/openssl/engineerr.h
aa02455482d744418123266f581b9b4310ba678c7d28c10fffc5eec74ce3c8ef include/openssl/err.h.in
1b69b729f14255bb17c917b95692e1b1b8b2004b4d177754bc8a4e576a615e26 include/openssl/evp.h
b2a8058dd51abe6c1ac4a0f32175f550a308efd31607a9cf1620aa032b1f7e55 include/openssl/evperr.h
static OSSL_FUNC_kdf_gettable_ctx_params_fn krb5kdf_gettable_ctx_params;
static OSSL_FUNC_kdf_get_ctx_params_fn krb5kdf_get_ctx_params;
-static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
+static int KRB5KDF(const EVP_CIPHER *cipher,
const unsigned char *key, size_t key_len,
const unsigned char *constant, size_t constant_len,
unsigned char *okey, size_t okey_len);
{
KRB5KDF_CTX *ctx = (KRB5KDF_CTX *)vctx;
const EVP_CIPHER *cipher;
- ENGINE *engine = NULL;
if (!ossl_prov_is_running() || !krb5kdf_set_ctx_params(ctx, params))
return 0;
return 0;
}
- return KRB5KDF(cipher, engine, ctx->key, ctx->key_len,
+ return KRB5KDF(cipher, ctx->key, ctx->key_len,
ctx->constant, ctx->constant_len,
key, keylen);
}
}
}
-static int cipher_init(EVP_CIPHER_CTX *ctx,
- const EVP_CIPHER *cipher, ENGINE *engine,
+static int cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
const unsigned char *key, size_t key_len)
{
int klen, ret;
- ret = EVP_EncryptInit_ex(ctx, cipher, engine, NULL, NULL);
+ ret = EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL);
if (!ret)
goto out;
/* set the key len for the odd variable key len cipher */
return ret;
}
-static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
+static int KRB5KDF(const EVP_CIPHER *cipher,
const unsigned char *key, size_t key_len,
const unsigned char *constant, size_t constant_len,
unsigned char *okey, size_t okey_len)
if (ctx == NULL)
return 0;
- ret = cipher_init(ctx, cipher, engine, key, key_len);
+ ret = cipher_init(ctx, cipher, key, key_len);
if (!ret)
goto out;
ret = EVP_CIPHER_CTX_reset(ctx);
if (!ret)
goto out;
- ret = cipher_init(ctx, cipher, engine, key, key_len);
+ ret = cipher_init(ctx, cipher, key, key_len);
if (!ret)
goto out;