Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 14 of 14) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_encode.c47 FILE *stream = NULL; in CC_CommonBase64Encode() local
65 stream = fmemopen(pEncBuff, *pEecBuffLen, "w"); in CC_CommonBase64Encode()
66 if (NULL == stream) { in CC_CommonBase64Encode()
76 bio = BIO_new_fp(stream, BIO_NOCLOSE); in CC_CommonBase64Encode()
97 if (stream != NULL) { in CC_CommonBase64Encode()
98 fclose(stream); in CC_CommonBase64Encode()
122 FILE* stream = NULL; in CC_CommonBase64Decode() local
152 stream = fmemopen(pEncBuff, encBuffLen, "r"); in CC_CommonBase64Decode()
153 if (NULL == stream) { in CC_CommonBase64Decode()
165 bio = BIO_new_fp(stream, BIO_NOCLOSE); in CC_CommonBase64Decode()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/
Dcc3xx_internal_cipher.c238 memset(&operation->stream, 0, sizeof(operation->stream)); in cc3xx_internal_cipher_setup_init()
239 operation->stream.idx = sizeof(operation->stream.buf); in cc3xx_internal_cipher_setup_init()
253 operation->stream.update = cc3xx_lowlevel_chacha20_update; in cc3xx_internal_cipher_setup_init()
254 operation->stream.set_output_buffer = cc3xx_lowlevel_chacha20_set_output_buffer; in cc3xx_internal_cipher_setup_init()
448 struct cc3xx_internal_cipher_stream_t *stream, in cc3xx_internal_cipher_stream_pre_update() argument
454 CC3XX_ASSERT(stream != NULL); in cc3xx_internal_cipher_stream_pre_update()
460 keystream_size = (sizeof(stream->buf) - stream->idx) > 0 ? in cc3xx_internal_cipher_stream_pre_update()
461 (sizeof(stream->buf) - stream->idx) : 0; in cc3xx_internal_cipher_stream_pre_update()
471 stream->buf[stream->idx + permutation_buf[idx]] ^ input[permutation_buf[idx]]; in cc3xx_internal_cipher_stream_pre_update()
474 stream->idx += size_to_pre_process; in cc3xx_internal_cipher_stream_pre_update()
[all …]
Dcc3xx_psa_cipher.c363 &(operation->stream), input, input_length, in cc3xx_cipher_update()
388 &(operation->stream), processed_length, input, input_length, in cc3xx_cipher_update()
Dcc3xx_psa_aead.c413 &(operation->stream), input, input_length, in cc3xx_aead_update()
445 &(operation->stream), processed_length, input, input_length, in cc3xx_aead_update()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dretarget.c124 int fputc(int ch, FILE *stream);
127 int fgetc(FILE *stream);
128 int ferror(FILE *stream);
670 int fputc(int ch, FILE *stream) in fputc() argument
672 (void)stream; in fputc()
723 int fgetc(FILE *stream) in fgetc() argument
725 (void)stream; in fgetc()
744 int ferror(FILE *stream) in ferror() argument
746 (void)stream; in ferror()
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/
Dcc3xx_internal_cipher.h88 struct cc3xx_internal_cipher_stream_t *stream,
109 struct cc3xx_internal_cipher_stream_t *stream,
Dcc3xx_crypto_primitives_private.h104 …struct cc3xx_internal_cipher_stream_t stream; /*!< Holds the keystream if alg is PSA_ALG_STREAM_CI… member
/trusted-firmware-m-3.7.0/interface/include/mbedtls/
Dplatform.h176 extern int (*mbedtls_fprintf)(FILE *stream, const char *format, ...);
187 int mbedtls_platform_set_fprintf(int (*fprintf_func)(FILE *stream, const char *,
317 extern void (*mbedtls_setbuf)(FILE *stream, char *buf);
329 FILE *stream, char *buf));
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dretarget.c152 int fputc(int ch, FILE *stream);
155 int fgetc(FILE *stream);
156 int ferror(FILE *stream);
758 int fputc(int ch, FILE *stream) in fputc() argument
760 (void)stream; in fputc()
809 int fgetc(FILE *stream) in fgetc() argument
811 (void)stream; in fgetc()
830 int ferror(FILE *stream) in ferror() argument
832 (void)stream; in ferror()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/bl1/scripts/
Dcreate_bl1_1_dma_bin.py23 def __init__(self, stream): argument
24 self._root = os.path.split(stream.name)[0]
25 super(Loader, self).__init__(stream)
/trusted-firmware-m-3.7.0/docs/configuration/
Dtest_configuration.rst96 | TFM_CRYPTO_TEST_CHACHA20 | Test ChaCha20 stream cipher | ON |
/trusted-firmware-m-3.7.0/docs/configuration/profiles/
Dtfm_profile_large.rst363 …| ``TFM_CRYPTO_TEST_CHACHA20`` | ``OFF`` | Test ChaCha20 stream cipher …
Dtfm_profile_medium.rst297 …| ``TFM_CRYPTO_TEST_CHACHA20`` | ``OFF`` | Disable ChaCha20 stream cipher test…
Dtfm_profile_small.rst496 …| ``TFM_CRYPTO_TEST_CHACHA20`` | ``OFF`` | Test ChaCha20 stream cipher …