Lines Matching defs:tmp
116 uint8_t tmp[PSA_HASH_MAX_SIZE];
122 status = psa_hash_finish(&hmac->hash_ctx, tmp, sizeof(tmp), &hash_size);
126 /* From here on, tmp needs to be wiped. */
138 status = psa_hash_update(&hmac->hash_ctx, tmp, hash_size);
143 status = psa_hash_finish(&hmac->hash_ctx, tmp, sizeof(tmp), &hash_size);
148 memcpy(mac, tmp, mac_size);
151 mbedtls_platform_zeroize(tmp, hash_size);
378 uint8_t tmp[PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE];
379 int ret = mbedtls_cipher_cmac_finish(&operation->ctx.cmac, tmp);
381 memcpy(mac, tmp, mac_size);
383 mbedtls_platform_zeroize(tmp, sizeof(tmp));