Home
last modified time | relevance | path

Searched refs:stream_block (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Daes_ctr.c122 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-3.20.0/lib/libmbedtls/mbedtls/library/
A Dblowfish.c368 unsigned char stream_block[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_ctr()
376 BLOWFISH_VALIDATE_RET( stream_block != NULL ); in mbedtls_blowfish_crypt_ctr()
389 stream_block ); in mbedtls_blowfish_crypt_ctr()
396 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_blowfish_crypt_ctr()
A Dcamellia.c667 unsigned char stream_block[16], in mbedtls_camellia_crypt_ctr()
675 CAMELLIA_VALIDATE_RET( stream_block != NULL ); in mbedtls_camellia_crypt_ctr()
688 stream_block ); in mbedtls_camellia_crypt_ctr()
695 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_camellia_crypt_ctr()
920 unsigned char stream_block[16]; in mbedtls_camellia_self_test() local
1044 mbedtls_camellia_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test()
1059 mbedtls_camellia_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test()
A Dcipher_wrap.c175 unsigned char *nonce_counter, unsigned char *stream_block, in aes_crypt_ctr_wrap() argument
179 stream_block, input, output ); in aes_crypt_ctr_wrap()
705 unsigned char *nonce_counter, unsigned char *stream_block, in camellia_crypt_ctr_wrap() argument
709 nonce_counter, stream_block, input, output ); in camellia_crypt_ctr_wrap()
1089 unsigned char *nonce_counter, unsigned char *stream_block, in aria_crypt_ctr_wrap() argument
1093 nonce_counter, stream_block, input, output ); in aria_crypt_ctr_wrap()
1749 unsigned char *nonce_counter, unsigned char *stream_block, in blowfish_crypt_ctr_wrap() argument
1753 nonce_counter, stream_block, input, output ); in blowfish_crypt_ctr_wrap()
A Daria.c720 unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE], in mbedtls_aria_crypt_ctr()
731 ARIA_VALIDATE_RET( stream_block != NULL ); in mbedtls_aria_crypt_ctr()
745 stream_block ); in mbedtls_aria_crypt_ctr()
752 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_aria_crypt_ctr()
A Daes.c1405 unsigned char stream_block[16], in mbedtls_aes_crypt_ctr()
1416 AES_VALIDATE_RET( stream_block != NULL ); in mbedtls_aes_crypt_ctr()
1428 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, nonce_counter, stream_block ); in mbedtls_aes_crypt_ctr()
1437 *output++ = (unsigned char)( c ^ stream_block[n] ); in mbedtls_aes_crypt_ctr()
1788 unsigned char stream_block[16]; in mbedtls_aes_self_test() local
2091 stream_block, buf, buf ); in mbedtls_aes_self_test()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dcamellia.h307 unsigned char stream_block[16],
A Dblowfish.h279 unsigned char stream_block[MBEDTLS_BLOWFISH_BLOCKSIZE],
A Daria.h355 unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE],
A Dcipher_internal.h80 unsigned char *nonce_counter, unsigned char *stream_block,
A Daes.h598 unsigned char stream_block[16],

Completed in 23 milliseconds