On September 13, 2004 10:04 am, Steve Hay wrote:
> The above seems to work OK after a quick test, but why does one need
>
> EVP_CIPHER cipher = *EVP_bf_cbc();
> cipher.key_len = ...
>
> rather than
>
> EVP_CIPHER *cipher = (EVP_CIPHER *)EVP_bf_cbc();
> cipher->key_len = ...
>
> ?
B
Dr. Stephen Henson wrote:
>On Mon, Sep 13, 2004, Steve Hay wrote:
>
>
>>So now I'm back to square one: How do I do PKCS#5 key derivation using a
>>non-default key length?
>>
>>
>>
>
>Urk, yes you are right. There isn't a way to set the key length in
>PKCS5_pbe2_set().
>
>OK, I'd hoped to av
On Mon, Sep 13, 2004, Steve Hay wrote:
> Dr. Stephen Henson wrote:
>
> OK, I tried that and it works very well.
>
> However, as the attached program shows, it now turns out that this has
> all been a waste of time. If you recall what my original problem was
> (namely, EVP_BytesToKey() only su
Dr. Stephen Henson wrote:
>On Fri, Sep 10, 2004, Dr. Stephen Henson wrote:
>
>
>
>>On Fri, Sep 10, 2004, Steve Hay wrote:
>>
>>
>>
>>>As an alternative to my luckless attempts at using
>>>EVP_CIPHER_param_to_asn1() + PKCS5_v2_PBE_keyivgen(), I thought I would
>>>try PKCS5_pbe2_set() + EVP_