/third_party/mbedtls/include/mbedtls/ |
H A D | camellia.h | 224 * set \p nonce_counter and \p nc_off to 0 for the first call, and 225 * then preserve the values of \p nonce_counter, \p nc_off and \p 241 * chosen nonce value, the last four to \c 0, and \p nc_off to \c 0 265 * \param nc_off The offset in the current \p stream_block (for resuming 283 size_t *nc_off,
|
H A D | aria.h | 265 * set \p nonce_counter and \p nc_off to 0 for the first call, and 266 * then preserve the values of \p nonce_counter, \p nc_off and \p 282 * value, the last 4 to 0, and \p nc_off to 0 (which will cause \p 304 * \param nc_off The offset in Bytes in the current \p stream_block, 323 size_t *nc_off,
|
H A D | aes.h | 516 * set \p nonce_counter and \p nc_off to 0 for the first call, and 517 * then preserve the values of \p nonce_counter, \p nc_off and \p 533 * value, the last 4 to 0, and \p nc_off to 0 (which will cause \p 555 * \param nc_off The offset in the current \p stream_block, for 574 size_t *nc_off,
|
/third_party/mbedtls/library/ |
H A D | cipher_wrap.h | 106 int (*ctr_func)(void *ctx, size_t length, size_t *nc_off,
|
H A D | cipher_wrap.c | 198 static int aes_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() argument 202 return mbedtls_aes_crypt_ctr((mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap() 805 static int camellia_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap() argument 809 return mbedtls_camellia_crypt_ctr((mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap() 1223 static int aria_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aria_crypt_ctr_wrap() argument 1227 return mbedtls_aria_crypt_ctr((mbedtls_aria_context *) ctx, length, nc_off, in aria_crypt_ctr_wrap()
|
H A D | camellia.c | 624 size_t *nc_off, in mbedtls_camellia_crypt_ctr() 633 n = *nc_off; in mbedtls_camellia_crypt_ctr() 655 *nc_off = n; in mbedtls_camellia_crypt_ctr() 622 mbedtls_camellia_crypt_ctr(mbedtls_camellia_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[16], unsigned char stream_block[16], const unsigned char *input, unsigned char *output) mbedtls_camellia_crypt_ctr() argument
|
H A D | aria.c | 622 size_t *nc_off, in mbedtls_aria_crypt_ctr() 631 n = *nc_off; in mbedtls_aria_crypt_ctr() 655 *nc_off = n; in mbedtls_aria_crypt_ctr() 620 mbedtls_aria_crypt_ctr(mbedtls_aria_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[MBEDTLS_ARIA_BLOCKSIZE], unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE], const unsigned char *input, unsigned char *output) mbedtls_aria_crypt_ctr() argument
|
H A D | aes.c | 1439 size_t *nc_off, in mbedtls_aes_crypt_ctr() 1447 size_t offset = *nc_off; in mbedtls_aes_crypt_ctr() 1475 *nc_off = (*nc_off + length) % 16; in mbedtls_aes_crypt_ctr() 1437 mbedtls_aes_crypt_ctr(mbedtls_aes_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[16], unsigned char stream_block[16], const unsigned char *input, unsigned char *output) mbedtls_aes_crypt_ctr() argument
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
H A D | lws-genaes.c | 319 size_t nc_off = 0; in test_genaes_ctr() local 332 if (lws_genaes_crypt(&ctx, ctr, 16, res, nonce_counter, sb, &nc_off, 0)) { in test_genaes_ctr() 348 nc_off = 0; in test_genaes_ctr() 357 if (lws_genaes_crypt(&ctx, res, 16, res1, nonce_counter, sb, &nc_off, 0)) { in test_genaes_ctr()
|
/third_party/mbedtls/programs/test/ |
H A D | benchmark.c | 783 size_t nc_off; in main() local 792 nc_off = 0; in main() 796 TIME_AND_TSC(title, mbedtls_aes_crypt_ctr(&aes, BUFSIZE, &nc_off, tmp, stream_block, in main()
|