Home | History | Annotate | Download | only in evp

Lines Matching refs:cipher

68 	if (c->cipher->set_asn1_parameters != NULL)
69 ret=c->cipher->set_asn1_parameters(c,type);
70 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1)
81 if (c->cipher->get_asn1_parameters != NULL)
82 ret=c->cipher->get_asn1_parameters(c,type);
83 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1)
122 /* Convert the various cipher NIDs and dummies to a proper OID NID */
188 return ctx->cipher->block_size;
193 return ctx->cipher->do_cipher(ctx,out,in,inl);
198 return ctx->cipher;
201 unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher)
203 return cipher->flags;
208 return ctx->cipher->flags;
221 int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher)
223 return cipher->iv_len;
228 return ctx->cipher->iv_len;
231 int EVP_CIPHER_key_length(const EVP_CIPHER *cipher)
233 return cipher->key_len;
241 int EVP_CIPHER_nid(const EVP_CIPHER *cipher)
243 return cipher->nid;
248 return ctx->cipher->nid;