pike.git / src / post_modules / Nettle / cipher.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/cipher.cmod:1113:   {    /*! @decl inherit __builtin.Nettle.BlockCipher    */    INHERIT "__builtin.Nettle.BlockCipher";       /*! @decl inherit BufferedCipher    */    INHERIT Nettle_BufferedCipher;       /*! @module CBC -  *! Implementation of the cipher block chaining mode (CBC). +  *! Implementation of the Cipher Block Chaining mode (CBC).    *!    *! Works as a wrapper for the cipher implemented by overloading    *! the parent class (@[Cipher]).    *!    *! @seealso    *! @[Crypto.CBC], @[GCM]    */    PIKEVAR object(Nettle_BlockCipher_cq__CBC) CBC;       PIKECLASS _CBC
pike.git/src/post_modules/Nettle/cipher.cmod:1458:    UNSET_ONERROR(uwp);    }    }    /*! @endclass State    */    }    /*! @endmodule CBC    */       /*! @module PCBC -  *! Implementation of the propagating cipher block chaining mode (PCBC). +  *! Implementation of the Propagating Cipher Block Chaining mode (PCBC).    *!    *! This mode is also known as plaintext cipher block chaining (from    *! Kerberos v4).    *!    *! Works as a wrapper for the cipher implemented by overloading    *! the parent class (@[Cipher]).    *!    *! @seealso    *! @[CBC], @[GCM]    */
pike.git/src/post_modules/Nettle/cipher.cmod:1618:    }    }    }    /*! @endclass State    */    }    /*! @endmodule PCBC    */       /*! @module IGE -  *! Implementation of Infinite Garble Extension (IGE). +  *! Implementation of the Infinite Garble Extension mode (IGE).    *!    *! This is a mode of operation suggested in 1977 by C. Cambell.    *!    *! @seealso    *! @[CBC], @[GCM], @[CFB]    */    PIKEVAR object(Nettle_Cipher) IGE;       PIKECLASS _IGE    program_flags PROGRAM_NEEDS_PARENT|PROGRAM_USES_PARENT;
pike.git/src/post_modules/Nettle/cipher.cmod:2016:    UNSET_ONERROR(uwp);    }    }    /*! @endclass State    */    }    /*! @endmodule IGE    */       /*! @module ABC -  *! Implementation of Accumulated Block Chaining (ABC). +  *! Implementation of the Accumulated Block Chaining mode (ABC).    *!    *! This is a mode of operation similar to @[IGE], but    *! where the plaintext is mixed with both initialization    *! vectors. It was suggested as a mode of operation for    *! @[AES] by Lars R. Knudsen.    *!    *! @seealso    *! @[CBC], @[GCM], @[CFB], @[IGE]    */    PIKEVAR object(Nettle_Cipher) ABC;
pike.git/src/post_modules/Nettle/cipher.cmod:2421:    UNSET_ONERROR(uwp);    }    }    /*! @endclass State    */    }    /*! @endmodule ABC    */       /*! @module CFB -  *! Implementation of Cipher Feed-Back mode (CFB). +  *! Implementation of the Cipher Feed-Back mode (CFB).    *!    *! @seealso    *! @[CBC], @[GCM]    */    PIKEVAR object(Nettle_Cipher) CFB;       PIKECLASS _CFB    program_flags PROGRAM_NEEDS_PARENT|PROGRAM_USES_PARENT;    {    /*! @decl inherit BufferedCipher
pike.git/src/post_modules/Nettle/cipher.cmod:2893:    PIKEFUN Nettle_Cipher_State `()()    {    apply_current(Nettle_BlockCipher_cq__CFB_State_program_fun_num, args);    }    }       /*! @endmodule CFB    */       /*! @module CTR -  *! Implementation of Counter Mode (CTR). +  *! Implementation of the Counter mode (CTR).    *!    *! This cipher mode works like a stream cipher with    *! a block size >= 1. This means that the same key    *! and initialization vector (aka counter) should    *! never be reused, since a simple xor would reveal    *! information about the plain text. It also means    *! that it should never be used without a suiteable    *! Message Authentication Code (MAC).    *!    *! @seealso
pike.git/src/post_modules/Nettle/cipher.cmod:3286:    {    apply_current(Nettle_BlockCipher_cq__CTR_State_program_fun_num, args);    }       }       /*! @endmodule CTR    */       /*! @module OFB -  *! Implementation of Output Feed-Back mode (OFB). +  *! Implementation of the Output Feed-Back mode (OFB).    *!    *! This cipher mode works like a stream cipher with    *! a block size >= 1. This means that the same key    *! and initialization vector (aka counter) should    *! never be reused, since a simple xor would reveal    *! information about the plain text. It also means    *! that it should never be used without a suiteable    *! Message Authentication Code (MAC).    *!    *! @seealso