Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÄÚºËcryto½Ó¿ÚµÄʵÏÖÒÔ¼°ÓëopensslµÄ±È½Ï

linuxÄÚºËʵÏÖÁËcrypto½Ó¿Ú£¬ÓÃÓÚÀàËÆIPSecÖ®ÀàÒªÔÚÄÚºËÖÐʵÏÖµÄÓë²Ù×÷ϵͳ°ó¶¨µÄ°²È«»úÖÆ£¬Èç¹û²»ÊÇÓÃÓÚÕâÑùµÄ»úÖÆ£¬²»ÒªÊ¹ÓÃÄÚºËÖеÄcrypto½Ó¿Ú£¬×ܵÄÀ´Ëµ£¬linuxµÄcryptoÖÐ×îÖØÒªµÄ½á¹¹ÌåÓÐÁ½¸ö£ºcrypto_tfmºÍcrypto_alg
struct crypto_tfm {
    u32 crt_flags;
    union {
        struct cipher_tfm cipher;
        struct digest_tfm digest;
        struct compress_tfm compress;
    } crt_u; //¸ÃÁªºÏÌåÖ¸³ölinuxʵÏÖÁËcipher£¬digestºÍcompressÈýÀàËã·¨£¬Ã¿Ò»ÀàÖÐÓÐÐí¶àÖÖËã·¨£¬×¢ÒâÕâ¸öÁªºÏµÄÿһ¸ö¶¼½ö½öʵÏÖÁËÒ»´óÀàËã·¨µÄʵÏÖ·â×°£¬²¢²»ÊǾßÌåµÄʵÏÖ¡£
    struct crypto_alg *__crt_alg;
    char __crt_ctx[] __attribute__ ((__aligned__));
};
ÏÂÃæÕâ¸ö½á¹¹Ìå²ÅÊǾßÌåËã·¨µÄʵÏÖ£¬ÉÏÃæcrypto_tfmÖеÄcrt_uÖÐһϵÁк¯Êý¶¼ÊǶÔÏÂÃæ½á¹¹ÌåÖÐcra_uÖÐһϵÁк¯ÊýµÄ·â×°£º
struct crypto_alg {
    struct list_head cra_list;
    u32 cra_flags;  //Õâ¸öflagsºÜÖØÒª
    unsigned int cra_blocksize;
    unsigned int cra_ctxsize;
    unsigned int cra_alignmask;
    int cra_priority;
    char cra_name[CRYPTO_MAX_ALG_NAME];
    char cra_driver_name[CRYPTO_MAX_ALG_NAME];
    union {
        struct cipher_alg cipher;
        struct digest_alg digest;
        struct compress_alg compress;
    } cra_u;
    int (*cra_init)(struct crypto_tfm *tfm);
    void (*cra_exit)(struct crypto_tfm *tfm);
    struct module *cra_module;
};
ÉÏÃæµÄÁ½¸ö½á¹¹Öж¼ÓÐÒ»¸öÁªºÏÌ壬ÊÂʵÉÏÿ¸öÁªºÏÌå×ֶζ¼ÊÇÒ»¸öÍêÕûµÄË㷨ʵÏÖ£¬¶øÇÒÈý¸öËã·¨ÀàÐͼ¸ºõûÓÐÈκι²Í¬µã¿ÉÑÔ£¬¶ÔÓÚÕªÒªÀàËã·¨À´Ëµ£¬»Øµ÷º¯ÊýÊÇinit£¬update£¬finalµÈ£¬¶ø¶ÔÓÚcipher¶øÑÔ£¬¾ÍÊÇencryptºÍdecryptµÈ£¬linuxʵ¼ÊÉÏÊÇÀûÓÃÁªºÏ


Ïà¹ØÎĵµ£º

Windows£¬LinuxÆô¶¯»úÖƼò½é


