svnno****@sourc*****
svnno****@sourc*****
2010年 4月 12日 (月) 21:20:19 JST
Revision: 3852 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3852 Author: doda Date: 2010-04-12 21:20:19 +0900 (Mon, 12 Apr 2010) Log Message: ----------- 使用していない関数を削除。 Modified Paths: -------------- trunk/ttssh2/ttxssh/cipher-ctr.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/cipher-ctr.c =================================================================== --- trunk/ttssh2/ttxssh/cipher-ctr.c 2010-04-12 10:18:10 UTC (rev 3851) +++ trunk/ttssh2/ttxssh/cipher-ctr.c 2010-04-12 12:20:19 UTC (rev 3852) @@ -119,18 +119,6 @@ return (1); } -void -ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, unsigned char * iv, unsigned int len) -{ - struct ssh_aes_ctr_ctx *c; - - if ((c = EVP_CIPHER_CTX_get_app_data(evp)) != NULL) - if(doset) - memcpy(c->aes_counter, iv, len); - else - memcpy(iv, c->aes_counter, len); -} - const EVP_CIPHER * evp_aes_128_ctr(void) {