Dimitrios Siganos wrote:
> After sending the email, I realised what's happening...
> crypto_cipher_setkey seems to be used that way only when a child cipher
> is used by another (parent) cipher as a way to delegate work.
>
> It seems that crypto_cipher_setkey accepts a number of request flags
rrect me, if I am wrong.
Dimitris
Dimitrios Siganos wrote:
Hi,
Could someone explain what the masks CRYPTO_TFM_REQ_MASK and
CRYPTO_TFM_RES_MASK do and why they must be manipulated before and
after crypto_cipher_setkey(...)?
Here is an example use (from crypto_pcbc_s
Hi,
Could someone explain what the masks CRYPTO_TFM_REQ_MASK and
CRYPTO_TFM_RES_MASK do and why they must be manipulated before and after
crypto_cipher_setkey(...)?
Here is an example use (from crypto_pcbc_setkey):
crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK