Lines Matching refs:cipher
45 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
52 PROV_CIPHER cipher;
89 ossl_prov_cipher_reset(&ctx->cipher);
109 const EVP_CIPHER *cipher;
115 cipher = ossl_prov_cipher_cipher(&ctx->cipher);
116 if (cipher == NULL) {
128 engine = ossl_prov_cipher_engine(&ctx->cipher);
129 return KRB5KDF(cipher, engine, ctx->key, ctx->key_len,
143 if (!ossl_prov_cipher_load_from_params(&ctx->cipher, params, provctx))
174 const EVP_CIPHER *cipher;
178 cipher = ossl_prov_cipher_cipher(&ctx->cipher);
179 if (cipher)
180 len = EVP_CIPHER_get_key_length(cipher);
218 * input truncated to 21 bytes of the 24 produced by the cipher.
327 const EVP_CIPHER *cipher, ENGINE *engine,
332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL);
335 /* set the key len for the odd variable key len cipher */
345 * the cipher block size or we are passed a cipher that can cope with
346 * partial blocks via techniques like cipher text stealing */
355 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
375 if (EVP_CIPHER_get_nid(cipher) == NID_des_ede3_cbc &&
391 ret = cipher_init(ctx, cipher, engine, key, key_len);
431 /* we need to reinitialize cipher context per spec */
435 ret = cipher_init(ctx, cipher, engine, key, key_len);
451 if (EVP_CIPHER_get_nid(cipher) == NID_des_ede3_cbc && !des3_no_fixup) {