Searched refs:polyMac (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/ |
D | mbedtls_cc_chacha_poly.c | 33 mbedtls_poly_mac polyMac = {0}; in mbedtls_chacha_poly() local 81 rc = PolyMacCalc(polyKey, pAddData, addDataSize, pCipherData, dataInSize, polyMac, true); in mbedtls_chacha_poly() 88 CC_PalMemCopy(macRes, polyMac, sizeof(polyMac)); in mbedtls_chacha_poly() 93 if (CC_PalMemCmp(macRes, polyMac, sizeof(polyMac)) != 0) { in mbedtls_chacha_poly()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | chachapoly_alt.c | 116 mbedtls_poly_mac polyMac = {0}; in chachapoly_crypt_and_tag() local 149 rc = PolyMacCalc(polyKey, aad, aad_len, pCipherData, length, polyMac, true); in chachapoly_crypt_and_tag() 155 CC_PalMemCopy(tag, polyMac, sizeof(polyMac)); in chachapoly_crypt_and_tag()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_chacha20_poly1305.c | 36 mbedtls_poly_mac polyMac = {0}; in chacha20_poly1305_crypt_and_tag() local 95 length, polyMac, true); in chacha20_poly1305_crypt_and_tag() 101 CC_PalMemCopy(tag, polyMac, sizeof(polyMac)); in chacha20_poly1305_crypt_and_tag()
|