From 0a833519d18bd57cfaee080567e24f69e49f24ba Mon Sep 17 00:00:00 2001 From: IgorA Date: Tue, 5 Mar 2013 10:14:38 +0000 Subject: [PATCH] 1) fix example 2) add documentation git-svn-id: svn://kolibrios.org@3330 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../crypt_des/example/crypt_files.asm | 10 +- .../libraries/crypt_des/trunk/about.htm | 104 ++++++++++++++++++ 2 files changed, 109 insertions(+), 5 deletions(-) create mode 100644 programs/develop/libraries/crypt_des/trunk/about.htm diff --git a/programs/develop/libraries/crypt_des/example/crypt_files.asm b/programs/develop/libraries/crypt_des/example/crypt_files.asm index 899d970642..b5c575a3cb 100644 --- a/programs/develop/libraries/crypt_des/example/crypt_files.asm +++ b/programs/develop/libraries/crypt_des/example/crypt_files.asm @@ -16,7 +16,7 @@ include '../../../../develop/libraries/box_lib/trunk/box_lib.mac' include '../../../../dll.inc' @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load -caption db '˜¨ä஢ ­¨¥  «£®à¨â¬®¬ DES 04.03.13',0 ;¯®¤¯¨áì ®ª­  +caption db '˜¨ä஢ ­¨¥  «£®à¨â¬®¬ DES 05.03.13',0 ;¯®¤¯¨áì ®ª­  struct FileInfoBlock Function dd ? @@ -136,8 +136,8 @@ pushad ; *** à¨á®¢ ­¨¥ £« ¢­®£® ®ª­  (¢ë¯®«­ï¥âáï 1 à § ¯à¨ § ¯ã᪥) *** xor eax,eax - mov ebx,(20 shl 16)+485 - mov ecx,(20 shl 16)+415 + mov ebx,(20 shl 16)+480 + mov ecx,(20 shl 16)+410 mov edx,[sc.work] or edx,(3 shl 24)+0x10000000+0x20000000 mov edi,caption @@ -275,7 +275,7 @@ but_open_file: je .end_open_file mov [open_file_size],ebx - add ebx,open_file + add ebx,dword[open_file] mov byte[ebx],0 ;­  á«ãç © ¥á«¨ à ­¥¥ ¡ë« ®âªàëâ ä ©« ¡®«ì襣® à §¬¥à  ç¨á⨬ ª®­¥æ ¡ãä¥à  á ä ©«®¬ mcall 71,1,openfile_path @@ -601,7 +601,7 @@ align 4 buf_0: dd 0 ;㪠§ â¥«ì ­  ¡ãä¥à ¨§®¡à ¦¥­¨ï dw 5 ;+4 left dw 31 ;+6 top -.w: dd 460 ;+8 w +.w: dd 456 ;+8 w .h: dd 350 ;+12 h .color: dd 0xffffd0 ;+16 color db 24 ;+20 bit in pixel diff --git a/programs/develop/libraries/crypt_des/trunk/about.htm b/programs/develop/libraries/crypt_des/trunk/about.htm new file mode 100644 index 0000000000..3640b9c360 --- /dev/null +++ b/programs/develop/libraries/crypt_des/trunk/about.htm @@ -0,0 +1,104 @@ + + +áèáëèîòåêà äëÿ øèôðîâàíèÿ ôàéëîâ ïî àëãîðèòìó DES + + + + + + +

Îãëàâëåíèå

+