Searched refs:stream_block (Results 1 – 9 of 9) sorted by relevance
| /optee_os/lib/libmbedtls/core/ |
| H A D | aes_ctr.c | 122 static void next_ctr(unsigned char stream_block[16], mbedtls_aes_context *ctx, in next_ctr() 127 crypto_accel_aes_ctr_be_enc(stream_block, zeroes, ctx->key, in next_ctr() 133 unsigned char stream_block[16], in mbedtls_aes_crypt_ctr() 146 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr() 164 next_ctr(stream_block, ctx, nonce_counter); in mbedtls_aes_crypt_ctr() 165 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | camellia.c | 626 unsigned char stream_block[16], in mbedtls_camellia_crypt_ctr() 641 stream_block); in mbedtls_camellia_crypt_ctr() 650 *output++ = (unsigned char) (c ^ stream_block[n]); in mbedtls_camellia_crypt_ctr() 875 unsigned char stream_block[16]; in mbedtls_camellia_self_test() local 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 215 stream_block, input, output); 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 | 624 unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE], in mbedtls_aria_crypt_ctr() 641 stream_block); in mbedtls_aria_crypt_ctr() 650 *output++ = (unsigned char) (c ^ stream_block[n]); in mbedtls_aria_crypt_ctr()
|
| H A D | aes.c | 1441 unsigned char stream_block[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() 1468 mbedtls_xor(&output[i], &input[i], &stream_block[offset], n); in mbedtls_aes_crypt_ctr() 1840 unsigned char stream_block[16]; in mbedtls_aes_self_test() local 2191 stream_block, buf, buf); in mbedtls_aes_self_test()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | camellia.h | 285 unsigned char stream_block[16],
|
| H A D | aria.h | 325 unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE],
|
| H A D | aes.h | 576 unsigned char stream_block[16],
|