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

void des3_set2key_enc ( des3_context ctx,
unsigned char  key[16] 

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

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

Definition at line 409 of file des.c.

References des3_context::sk.

    unsigned long sk[96];

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

Generated by  Doxygen 1.6.0   Back to index