Lines Matching full:ctr

46  * functions are provided, for CBC encryption, CBC decryption, and CTR
55 * Function for CTR encryption are defined only for block ciphers with
116 * expansion. These subkeys are appropriate for CTR encryption and
122 * Perform key expansion: subkeys for CTR encryption and decryption
129 * Perform CTR encryption/decryption of some data. Processing is done
143 * CTR encryption/decryption and CBC-MAC, as used in the CCM and EAX
149 * Perform key expansion: subkeys for combined CTR
155 …* - `br_xxx_ctrcbc_encrypt(const br_xxx_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, s…
157 * Perform CTR encryption of some data, and CBC-MAC. Processing is
159 * function applies CTR encryption on the data, using a full
161 * incremented as a 128-bit value). The 'ctr' array contains the
165 * CBC-MAC, computed over the encrypted data (output of CTR
171 …* - `br_xxx_ctrcbc_decrypt(const br_xxx_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, s…
173 * Perform CTR decryption of some data, and CBC-MAC. Processing is
175 * function applies CTR decryption on the data, using a full
177 * incremented as a 128-bit value). The 'ctr' array contains the
181 * CBC-MAC, computed over the encrypted data (input of CTR
187 * - `br_xxx_ctrcbc_ctr(const br_xxx_ctrcbc_keys *ctx, void *ctr, void *data, size_t len)`
189 * Perform CTR encryption or decryption of the provided data. The
192 * blocks, the counter is incremented as a 128-bit value). The 'ctr'
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.
274 * - `ctr`
276 * Pointer to the CTR encryption/decryption function.
333 * operations (i.e. CTR, and CBC decryption, but not CBC encryption).
500 * \brief Class type for CTR encryption/decryption implementations.
503 * a specific block cipher, when used in CTR mode for encrypting or
540 * \brief Run the CTR encryption or decryption.
544 * 12 bytes for AES/CTR). The IV is combined with a 32-bit
556 * \param iv IV for CTR encryption/decryption.
567 * \brief Class type for combined CTR and CBC-MAC implementations.
570 * a specific block cipher, when used in CTR mode for encrypting or
607 * \brief Run the CTR encryption + CBC-MAC.
609 * The `ctr` parameter points to the counter; its length shall
614 * is computed over the encrypted data (output of CTR
622 * \param ctr counter for CTR encryption (initial and final).
628 void *ctr, void *cbcmac, void *data, size_t len);
631 * \brief Run the CTR decryption + CBC-MAC.
633 * The `ctr` parameter points to the counter; its length shall
638 * is computed over the encrypted data (i.e. before CTR
646 * \param ctr counter for CTR encryption (initial and final).
652 void *ctr, void *cbcmac, void *data, size_t len);
655 * \brief Run the CTR encryption/decryption only.
657 * The `ctr` parameter points to the counter; its length shall
665 * \param ctr counter for CTR encryption (initial and final).
669 void (*ctr)(const br_block_ctrcbc_class *const *ctx, member
670 void *ctr, void *data, size_t len);
676 * is computed over the encrypted data (i.e. before CTR
734 * \brief Context for AES subkeys (`aes_big` implementation, CTR encryption
750 * \brief Context for AES subkeys (`aes_big` implementation, CTR encryption
776 * \brief Class instance for AES CTR encryption and decryption
782 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
810 * \brief Context initialisation (key schedule) for AES CTR encryption
821 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
854 * \brief CTR encryption and decryption with AES (`aes_big` implementation).
867 * \brief CTR encryption + CBC-MAC with AES (`aes_big` implementation).
870 * \param ctr counter for CTR (16 bytes, updated).
876 void *ctr, void *cbcmac, void *data, size_t len);
879 * \brief CTR decryption + CBC-MAC with AES (`aes_big` implementation).
882 * \param ctr counter for CTR (16 bytes, updated).
888 void *ctr, void *cbcmac, void *data, size_t len);
891 * \brief CTR encryption/decryption with AES (`aes_big` implementation).
894 * \param ctr counter for CTR (16 bytes, updated).
899 void *ctr, void *data, size_t len);
954 * \brief Context for AES subkeys (`aes_small` implementation, CTR encryption
970 * \brief Context for AES subkeys (`aes_small` implementation, CTR encryption
996 * \brief Class instance for AES CTR encryption and decryption
1002 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1030 * \brief Context initialisation (key schedule) for AES CTR encryption
1041 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1074 * \brief CTR encryption and decryption with AES (`aes_small` implementation).
1087 * \brief CTR encryption + CBC-MAC with AES (`aes_small` implementation).
1090 * \param ctr counter for CTR (16 bytes, updated).
1096 void *ctr, void *cbcmac, void *data, size_t len);
1099 * \brief CTR decryption + CBC-MAC with AES (`aes_small` implementation).
1102 * \param ctr counter for CTR (16 bytes, updated).
1108 void *ctr, void *cbcmac, void *data, size_t len);
1111 * \brief CTR encryption/decryption with AES (`aes_small` implementation).
1114 * \param ctr counter for CTR (16 bytes, updated).
1119 void *ctr, void *data, size_t len);
1173 * \brief Context for AES subkeys (`aes_ct` implementation, CTR encryption
1189 * \brief Context for AES subkeys (`aes_ct` implementation, CTR encryption
1215 * \brief Class instance for AES CTR encryption and decryption
1221 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1249 * \brief Context initialisation (key schedule) for AES CTR encryption
1260 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1293 * \brief CTR encryption and decryption with AES (`aes_ct` implementation).
1306 * \brief CTR encryption + CBC-MAC with AES (`aes_ct` implementation).
1309 * \param ctr counter for CTR (16 bytes, updated).
1315 void *ctr, void *cbcmac, void *data, size_t len);
1318 * \brief CTR decryption + CBC-MAC with AES (`aes_ct` implementation).
1321 * \param ctr counter for CTR (16 bytes, updated).
1327 void *ctr, void *cbcmac, void *data, size_t len);
1330 * \brief CTR encryption/decryption with AES (`aes_ct` implementation).
1333 * \param ctr counter for CTR (16 bytes, updated).
1338 void *ctr, void *data, size_t len);
1356 * and CTR mode; CBC encryption is non-parallel and cannot benefit from
1394 * \brief Context for AES subkeys (`aes_ct64` implementation, CTR encryption
1410 * \brief Context for AES subkeys (`aes_ct64` implementation, CTR encryption
1436 * \brief Class instance for AES CTR encryption and decryption
1442 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1470 * \brief Context initialisation (key schedule) for AES CTR encryption
1481 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1514 * \brief CTR encryption and decryption with AES (`aes_ct64` implementation).
1527 * \brief CTR encryption + CBC-MAC with AES (`aes_ct64` implementation).
1530 * \param ctr counter for CTR (16 bytes, updated).
1536 void *ctr, void *cbcmac, void *data, size_t len);
1539 * \brief CTR decryption + CBC-MAC with AES (`aes_ct64` implementation).
1542 * \param ctr counter for CTR (16 bytes, updated).
1548 void *ctr, void *cbcmac, void *data, size_t len);
1551 * \brief CTR encryption/decryption with AES (`aes_ct64` implementation).
1554 * \param ctr counter for CTR (16 bytes, updated).
1559 void *ctr, void *data, size_t len);
1614 * \brief Context for AES subkeys (`aes_x86ni` implementation, CTR encryption
1632 * \brief Context for AES subkeys (`aes_x86ni` implementation, CTR encryption
1668 * \brief Class instance for AES CTR encryption and decryption
1678 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
1710 * \brief Context initialisation (key schedule) for AES CTR encryption
1721 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
1754 * \brief CTR encryption and decryption with AES (`aes_x86ni` implementation).
1767 * \brief CTR encryption + CBC-MAC with AES (`aes_x86ni` implementation).
1770 * \param ctr counter for CTR (16 bytes, updated).
1776 void *ctr, void *cbcmac, void *data, size_t len);
1779 * \brief CTR decryption + CBC-MAC with AES (`aes_x86ni` implementation).
1782 * \param ctr counter for CTR (16 bytes, updated).
1788 void *ctr, void *cbcmac, void *data, size_t len);
1791 * \brief CTR encryption/decryption with AES (`aes_x86ni` implementation).
1794 * \param ctr counter for CTR (16 bytes, updated).
1799 void *ctr, void *data, size_t len);
1839 * \brief Obtain the `aes_x86ni` AES-CTR implementation, if available.
1846 * \return the `aes_x86ni` AES-CTR implementation, or `NULL`.
1851 * \brief Obtain the `aes_x86ni` AES-CTR + CBC-MAC implementation, if
1859 * \return the `aes_x86ni` AES-CTR implementation, or `NULL`.
1905 * \brief Context for AES subkeys (`aes_pwr8` implementation, CTR encryption
1923 * \brief Context for AES subkeys (`aes_pwr8` implementation, CTR encryption
1959 * \brief Class instance for AES CTR encryption and decryption
1969 * \brief Class instance for AES CTR encryption/decryption + CBC-MAC
2001 * \brief Context initialisation (key schedule) for AES CTR encryption
2012 * \brief Context initialisation (key schedule) for AES CTR + CBC-MAC
2045 * \brief CTR encryption and decryption with AES (`aes_pwr8` implementation).
2058 * \brief CTR encryption + CBC-MAC with AES (`aes_pwr8` implementation).
2061 * \param ctr counter for CTR (16 bytes, updated).
2067 void *ctr, void *cbcmac, void *data, size_t len);
2070 * \brief CTR decryption + CBC-MAC with AES (`aes_pwr8` implementation).
2073 * \param ctr counter for CTR (16 bytes, updated).
2079 void *ctr, void *cbcmac, void *data, size_t len);
2082 * \brief CTR encryption/decryption with AES (`aes_pwr8` implementation).
2085 * \param ctr counter for CTR (16 bytes, updated).
2090 void *ctr, void *data, size_t len);
2130 * \brief Obtain the `aes_pwr8` AES-CTR implementation, if available.
2137 * \return the `aes_pwr8` AES-CTR implementation, or `NULL`.
2142 * \brief Obtain the `aes_pwr8` AES-CTR + CBC-MAC implementation, if
2150 * \return the `aes_pwr8` AES-CTR implementation, or `NULL`.
2184 * subkeys (CTR encryption and decryption) for all AES implementations.
2198 * subkeys (CTR encryption/decryption + CBC-MAC) for all AES implementations.