• K
    Add aliases for des-ede-ecb and des-ede3-ecb ciphers. · 842dc987
    Kirill Marinushkin 提交于
    Currently we can get all block ciphers with
    	EVP_get_cipherbyname("<alg_name>-<block-mode-name>")
    for example, by names "aes-128-ecb" or "des-ede-cbc".
    I found a problem with des-ede-ecb and des-ede3-ecb ciphers as
    they can be accessed only with names:
    	EVP_get_cipherbyname("des-ede")
    	EVP_get_cipherbyname("des-ede3")
    It breaks the general concept.
    
    In this patch I add aliases which allow to use names:
    	EVP_get_cipherbyname("des-ede-ecb")
    	EVP_get_cipherbyname("des-ede3-ecb")
    in addition to the currently used names.
    Reviewed-by: NRichard Levitte <levitte@openssl.org>
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    842dc987
c_allc.c 10.4 KB