Searched refs:nc_off (Results 1 – 10 of 10) sorted by relevance
| /optee_os/lib/libmbedtls/core/ |
| H A D | aes_ctr.c | 24 size_t nc_off; member 52 c->nc_off = 0; in mbed_aes_ctr_init() 67 if (mbedtls_aes_crypt_ctr(&c->aes_ctx, len, &c->nc_off, c->counter, in mbed_aes_ctr_update() 95 dst->nc_off = src->nc_off; in mbed_aes_ctr_copy_state() 132 size_t *nc_off, unsigned char nonce_counter[16], in mbedtls_aes_crypt_ctr() argument 138 if (*nc_off >= 16) in mbedtls_aes_crypt_ctr() 145 while (*nc_off) { in mbedtls_aes_crypt_ctr() 146 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr() 148 *nc_off = (*nc_off + 1) % 16; in mbedtls_aes_crypt_ctr() 163 if (!*nc_off) in mbedtls_aes_crypt_ctr() [all …]
|
| /optee_os/core/drivers/crypto/se050/core/ |
| H A D | ctr.c | 20 int nc_off; member 93 n = c->nc_off; in se050_aes_ctr_update() 112 c->nc_off = n; in se050_aes_ctr_update()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | camellia.h | 283 size_t *nc_off,
|
| H A D | aria.h | 323 size_t *nc_off,
|
| H A D | aes.h | 574 size_t *nc_off,
|
| /optee_os/lib/libmbedtls/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 | 210 static int aes_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, 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() 825 static int camellia_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap() argument 829 return mbedtls_camellia_crypt_ctr((mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap() 1251 static int aria_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aria_crypt_ctr_wrap() argument 1255 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() argument 633 n = *nc_off; in mbedtls_camellia_crypt_ctr() 655 *nc_off = n; in mbedtls_camellia_crypt_ctr()
|
| H A D | aria.c | 622 size_t *nc_off, in mbedtls_aria_crypt_ctr() argument 631 n = *nc_off; in mbedtls_aria_crypt_ctr() 655 *nc_off = n; in mbedtls_aria_crypt_ctr()
|
| H A D | aes.c | 1439 size_t *nc_off, in mbedtls_aes_crypt_ctr() argument 1447 size_t offset = *nc_off; in mbedtls_aes_crypt_ctr() 1475 *nc_off = (*nc_off + length) % 16; in mbedtls_aes_crypt_ctr()
|