Searched refs:nonce_counter (Results 1 – 9 of 9) sorted by relevance
| /optee_os/lib/libmbedtls/core/ |
| H A D | aes_ctr.c | 123 unsigned char nonce_counter[16]) in next_ctr() 128 ctx->round_count, 1, nonce_counter); in next_ctr() 132 size_t *nc_off, unsigned char nonce_counter[16], in mbedtls_aes_crypt_ctr() 158 block_count, nonce_counter); in mbedtls_aes_crypt_ctr() 164 next_ctr(stream_block, ctx, nonce_counter); in mbedtls_aes_crypt_ctr()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | camellia.c | 625 unsigned char nonce_counter[16], in mbedtls_camellia_crypt_ctr() 640 mbedtls_camellia_crypt_ecb(ctx, MBEDTLS_CAMELLIA_ENCRYPT, nonce_counter, in mbedtls_camellia_crypt_ctr() 644 if (++nonce_counter[i - 1] != 0) { in mbedtls_camellia_crypt_ctr() 874 unsigned char nonce_counter[16]; in mbedtls_camellia_self_test() local 1005 memcpy(nonce_counter, camellia_test_ctr_nonce_counter[u], 16); in mbedtls_camellia_self_test() 1015 mbedtls_camellia_crypt_ctr(&ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test() 1028 mbedtls_camellia_crypt_ctr(&ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test()
|
| H A D | cipher_wrap.h | 107 unsigned char *nonce_counter, unsigned char *stream_block,
|
| H A D | cipher_wrap.c | 211 unsigned char *nonce_counter, unsigned char *stream_block, in aes_crypt_ctr_wrap() argument 214 return mbedtls_aes_crypt_ctr((mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap() 826 unsigned char *nonce_counter, unsigned char *stream_block, in camellia_crypt_ctr_wrap() argument 830 nonce_counter, stream_block, input, output); in camellia_crypt_ctr_wrap() 1252 unsigned char *nonce_counter, unsigned char *stream_block, in aria_crypt_ctr_wrap() argument 1256 nonce_counter, stream_block, input, output); in aria_crypt_ctr_wrap()
|
| H A D | aria.c | 623 unsigned char nonce_counter[MBEDTLS_ARIA_BLOCKSIZE], in mbedtls_aria_crypt_ctr() 640 mbedtls_aria_crypt_ecb(ctx, nonce_counter, in mbedtls_aria_crypt_ctr() 644 if (++nonce_counter[i - 1] != 0) { in mbedtls_aria_crypt_ctr()
|
| H A D | aes.c | 1440 unsigned char nonce_counter[16], in mbedtls_aes_crypt_ctr() 1456 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, nonce_counter, stream_block); in mbedtls_aes_crypt_ctr() 1460 mbedtls_ctr_increment_counter(nonce_counter); in mbedtls_aes_crypt_ctr() 1839 unsigned char nonce_counter[16]; in mbedtls_aes_self_test() local 2172 memcpy(nonce_counter, aes_test_ctr_nonce_counter[u], 16); in mbedtls_aes_self_test() 2190 ret = mbedtls_aes_crypt_ctr(&ctx, len, &offset, nonce_counter, in mbedtls_aes_self_test()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | camellia.h | 284 unsigned char nonce_counter[16],
|
| H A D | aria.h | 324 unsigned char nonce_counter[MBEDTLS_ARIA_BLOCKSIZE],
|
| H A D | aes.h | 575 unsigned char nonce_counter[16],
|