core: fix right shift in sm3_process()

Replaces right shift operations on 32-bit integers by more than 31 bits
with 0.

This fixes coverity scan:
CID 1501844 (#1 of 1): Bad bit shift operation (BAD_SHIFT)

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: 70f202578ea6d8c0c7667d2988ff6eb12defdc68
  1. .github/
  2. core/
  3. keys/
  4. ldelf/
  5. lib/
  6. mk/
  7. scripts/
  8. ta/
  9. .azure-pipelines.yml
  10. .checkpatch.conf
  11. .gitattributes
  12. .gitignore
  13. .travis.yml
  14. CHANGELOG.md
  15. LICENSE
  16. MAINTAINERS
  17. Makefile
  18. README.md
  19. typedefs.checkpatch
README.md

OP-TEE Trusted OS

This git contains source code for the secure side implementation of OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io.

// OP-TEE core maintainers