Lines Matching refs: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) {
100 if (c->cipher->get_asn1_parameters != NULL)
101 ret = c->cipher->get_asn1_parameters(c, type);
102 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
154 /* Convert the various cipher NIDs and dummies to a proper OID NID */
221 return ctx->cipher->block_size;
227 return ctx->cipher->do_cipher(ctx, out, in, inl);
232 return ctx->cipher;
235 unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher)
239 fcipher = evp_get_fips_cipher(cipher);
241 return cipher->flags | EVP_CIPH_FLAG_FIPS;
243 return cipher->flags;
249 return EVP_CIPHER_flags(ctx->cipher);
251 return ctx->cipher->flags;
265 int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher)
267 return cipher->iv_len;
272 return ctx->cipher->iv_len;
275 int EVP_CIPHER_key_length(const EVP_CIPHER *cipher)
277 return cipher->key_len;
285 int EVP_CIPHER_nid(const EVP_CIPHER *cipher)
287 return cipher->nid;
292 return ctx->cipher->nid;
334 const EVP_CIPHER *evp_get_fips_cipher(const EVP_CIPHER *cipher)
336 int nid = cipher->nid;