Lines Matching full:cbc

46  * functions are provided, for CBC encryption, CBC decryption, and CTR
50 * For CBC encryption and decryption, the data to encrypt or decrypt is
72 * expansion. These subkeys are appropriate for CBC encryption. The
78 * Perform key expansion: subkeys for CBC encryption are computed and
85 * Perform CBC encryption of `len` bytes, in place. The encrypted data
94 * expansion. These subkeys are appropriate for CBC decryption. The
100 * Perform key expansion: subkeys for CBC decryption are computed and
107 * Perform CBC decryption of `len` bytes, in place. The decrypted data
143 * CTR encryption/decryption and CBC-MAC, as used in the CCM and EAX
150 * encryption/decryption and CBC-MAC are computed and written in the
157 * Perform CTR encryption of some data, and CBC-MAC. Processing is
165 * CBC-MAC, computed over the encrypted data (output of CTR
166 * encryption); the resulting CBC-MAC is written over 'cbcmac' on
173 * Perform CTR decryption of some data, and CBC-MAC. Processing is
181 * CBC-MAC, computed over the encrypted data (input of CTR
182 * encryption); the resulting CBC-MAC is written over 'cbcmac' on
201 * Compute CBC-MAC over the provided data. The IV for CBC-MAC is
246 * For combined CTR/CBC-MAC encryption, the `vtable` has a slightly
268 * Pointer to the CTR encryption + CBC-MAC function.
272 * Pointer to the CTR decryption + CBC-MAC function.
280 * Pointer to the CBC-MAC function.
333 * operations (i.e. CTR, and CBC decryption, but not CBC encryption).
388 * \brief Class type for CBC encryption implementations.
391 * a specific block cipher, when used in CBC mode for encrypting data.
427 * \brief Run the CBC encryption.
435 * \param iv IV for CBC encryption (updated).
444 * \brief Class type for CBC decryption implementations.
447 * a specific block cipher, when used in CBC mode for decrypting data.
483 * \brief Run the CBC decryption.
491 * \param iv IV for CBC decryption (updated).
567 * \brief Class type for combined CTR and CBC-MAC implementations.
571 * decrypting data, along with CBC-MAC.
607 * \brief Run the CTR encryption + CBC-MAC.
613 * The `cbcmac` parameter points to the IV for CBC-MAC. The MAC
616 * computed CBC-MAC value is written over the `cbcmac` array.
623 * \param cbcmac IV and output buffer for CBC-MAC.
631 * \brief Run the CTR decryption + CBC-MAC.
637 * The `cbcmac` parameter points to the IV for CBC-MAC. The MAC
640 * computed CBC-MAC value is written over the `cbcmac` array.
647 * \param cbcmac IV and output buffer for CBC-MAC.
673 * \brief Run the CBC-MAC only.
675 * The `cbcmac` parameter points to the IV for CBC-MAC. The MAC
678 * computed CBC-MAC value is written over the `cbcmac` array.
684 * \param cbcmac IV and output buffer for CBC-MAC.
704 * \brief Context for AES subkeys (`aes_big` implementation, CBC encryption).
719 * \brief Context for AES subkeys (`aes_big` implementation, CBC decryption).
751 * and decryption + CBC-MAC).
766 * \brief Class instance for AES CBC encryption (`aes_big` implementation).
771 * \brief Class instance for AES CBC decryption (`aes_big` implementation).
782 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
788 * \brief Context initialisation (key schedule) for AES CBC encryption
799 * \brief Context initialisation (key schedule) for AES CBC decryption
821 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
832 * \brief CBC encryption with AES (`aes_big` implementation).
843 * \brief CBC decryption with AES (`aes_big` implementation).
867 * \brief CTR encryption + CBC-MAC with AES (`aes_big` implementation).
871 * \param cbcmac IV for CBC-MAC (updated).
879 * \brief CTR decryption + CBC-MAC with AES (`aes_big` implementation).
883 * \param cbcmac IV for CBC-MAC (updated).
902 * \brief CBC-MAC with AES (`aes_big` implementation).
905 * \param cbcmac IV for CBC-MAC (updated).
924 * \brief Context for AES subkeys (`aes_small` implementation, CBC encryption).
939 * \brief Context for AES subkeys (`aes_small` implementation, CBC decryption).
971 * and decryption + CBC-MAC).
986 * \brief Class instance for AES CBC encryption (`aes_small` implementation).
991 * \brief Class instance for AES CBC decryption (`aes_small` implementation).
1002 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1008 * \brief Context initialisation (key schedule) for AES CBC encryption
1019 * \brief Context initialisation (key schedule) for AES CBC decryption
1041 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1052 * \brief CBC encryption with AES (`aes_small` implementation).
1063 * \brief CBC decryption with AES (`aes_small` implementation).
1087 * \brief CTR encryption + CBC-MAC with AES (`aes_small` implementation).
1091 * \param cbcmac IV for CBC-MAC (updated).
1099 * \brief CTR decryption + CBC-MAC with AES (`aes_small` implementation).
1103 * \param cbcmac IV for CBC-MAC (updated).
1122 * \brief CBC-MAC with AES (`aes_small` implementation).
1125 * \param cbcmac IV for CBC-MAC (updated).
1143 * \brief Context for AES subkeys (`aes_ct` implementation, CBC encryption).
1158 * \brief Context for AES subkeys (`aes_ct` implementation, CBC decryption).
1190 * and decryption + CBC-MAC).
1205 * \brief Class instance for AES CBC encryption (`aes_ct` implementation).
1210 * \brief Class instance for AES CBC decryption (`aes_ct` implementation).
1221 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1227 * \brief Context initialisation (key schedule) for AES CBC encryption
1238 * \brief Context initialisation (key schedule) for AES CBC decryption
1260 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1271 * \brief CBC encryption with AES (`aes_ct` implementation).
1282 * \brief CBC decryption with AES (`aes_ct` implementation).
1306 * \brief CTR encryption + CBC-MAC with AES (`aes_ct` implementation).
1310 * \param cbcmac IV for CBC-MAC (updated).
1318 * \brief CTR decryption + CBC-MAC with AES (`aes_ct` implementation).
1322 * \param cbcmac IV for CBC-MAC (updated).
1341 * \brief CBC-MAC with AES (`aes_ct` implementation).
1344 * \param cbcmac IV for CBC-MAC (updated).
1355 * code size. (The doubling in performance is only for CBC decryption
1356 * and CTR mode; CBC encryption is non-parallel and cannot benefit from
1364 * \brief Context for AES subkeys (`aes_ct64` implementation, CBC encryption).
1379 * \brief Context for AES subkeys (`aes_ct64` implementation, CBC decryption).
1411 * and decryption + CBC-MAC).
1426 * \brief Class instance for AES CBC encryption (`aes_ct64` implementation).
1431 * \brief Class instance for AES CBC decryption (`aes_ct64` implementation).
1442 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1448 * \brief Context initialisation (key schedule) for AES CBC encryption
1459 * \brief Context initialisation (key schedule) for AES CBC decryption
1481 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1492 * \brief CBC encryption with AES (`aes_ct64` implementation).
1503 * \brief CBC decryption with AES (`aes_ct64` implementation).
1527 * \brief CTR encryption + CBC-MAC with AES (`aes_ct64` implementation).
1531 * \param cbcmac IV for CBC-MAC (updated).
1539 * \brief CTR decryption + CBC-MAC with AES (`aes_ct64` implementation).
1543 * \param cbcmac IV for CBC-MAC (updated).
1562 * \brief CBC-MAC with AES (`aes_ct64` implementation).
1565 * \param cbcmac IV for CBC-MAC (updated).
1580 * \brief Context for AES subkeys (`aes_x86ni` implementation, CBC encryption).
1597 * \brief Context for AES subkeys (`aes_x86ni` implementation, CBC decryption).
1633 * and decryption + CBC-MAC).
1650 * \brief Class instance for AES CBC encryption (`aes_x86ni` implementation).
1659 * \brief Class instance for AES CBC decryption (`aes_x86ni` implementation).
1678 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1688 * \brief Context initialisation (key schedule) for AES CBC encryption
1699 * \brief Context initialisation (key schedule) for AES CBC decryption
1721 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1732 * \brief CBC encryption with AES (`aes_x86ni` implementation).
1743 * \brief CBC decryption with AES (`aes_x86ni` implementation).
1767 * \brief CTR encryption + CBC-MAC with AES (`aes_x86ni` implementation).
1771 * \param cbcmac IV for CBC-MAC (updated).
1779 * \brief CTR decryption + CBC-MAC with AES (`aes_x86ni` implementation).
1783 * \param cbcmac IV for CBC-MAC (updated).
1802 * \brief CBC-MAC with AES (`aes_x86ni` implementation).
1805 * \param cbcmac IV for CBC-MAC (updated).
1813 * \brief Obtain the `aes_x86ni` AES-CBC (encryption) implementation, if
1821 * \return the `aes_x86ni` AES-CBC (encryption) implementation, or `NULL`.
1826 * \brief Obtain the `aes_x86ni` AES-CBC (decryption) implementation, if
1834 * \return the `aes_x86ni` AES-CBC (decryption) implementation, or `NULL`.
1851 * \brief Obtain the `aes_x86ni` AES-CTR + CBC-MAC implementation, if
1871 * \brief Context for AES subkeys (`aes_pwr8` implementation, CBC encryption).
1888 * \brief Context for AES subkeys (`aes_pwr8` implementation, CBC decryption).
1924 * and decryption + CBC-MAC).
1941 * \brief Class instance for AES CBC encryption (`aes_pwr8` implementation).
1950 * \brief Class instance for AES CBC decryption (`aes_pwr8` implementation).
1969 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1979 * \brief Context initialisation (key schedule) for AES CBC encryption
1990 * \brief Context initialisation (key schedule) for AES CBC decryption
2012 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
2023 * \brief CBC encryption with AES (`aes_pwr8` implementation).
2034 * \brief CBC decryption with AES (`aes_pwr8` implementation).
2058 * \brief CTR encryption + CBC-MAC with AES (`aes_pwr8` implementation).
2062 * \param cbcmac IV for CBC-MAC (updated).
2070 * \brief CTR decryption + CBC-MAC with AES (`aes_pwr8` implementation).
2074 * \param cbcmac IV for CBC-MAC (updated).
2093 * \brief CBC-MAC with AES (`aes_pwr8` implementation).
2096 * \param cbcmac IV for CBC-MAC (updated).
2104 * \brief Obtain the `aes_pwr8` AES-CBC (encryption) implementation, if
2112 * \return the `aes_pwr8` AES-CBC (encryption) implementation, or `NULL`.
2117 * \brief Obtain the `aes_pwr8` AES-CBC (decryption) implementation, if
2125 * \return the `aes_pwr8` AES-CBC (decryption) implementation, or `NULL`.
2142 * \brief Obtain the `aes_pwr8` AES-CTR + CBC-MAC implementation, if
2156 * subkeys (CBC encryption) for all AES implementations.
2170 * subkeys (CBC decryption) for all AES implementations.
2198 * subkeys (CTR encryption/decryption + CBC-MAC) for all AES implementations.
2219 * \brief Context for DES subkeys (`des_tab` implementation, CBC encryption).
2234 * \brief Context for DES subkeys (`des_tab` implementation, CBC decryption).
2249 * \brief Class instance for DES CBC encryption (`des_tab` implementation).
2254 * \brief Class instance for DES CBC decryption (`des_tab` implementation).
2259 * \brief Context initialisation (key schedule) for DES CBC encryption
2270 * \brief Context initialisation (key schedule) for DES CBC decryption
2281 * \brief CBC encryption with DES (`des_tab` implementation).
2292 * \brief CBC decryption with DES (`des_tab` implementation).
2311 * \brief Context for DES subkeys (`des_ct` implementation, CBC encryption).
2326 * \brief Context for DES subkeys (`des_ct` implementation, CBC decryption).
2341 * \brief Class instance for DES CBC encryption (`des_ct` implementation).
2346 * \brief Class instance for DES CBC decryption (`des_ct` implementation).
2351 * \brief Context initialisation (key schedule) for DES CBC encryption
2362 * \brief Context initialisation (key schedule) for DES CBC decryption
2373 * \brief CBC encryption with DES (`des_ct` implementation).
2384 * \brief CBC decryption with DES (`des_ct` implementation).
2401 * subkeys (CBC encryption) for all DES implementations.
2411 * subkeys (CBC decryption) for all DES implementations.