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
ϵͳµÄÆô¶¯¹ý³Ì¡£
Æô¶¯ ......
×î½üÐèÒªÔÚLinuxϵͳϱàÒë¶à¸öFortran³ÌÐò£¬ÔÚÍøÉÏËÑË÷ÁËһϣ¬µ«ÊÇ×ÊÁϲ»¶à£¬Ò²ÐíÒòΪÕâ¸öÎÊÌâ±È½Ï¼òµ¥£¬²»ÖµÒ»Ìᣬµ«»¹ÊÇ°ÑÎÒÖªµÀµÄ
д³öÀ´£¬¹©´ó¼Ò²Î¿¼£º
¡¡¡¡·½·¨Ò»£º
¡¡¡¡¼ÙÈçÏÖÔÚÓÐÁ½¸öFortran³ÌÐòfun.f90ºÍmain.f90£¬ÆäÖÐ
main.f90ÊÇÖ÷³ÌÐò£¬fun.f90ÊÇÔÚÖ÷³ÌÐòÖе÷ÓõÄ×Ó³ÌÐò£¬½«ÕâÁ½¸öÎļþ·Åµ½Ò»¸öĿ¼Ï£¬Ê¹ ......
ZZ ×Ôhttp://dev.firnow.com/course/6_system/linux/Linuxjs/200896/139627.html
.tar
¡¡¡¡½â°ü£º tar xvf FileName.tar
¡¡¡¡´ò°ü£ºtar cvf FileName.tar DirName
¡¡
¡¡£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
¡¡¡¡---------------------------------------------
......
£¨1£©Ö¡»º³åÉ豸¸úTTYµÄ¹Øϵ¡£ÐèÒª¹Ø×¢tty¸úÖ¡»º³åÉ豸µÄ¹Øϵ£¬Ò»°ãÇé¿öÏÂÖ¡»º³åÉ豸ÊÇ¿ÉÒÔ¶ÀÁ¢²Ù×÷µÄ£¬µ«ÊÇÈç¹ûΪÁ˱£Ö¤µ¥¶ÀÕ¼Óò»±»ÇÀÕ¼£¬Ëƺõ»¹Òª¹ØÁªÒ»¸öttyÖնˡ£ÕâÀïÓõÄÊÇÐéÖÕ¶ËVT¡£
ÐéÖնˣ¬Ò²½ÐÐéÆÁ£¬ËüµÄÓ¢ÎÄÃû×ÖΪvirtual terminal,ËõдΪVT»òvt¡£ÔÚUnixϵͳÓû§ÖУ¬ÐéÖÕ¶ËÓÐ×Å ......
ShellµÄI/OÓï·¨ÄÑÒÔÀí½â£¬¸üÄÑÒÔÕýȷʹÓá£ShellµÄÊäÈëÊä³öÓï·¨ÓÐÁ½¸öÄѵ㣺Öض¨ÏòºÍÎļþÃèÊö·û¡£ÎÒÒÔÇ°¶ÔShell I/OµÄÀí½âÒ²ÓдíÎó¡£×î½üÖØÐÂÕûÀí˼·£¬¾ö¶¨Ð´Ò»ÆªÎÄÕÂÀ´×ܽáI/OÖض¨Ïò¡£
ÏȽéÉܼ¸¸ö»ù±¾¸ÅÄî:
1£©Îļþ(File)£ºÔÚUnix/LinuxÖУ¬ÎļþÀàÐÍÓÐÆ ......