Lines Matching full:bytes
56 * blocks of 16 bytes or more (i.e. AES, but not DES/3DES).
65 * A macro that evaluates to the block size (in bytes) of the
85 * Perform CBC encryption of `len` bytes, in place. The encrypted data
107 * Perform CBC decryption of `len` bytes, in place. The decrypted data
132 * annex B: the IV length shall be 4 bytes less than the block size
133 * (i.e. 12 bytes for AES) and the counter is the 32-bit value starting
227 * The size (in bytes) of the context structure for subkeys.
231 * The cipher block size (in bytes).
236 * of 16 bytes).
251 * The size (in bytes) of the context structure for subkeys.
255 * The cipher block size (in bytes).
260 * of 16 bytes).
295 * | Name | Function | Block Size (bytes) | Key lengths (bytes) |
307 * 16 and 24 bytes), but some of the bits are ignored by the algorithm, so
383 * although it can help with saving a few hundred bytes of code footprint
396 * \brief Size (in bytes) of the context structure appropriate
402 * \brief Size of individual blocks (in bytes).
408 * expressed in bytes.
421 * \param key_len key length (in bytes).
437 * \param len data length (in bytes, multiple of block size).
452 * \brief Size (in bytes) of the context structure appropriate
458 * \brief Size of individual blocks (in bytes).
464 * expressed in bytes.
477 * \param key_len key length (in bytes).
493 * \param len data length (in bytes, multiple of block size).
509 * \brief Size (in bytes) of the context structure appropriate
515 * \brief Size of individual blocks (in bytes).
521 * expressed in bytes.
534 * \param key_len key length (in bytes).
543 * length is exactly 4 bytes less than the block size (e.g.
544 * 12 bytes for AES/CTR). The IV is combined with a 32-bit
549 * length (`len` bytes) is not required to be a multiple of
559 * \param len data length (in bytes).
576 * \brief Size (in bytes) of the context structure appropriate
582 * \brief Size of individual blocks (in bytes).
588 * expressed in bytes.
601 * \param key_len key length (in bytes).
619 * bytes) MUST be a multiple of the block size.
625 * \param len data length (in bytes).
643 * bytes) MUST be a multiple of the block size.
649 * \param len data length (in bytes).
662 * bytes) MUST be a multiple of the block size.
667 * \param len data length (in bytes).
680 * The data is unmodified. Its length (`len` bytes) MUST be a
686 * \param len data length (in bytes).
700 /** \brief AES block size (16 bytes). */
793 * \param len secret key length (in bytes).
804 * \param len secret key length (in bytes).
815 * \param len secret key length (in bytes).
826 * \param len secret key length (in bytes).
837 * \param len data length (in bytes, MUST be multiple of 16).
848 * \param len data length (in bytes, MUST be multiple of 16).
857 * \param iv IV (constant, 12 bytes).
860 * \param len data length (in bytes).
870 * \param ctr counter for CTR (16 bytes, updated).
873 * \param len data length (in bytes, MUST be a multiple of 16).
882 * \param ctr counter for CTR (16 bytes, updated).
885 * \param len data length (in bytes, MUST be a multiple of 16).
894 * \param ctr counter for CTR (16 bytes, updated).
896 * \param len data length (in bytes, MUST be a multiple of 16).
907 * \param len data length (in bytes, MUST be a multiple of 16).
920 /** \brief AES block size (16 bytes). */
1013 * \param len secret key length (in bytes).
1024 * \param len secret key length (in bytes).
1035 * \param len secret key length (in bytes).
1046 * \param len secret key length (in bytes).
1057 * \param len data length (in bytes, MUST be multiple of 16).
1068 * \param len data length (in bytes, MUST be multiple of 16).
1077 * \param iv IV (constant, 12 bytes).
1080 * \param len data length (in bytes).
1090 * \param ctr counter for CTR (16 bytes, updated).
1093 * \param len data length (in bytes, MUST be a multiple of 16).
1102 * \param ctr counter for CTR (16 bytes, updated).
1105 * \param len data length (in bytes, MUST be a multiple of 16).
1114 * \param ctr counter for CTR (16 bytes, updated).
1116 * \param len data length (in bytes, MUST be a multiple of 16).
1127 * \param len data length (in bytes, MUST be a multiple of 16).
1139 /** \brief AES block size (16 bytes). */
1232 * \param len secret key length (in bytes).
1243 * \param len secret key length (in bytes).
1254 * \param len secret key length (in bytes).
1265 * \param len secret key length (in bytes).
1276 * \param len data length (in bytes, MUST be multiple of 16).
1287 * \param len data length (in bytes, MUST be multiple of 16).
1296 * \param iv IV (constant, 12 bytes).
1299 * \param len data length (in bytes).
1309 * \param ctr counter for CTR (16 bytes, updated).
1312 * \param len data length (in bytes, MUST be a multiple of 16).
1321 * \param ctr counter for CTR (16 bytes, updated).
1324 * \param len data length (in bytes, MUST be a multiple of 16).
1333 * \param ctr counter for CTR (16 bytes, updated).
1335 * \param len data length (in bytes, MUST be a multiple of 16).
1346 * \param len data length (in bytes, MUST be a multiple of 16).
1360 /** \brief AES block size (16 bytes). */
1453 * \param len secret key length (in bytes).
1464 * \param len secret key length (in bytes).
1475 * \param len secret key length (in bytes).
1486 * \param len secret key length (in bytes).
1497 * \param len data length (in bytes, MUST be multiple of 16).
1508 * \param len data length (in bytes, MUST be multiple of 16).
1517 * \param iv IV (constant, 12 bytes).
1520 * \param len data length (in bytes).
1530 * \param ctr counter for CTR (16 bytes, updated).
1533 * \param len data length (in bytes, MUST be a multiple of 16).
1542 * \param ctr counter for CTR (16 bytes, updated).
1545 * \param len data length (in bytes, MUST be a multiple of 16).
1554 * \param ctr counter for CTR (16 bytes, updated).
1556 * \param len data length (in bytes, MUST be a multiple of 16).
1567 * \param len data length (in bytes, MUST be a multiple of 16).
1576 /** \brief AES block size (16 bytes). */
1693 * \param len secret key length (in bytes).
1704 * \param len secret key length (in bytes).
1715 * \param len secret key length (in bytes).
1726 * \param len secret key length (in bytes).
1737 * \param len data length (in bytes, MUST be multiple of 16).
1748 * \param len data length (in bytes, MUST be multiple of 16).
1757 * \param iv IV (constant, 12 bytes).
1760 * \param len data length (in bytes).
1770 * \param ctr counter for CTR (16 bytes, updated).
1773 * \param len data length (in bytes, MUST be a multiple of 16).
1782 * \param ctr counter for CTR (16 bytes, updated).
1785 * \param len data length (in bytes, MUST be a multiple of 16).
1794 * \param ctr counter for CTR (16 bytes, updated).
1796 * \param len data length (in bytes, MUST be a multiple of 16).
1807 * \param len data length (in bytes, MUST be a multiple of 16).
1867 /** \brief AES block size (16 bytes). */
1984 * \param len secret key length (in bytes).
1995 * \param len secret key length (in bytes).
2006 * \param len secret key length (in bytes).
2017 * \param len secret key length (in bytes).
2028 * \param len data length (in bytes, MUST be multiple of 16).
2039 * \param len data length (in bytes, MUST be multiple of 16).
2048 * \param iv IV (constant, 12 bytes).
2051 * \param len data length (in bytes).
2061 * \param ctr counter for CTR (16 bytes, updated).
2064 * \param len data length (in bytes, MUST be a multiple of 16).
2073 * \param ctr counter for CTR (16 bytes, updated).
2076 * \param len data length (in bytes, MUST be a multiple of 16).
2085 * \param ctr counter for CTR (16 bytes, updated).
2087 * \param len data length (in bytes, MUST be a multiple of 16).
2098 * \param len data length (in bytes, MUST be a multiple of 16).
2215 /** \brief DES/3DES block size (8 bytes). */
2264 * \param len secret key length (in bytes).
2275 * \param len secret key length (in bytes).
2286 * \param len data length (in bytes, MUST be multiple of 8).
2297 * \param len data length (in bytes, MUST be multiple of 8).
2307 /** \brief DES/3DES block size (8 bytes). */
2356 * \param len secret key length (in bytes).
2367 * \param len secret key length (in bytes).
2378 * \param len data length (in bytes, MUST be multiple of 8).
2389 * \param len data length (in bytes, MUST be multiple of 8).
2424 * - Key is 256 bits (`key` points to exactly 32 bytes).
2426 * - IV is 96 bits (`iv` points to exactly 12 bytes).
2432 * in place. If `len` is not a multiple of 64, then the excess bytes from
2436 * \param key secret key (32 bytes).
2437 * \param iv IV (12 bytes).
2440 * \param len data length (in bytes).
2450 * \param key secret key (32 bytes).
2451 * \param iv IV (12 bytes).
2454 * \param len data length (in bytes).
2471 * \param key secret key (32 bytes).
2472 * \param iv IV (12 bytes).
2475 * \param len data length (in bytes).
2503 * \param key secret key (32 bytes).
2504 * \param iv nonce (12 bytes).
2506 * \param len data length (in bytes).
2508 * \param aad_len length of additional authenticated data (in bytes).
2522 * \param key secret key (32 bytes).
2523 * \param iv nonce (12 bytes).
2525 * \param len data length (in bytes).
2527 * \param aad_len length of additional authenticated data (in bytes).
2541 * \param key secret key (32 bytes).
2542 * \param iv nonce (12 bytes).
2544 * \param len data length (in bytes).
2546 * \param aad_len length of additional authenticated data (in bytes).
2566 * \param key secret key (32 bytes).
2567 * \param iv nonce (12 bytes).
2569 * \param len data length (in bytes).
2571 * \param aad_len length of additional authenticated data (in bytes).
2590 * \param key secret key (32 bytes).
2591 * \param iv nonce (12 bytes).
2593 * \param len data length (in bytes).
2595 * \param aad_len length of additional authenticated data (in bytes).