Logo Search packages:      
Sourcecode: uif2iso version File versions  Download package

void des3_set2key_dec ( des3_context ctx,
unsigned char  key[16] 
)

Triple-DES key schedule (112-bit, decryption).

Parameters:
ctx 3DES context to be initialized
key 16-byte secret key

Definition at line 420 of file des.c.

References des3_context::sk.

{
    unsigned long sk[96];

    des3_set2key( sk, ctx->sk, key );
    memset( sk,  0, sizeof( sk ) );
}


Generated by  Doxygen 1.6.0   Back to index