Skip to main content

GPU Accelerated Cryptography as an OS Service

  • Chapter
Transactions on Computational Science XI

Part of the book series: Lecture Notes in Computer Science ((TCOMPUTATSCIE,volume 6480))

Abstract

Graphics processing units (GPUs) have become popular devices for accelerating general purpose computing. In recent years there has been a surge in research involving the use of GPUs as cryptographic accelerators. Research has shown that contemporary GPU architectures can achieve higher throughput in the context of both symmetric and asymmetric key cryptography than a traditional CPU. Despite the existence of these new approaches, there remains no way for OS kernel services or userspace applications to make use of these implementations in a practical manner. To overcome this shortcoming, this paper investigates the integration of GPU accelerated cryptographic algorithms with an established service virtualisation layer within the Linux kernel, the OCF-Linux framework. This paper demonstrates that it is feasible to use a centralised kernel service to provide a standardised abstraction to GPU accelerated cryptographic functions for both kernelspace and userspace components.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bernstein, D., Chen, T.-R., Cheng, C.-M., Lange, T., Yang, B.-Y.: ECM on Graphics Cards. In: International Conference on Advances in Cryptology - Eurocrypt, pp. 483–501 (April 2009)

    Google Scholar 

  2. Fleissner, S.: GPU-Accelerated Montgomery Exponentiation. In: International Conference on Computational Science ICCS, pp. 213–220 (May 2007)

    Google Scholar 

  3. Harrison, O., Waldron, J.: AES Encryption Implementation and Analysis on Commodity Graphics Processing Units. In: Paillier, P., Verbauwhede, I. (eds.) CHES 2007. LNCS, vol. 4727, pp. 209–226. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  4. Harrison, O., Waldron, J.: Practical Symmetric Key Cryptography on Modern Graphics Hardware. In: USENIX Security Symposium, pp. 195–209 (July 2008)

    Google Scholar 

  5. Harrison, O., Waldron, J.: Efficient Acceleration of Asymmetric Cryptography on Graphics Hardware. In: Preneel, B. (ed.) AFRICACRYPT 2009. LNCS, vol. 5580, pp. 350–367. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  6. Manavski, S.A.: CUDA Compatible GPU as an Efficient Hardware Accelerator for AES Cryptography. In: IEEE International Conference on Signal Processing and Communications, pp. 65–68 (November 2007)

    Google Scholar 

  7. Moss, A., Page, D., Smart, N.P.: Toward Acceleration of RSA Using 3D Graphics Hardware. In: IMA International Conference on Cryptography and Coding, pp. 364–383 (December 2007)

    Google Scholar 

  8. Szerwinski, R., Güneysu, T.: Exploiting the Power of GPUs for Asymmetric Cryptography. In: Oswald, E., Rohatgi, P. (eds.) CHES 2008. LNCS, vol. 5154, pp. 79–99. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  9. Yang, J., Goodman, J.: Symmetric Key Cryptography on Modern Graphics Hardware. In: Kurosawa, K. (ed.) ASIACRYPT 2007. LNCS, vol. 4833, pp. 249–264. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  10. Yeom, Y., Cho, Y., Yung, M.: High-Speed Implementations of Block Cipher ARIA Using Graphics Processing Units. In: International Conference on Multimedia and Ubiquitous Engineering, pp. 271–275 (April 2008)

    Google Scholar 

  11. Leffler, S.J.: Cryptographic device support for FreeBSD. In: Usenix, BSD Conference, pp. 69–78 (September 2003)

    Google Scholar 

  12. OCF-Linux Project, http://ocf-linux.sourceforge.net/

  13. linux-crypto (Crypto API), http://mail.nl.linux.org/linux-crypto/

  14. Harrison, O.: Source code, http://www.scss.tcd.ie/~harrisoo/code.html

  15. Blythe, D.: The Direct 3D 10 System. ACM Transactions on Graphics 25(3), 724–734 (2006)

    Article  MathSciNet  Google Scholar 

  16. Nvidia Corporation, CUDA, http://developer.nvidia.com/object/cuda.html

  17. Rosenberg, U.: Using Graphic Processing Unit in Block Cipher Calculations. Master’s Thesis, University of Tartu (2007)

    Google Scholar 

  18. Harrison, O.: Acceleration of Cryptographic Functions using Graphics Hardware (2010), https://www.scss.tcd.ie/publications/tech-reports/tr-index.10.php

  19. Quisquater, J.-J., Couvreur, C.: Fast Decipherment Algorithm for RSA Public-Key Cryptosystem. Electronics Letters 18(21), 905–907 (2008)

    Google Scholar 

  20. Menezes, A., van Oorschot, P., Vanstone, S.: Handbook of Applied Cryptography. CRC Press, Boca Raton (1996)

    Book  Google Scholar 

  21. Riffa, M.C., Bonnairea, X., Neveub, B.: A revision of recent approaches for two-dimensional strip-packing problems. Engineering Applications of Artificial Intelligence 22(4-5), 823–827 (2009)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Harrison, O., Waldron, J. (2010). GPU Accelerated Cryptography as an OS Service. In: Gavrilova, M.L., Tan, C.J.K., Moreno, E.D. (eds) Transactions on Computational Science XI. Lecture Notes in Computer Science, vol 6480. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-17697-5_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-17697-5_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-17696-8

  • Online ISBN: 978-3-642-17697-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics