version 1.65, 2003/05/17 04:27:52 |
version 1.66, 2003/11/10 16:23:41 |
|
|
/*--*/ |
/*--*/ |
|
|
u_int |
u_int |
cipher_blocksize(Cipher *c) |
cipher_blocksize(const Cipher *c) |
{ |
{ |
return (c->block_size); |
return (c->block_size); |
} |
} |
|
|
u_int |
u_int |
cipher_keylen(Cipher *c) |
cipher_keylen(const Cipher *c) |
{ |
{ |
return (c->key_len); |
return (c->key_len); |
} |
} |
|
|
u_int |
u_int |
cipher_get_number(Cipher *c) |
cipher_get_number(const Cipher *c) |
{ |
{ |
return (c->number); |
return (c->number); |
} |
} |
|
|
*/ |
*/ |
|
|
int |
int |
cipher_get_keyiv_len(CipherContext *cc) |
cipher_get_keyiv_len(const CipherContext *cc) |
{ |
{ |
Cipher *c = cc->cipher; |
Cipher *c = cc->cipher; |
int ivlen; |
int ivlen; |
|
|
#endif |
#endif |
|
|
int |
int |
cipher_get_keycontext(CipherContext *cc, u_char *dat) |
cipher_get_keycontext(const CipherContext *cc, u_char *dat) |
{ |
{ |
Cipher *c = cc->cipher; |
Cipher *c = cc->cipher; |
int plen = 0; |
int plen = 0; |