Lines Matching defs:cipher
72 if (c->cipher->set_asn1_parameters != NULL)
73 ret = c->cipher->set_asn1_parameters(c, type);
74 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
89 if (c->cipher->get_asn1_parameters != NULL)
90 ret = c->cipher->get_asn1_parameters(c, type);
91 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
130 /* Convert the various cipher NIDs and dummies to a proper OID NID */
197 return ctx->cipher->block_size;
203 return ctx->cipher->do_cipher(ctx, out, in, inl);
208 return ctx->cipher;
211 unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher)
215 fcipher = evp_get_fips_cipher(cipher);
217 return cipher->flags | EVP_CIPH_FLAG_FIPS;
219 return cipher->flags;
225 return EVP_CIPHER_flags(ctx->cipher);
227 return ctx->cipher->flags;
241 int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher)
243 return cipher->iv_len;
248 return ctx->cipher->iv_len;
251 int EVP_CIPHER_key_length(const EVP_CIPHER *cipher)
253 return cipher->key_len;
261 int EVP_CIPHER_nid(const EVP_CIPHER *cipher)
263 return cipher->nid;
268 return ctx->cipher->nid;
310 const EVP_CIPHER *evp_get_fips_cipher(const EVP_CIPHER *cipher)
312 int nid = cipher->nid;