 +# chacha
 +set(chacha_srcs # order from crypto/chacha/build.info
 +  chacha/build.info
++  chacha/chacha_enc.c # chacha_asm_src DEFAULT (Configurations/00-base-templates.conf)
 +  )
 +source_group(chacha FILES ${chacha_srcs})
 +list(APPEND ${lib_name}_libsrcs ${chacha_srcs})
 +##########
-+set(chacha_extra # in directory, not in build.info
-+  chacha/chacha_enc.c
-+  )
-+list(APPEND chacha_extra # TODO asm
++set(chacha_extra # TODO asm
 +  chacha/asm/chacha-armv4.pl
 +  chacha/asm/chacha-armv8.pl
 +  chacha/asm/chacha-c64xplus.pl

+  )
+list(APPEND aes_srcs
+  aes/aes_locl.h
+  )
+source_group(aes FILES ${aes_srcs})
+list(APPEND ${lib_name}_libsrcs ${aes_srcs})
+##########
+set(aes_extra # in directory, not in build.info
+  aes/aes_cbc.c
+  aes/aes_core.c
+  aes/aes_x86core.c
+  )
+list(APPEND aes_extra # TODO asm

+set(rc4_srcs
+  rc4/build.info
+  rc4/rc4_locl.h
+  rc4/rc4_enc.c # rc4_asm_src DEFAULT (Configurations/00-base-templates.conf)
+  rc4/rc4_skey.c # rc4_asm_src DEFAULT (Configurations/00-base-templates.conf)
+  )
+source_group(rc4 FILES ${rc4_srcs})
+list(APPEND ${lib_name}_libsrcs ${rc4_srcs})
+##########
+set(rc4_extra # TODO asm
+  rc4/asm/rc4-586.pl
+  rc4/asm/rc4-c64xplus.pl
+  rc4/asm/rc4-md5-x86_64.pl
