Hello.
I'm studying some parts of the OpenSSL code and I now have a question.
In ssl/ssl_locl.h, I'm wandering if the #define SSL_ENC_MASK is right.
Before the Camellia was added (0.9.8b), we had :
#define SSL_ENC_MASK 0x0*4*3F8000L
In 0.9.8c:
#define SSL_ENC_MASK 0x0*C*3F8000L
From 4 to C -> +8
I guess, that each time you add a new cipher, the SSL_ENC_MASK is +8.
I may guess wrong, please correct me so I can learn.
However, the SSL_ENC_MASK in 0.9.8f is 0x1C3F8000L because of the new
cipher which is SEED.
- I would have thought the new mask should have been 0x143F8000L since SEED.
- In the case I misunderstand and that the current mask is the good one,
what should the next one be ? 0x253F8000L or 0x2C3F8000L ?
Regards,
Grégory BELLIER.