Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dchachapoly.c134 unsigned char poly1305_key[64]; in mbedtls_chachapoly_starts() local
148 memset( poly1305_key, 0, sizeof( poly1305_key ) ); in mbedtls_chachapoly_starts()
149 ret = mbedtls_chacha20_update( &ctx->chacha20_ctx, sizeof( poly1305_key ), in mbedtls_chachapoly_starts()
150 poly1305_key, poly1305_key ); in mbedtls_chachapoly_starts()
154 ret = mbedtls_poly1305_starts( &ctx->poly1305_ctx, poly1305_key ); in mbedtls_chachapoly_starts()
165 mbedtls_platform_zeroize( poly1305_key, 64U ); in mbedtls_chachapoly_starts()

Completed in 4 milliseconds