Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_chacha_poly.c31 uint8_t chachaOutState[CC_CHACHA_BLOCK_SIZE_IN_BYTES] = {0}; in mbedtls_chacha_poly() local
63 …_Nonce96BitSize, pKey, 0, CC_CHACHA_Encrypt, chachaInState, sizeof(chachaInState), chachaOutState); in mbedtls_chacha_poly()
69 CC_PalMemCopy(polyKey, chachaOutState, sizeof(polyKey)); in mbedtls_chacha_poly()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dchachapoly_alt.c114 uint8_t chachaOutState[MBEDTLS_CHACHA_BLOCK_SIZE_BYTES] = {0}; in chachapoly_crypt_and_tag() local
133 …rc = mbedtls_chacha20_crypt( key, nonce, 0, sizeof(chachaInState), chachaInState, chachaOutState ); in chachapoly_crypt_and_tag()
138 CC_PalMemCopy(polyKey, chachaOutState, sizeof(polyKey)); in chachapoly_crypt_and_tag()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20_poly1305.c144 uint8_t chachaOutState[CHACHA_BLOCK_SIZE_BYTES] = {0}; in cc3xx_chacha20_poly1305_gen_otk() local
168 chachaOutState, sizeof(chachaOutState), in cc3xx_chacha20_poly1305_gen_otk()
179 CC_PalMemCopy(otk, chachaOutState, 32); in cc3xx_chacha20_poly1305_gen_otk()