简体   繁体   English

OpenSSL中的AES GCM非EVP实施?

[英]AES GCM non-EVP implementation in openssl?

Does openssl have a "raw" (non-EVP) interface to do AES GCM encryption and decryption? openssl是否具有“原始”(非EVP)接口来执行AES GCM加密和解密? I'm looking for something comparable to AES_cbc_encrypt() or DES_ede3_cbc_encrypt(), but for AES GCM. 我正在寻找与AES_cbc_encrypt()或DES_ede3_cbc_encrypt()类似的东西,但对于AES GCM。 I found the openssl EVP interfaces for AES GCM but I can't find any information on any non-EVP interface. 我找到了AES GCM的openssl EVP接口,但找不到任何非EVP接口的任何信息。

I understand the EVP interface has many advantages for general purpose use, but I'm doing some tests where a non-EVP interface would be easier to use. 我了解EVP接口对于通用用途具有许多优势,但是我正在做一些测试,这些测试中非EVP接口将更易于使用。

Once I was looking for it and I couldn't find any non-EVP implementation of it. 一旦我寻找它,就找不到它的任何非EVP实现。 According to the OpenSSL site 'the enc program does not support authenticated encryption modes like CCM and GCM'. 根据OpenSSL网站,“ enc程序不支持经过身份验证的加密模式,例如CCM和GCM”。 But it seems AES GCM only supported in TLS v1.2 (according to ' https://www.openssl.org/docs/manmaster/apps/ciphers.html '). 但是,似乎AES GCM仅在TLS v1.2中受支持(根据' https://www.openssl.org/docs/manmaster/apps/ciphers.html ')。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM