Home
last modified time | relevance | path

Searched refs:nc_off (Results 1 – 12 of 12) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Daes_ctr.c24 size_t nc_off; member
52 c->nc_off = 0; in mbed_aes_ctr_init()
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()
165 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr()
[all …]
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dctr.c20 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-3.20.0/lib/libmbedtls/mbedtls/library/
A Dblowfish.c366 size_t *nc_off, in mbedtls_blowfish_crypt_ctr() argument
377 BLOWFISH_VALIDATE_RET( nc_off != NULL ); in mbedtls_blowfish_crypt_ctr()
381 n = *nc_off; in mbedtls_blowfish_crypt_ctr()
401 *nc_off = n; in mbedtls_blowfish_crypt_ctr()
A Dcipher_wrap.c174 static int aes_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() argument
178 return mbedtls_aes_crypt_ctr( (mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap()
704 static int camellia_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap() argument
708 return mbedtls_camellia_crypt_ctr( (mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap()
1088 static int aria_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in aria_crypt_ctr_wrap() argument
1092 return mbedtls_aria_crypt_ctr( (mbedtls_aria_context *) ctx, length, nc_off, in aria_crypt_ctr_wrap()
1748 static int blowfish_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in blowfish_crypt_ctr_wrap() argument
1752 return mbedtls_blowfish_crypt_ctr( (mbedtls_blowfish_context *) ctx, length, nc_off, in blowfish_crypt_ctr_wrap()
A Dcamellia.c665 size_t *nc_off, in mbedtls_camellia_crypt_ctr() argument
676 CAMELLIA_VALIDATE_RET( nc_off != NULL ); in mbedtls_camellia_crypt_ctr()
680 n = *nc_off; in mbedtls_camellia_crypt_ctr()
700 *nc_off = n; in mbedtls_camellia_crypt_ctr()
A Daria.c718 size_t *nc_off, in mbedtls_aria_crypt_ctr() argument
732 ARIA_VALIDATE_RET( nc_off != NULL ); in mbedtls_aria_crypt_ctr()
734 n = *nc_off; in mbedtls_aria_crypt_ctr()
757 *nc_off = n; in mbedtls_aria_crypt_ctr()
A Daes.c1403 size_t *nc_off, in mbedtls_aes_crypt_ctr() argument
1414 AES_VALIDATE_RET( nc_off != NULL ); in mbedtls_aes_crypt_ctr()
1420 n = *nc_off; in mbedtls_aes_crypt_ctr()
1442 *nc_off = n; in mbedtls_aes_crypt_ctr()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dcamellia.h305 size_t *nc_off,
A Dblowfish.h277 size_t *nc_off,
A Daria.h353 size_t *nc_off,
A Dcipher_internal.h79 int (*ctr_func)( void *ctx, size_t length, size_t *nc_off,
A Daes.h596 size_t *nc_off,

Completed in 20 milliseconds