Home
last modified time | relevance | path

Searched refs:nc_off (Results 1 - 10 of 10) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dcamellia.h224 * 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 Daria.h265 * 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 Daes.h516 * 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 Dcipher_wrap.h106 int (*ctr_func)(void *ctx, size_t length, size_t *nc_off,
H A Dcipher_wrap.c198 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 Dcamellia.c624 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 Daria.c622 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 Daes.c1439 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 Dlws-genaes.c319 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 Dbenchmark.c783 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()

Completed in 13 milliseconds