# Could the AWS-LC backend be considered for the crypto module in Erlang/OTP?

**URL:** <https://erlangforums.com/t/could-the-aws-lc-backend-be-considered-for-the-crypto-module-in-erlang-otp/5385>\
**Category:** Chat / Discussions\
**Tags:** erlang, erlang-otp\
**Created:** [January 21, 2026, 10:57am UTC](https://erlangforums.com/t/could-the-aws-lc-backend-be-considered-for-the-crypto-module-in-erlang-otp/5385 "2026-01-21T10:57:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![voluntas](https://erlangforums.com/user_avatar/erlangforums.com/voluntas/32/1031_2.png) [@voluntas](https://erlangforums.com/u/voluntas)\
**Post date:** [January 21, 2026, 10:57am UTC](https://erlangforums.com/t/could-the-aws-lc-backend-be-considered-for-the-crypto-module-in-erlang-otp/5385/1 "2026-01-21T10:57:23Z")

</div>

Hello.

Currently, Erlang/OTP supports OpenSSL and libressl as backends for its crypto module. I wonder whether it would be feasible to propose adding AWS-LC as an additional backend option.

> **[GitHub - aws/aws-lc: AWS-LC is a general-purpose cryptographic library...](https://github.com/aws/aws-lc)**
>
> AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It іs based on code from the Google BoringSSL project and the OpenSSL project.

Since AWS-LC is a cryptographic library maintained by a specific commercial entity,  
I’m concerned that some users might prefer to avoid vendor lock-in, which is why I’m reaching out to discuss this first.

While this is still in a prototype stage, we’ve successfully implemented AWS-LC support and verified that it functions properly in our product.

> **[Comparing erlang:master...voluntas:feature/aws-lc-support · erlang/otp](https://github.com/erlang/otp/compare/master...voluntas:otp:feature/aws-lc-support)**
>
> Erlang/OTP. Contribute to erlang/otp development by creating an account on GitHub.

There are some limitations—such as certain older algorithms not being supported or ChaCha20/Poly1305 requiring separate invocation—  
but considering both performance and security aspects, I believe AWS-LC presents a viable option.

Especially with recent trends of running Erlang/OTP on AWS, and considering the excellent compatibility between AWS’s high-core-count Graviton processors and Erlang/OTP,  
I’m inclined to think AWS-LC could be a good choice.

That said, I recognize that adding this would potentially increase the workload for the OTP maintainers,  
so in practical terms, continuing with custom patches might be more feasible.

I would be greatly appreciative of your input on this matter.

* * *

My perspective has been somewhat influenced by the following articles:

- [The State of OpenSSL for pyca/cryptography — Cryptography 47.0.0.dev1 documentation](https://cryptography.io/en/latest/statements/state-of-openssl/)
- [The State of SSL Stacks](https://www.haproxy.com/blog/state-of-ssl-stacks)
