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

void des3_set3key_enc ( des3_context ctx,
unsigned char  key[24] 
)

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

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

Definition at line 454 of file des.c.

References des3_context::sk.

{
    unsigned long sk[96];

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


Generated by  Doxygen 1.6.0   Back to index