Ç°ÑÔ
±¾ÎÄÄÚÈÝÖ»¼¯ÖÐÔÚ²Ù×÷ϵͳÆô¶¯Ô­ÀíµÄ½²½âÉÏ£¬²»Éæ¼°Æô¶¯µÄ¼¼Êõϸ½Ú£¬ÒòΪÕâЩϸ½Ú¶¼¿ÉÒÔͨ¹ýÍøÂç»òÕßÏà¹Ø´úÂëÁ˽⡣ֻÓÐÁ˽âÁËÆô¶¯Ô­Àí£¬²ÅÄÜÔÚ·ÖÎöºÍ½â¾öÓйØÆô¶¯µÄÎÊÌâʱ¾ßÓÐÕë¶ÔÐÔ£¬²»»áÓÐÎÞ´ÓÏÂÊֵĸоõ¡£ÏÞÓÚ×÷Õß¾­ÑéµÄÔ­Òò£¬±¾ÎÄÄÚÈÝÖ»Éæ¼°¹ØÓÚ
Windows
ºÍ
Linux
ϵͳµÄÆô¶¯¹ý³Ì¡£
 
 
Æô¶¯ ......

Linux ÏÂFortran¶àÎļþ±àÒë

×î½üÐèÒªÔÚLinuxϵͳϱàÒë¶à¸öFortran³ÌÐò£¬ÔÚÍøÉÏËÑË÷ÁËһϣ¬µ«ÊÇ×ÊÁϲ»¶à£¬Ò²ÐíÒòΪÕâ¸öÎÊÌâ±È½Ï¼òµ¥£¬²»ÖµÒ»Ìᣬµ«»¹ÊÇ°ÑÎÒÖªµÀµÄ
д³öÀ´£¬¹©´ó¼Ò²Î¿¼£º
¡¡¡¡·½·¨Ò»£º
¡¡¡¡¼ÙÈçÏÖÔÚÓÐÁ½¸öFortran³ÌÐòfun.f90ºÍmain.f90£¬ÆäÖÐ
main.f90ÊÇÖ÷³ÌÐò£¬fun.f90ÊÇÔÚÖ÷³ÌÐòÖе÷ÓõÄ×Ó³ÌÐò£¬½«ÕâÁ½¸öÎļþ·Åµ½Ò»¸öĿ¼Ï£¬Ê¹ ......

linux ÏÂѹËõ¡¢½âѹ ´ò°üÃüÁî

ZZ ×Ôhttp://dev.firnow.com/course/6_system/linux/Linuxjs/200896/139627.html     
      .tar
¡¡¡¡½â°ü£º tar xvf FileName.tar
¡¡¡¡´ò°ü£ºtar cvf FileName.tar DirName
¡¡
¡¡£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
¡¡¡¡--------------------------------------------- ......

linuxµÄ´¥ÃþÆÁÖ®Î壺֡»º³åÉ豸ÉϽÏ×¼½çÃæµÄÅäÖÃ

£¨1£©Ö¡»º³åÉ豸¸úTTYµÄ¹Øϵ¡£ÐèÒª¹Ø×¢tty¸úÖ¡»º³åÉ豸µÄ¹Øϵ£¬Ò»°ãÇé¿öÏÂÖ¡»º³åÉ豸ÊÇ¿ÉÒÔ¶ÀÁ¢²Ù×÷µÄ£¬µ«ÊÇÈç¹ûΪÁ˱£Ö¤µ¥¶ÀÕ¼Óò»±»ÇÀÕ¼£¬Ëƺõ»¹Òª¹ØÁªÒ»¸öttyÖնˡ£ÕâÀïÓõÄÊÇÐéÖÕ¶ËVT¡£
      ÐéÖնˣ¬Ò²½ÐÐéÆÁ£¬ËüµÄÓ¢ÎÄÃû×ÖΪvirtual terminal,ËõдΪVT»òvt¡£ÔÚUnixϵͳÓû§ÖУ¬ÐéÖÕ¶ËÓÐ×Å ......

Ïê½âUnix/Linux ShellµÄÊäÈëÊä³ö

      ShellµÄI/OÓï·¨ÄÑÒÔÀí½â£¬¸üÄÑÒÔÕýȷʹÓá£ShellµÄÊäÈëÊä³öÓï·¨ÓÐÁ½¸öÄѵ㣺Öض¨ÏòºÍÎļþÃèÊö·û¡£ÎÒÒÔÇ°¶ÔShell I/OµÄÀí½âÒ²ÓдíÎó¡£×î½üÖØÐÂÕûÀí˼·£¬¾ö¶¨Ð´Ò»ÆªÎÄÕÂÀ´×ܽáI/OÖض¨Ïò¡£
      ÏȽéÉܼ¸¸ö»ù±¾¸ÅÄî:
1£©Îļþ(File)£ºÔÚUnix/LinuxÖУ¬ÎļþÀàÐÍÓÐÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