 +list(APPEND des_srcs
 +  des/des_locl.h
 +  des/spr.h
++  des/des_enc.c # des_asm_src DEFAULT (Configurations/00-base-templates.conf)
++  des/fcrypt_b.c # des_asm_src DEFAULT (Configurations/00-base-templates.conf)
 +  )
 +source_group(des FILES ${des_srcs})
 +list(APPEND ${lib_name}_libsrcs ${des_srcs})
 +##########
 +set(des_extra # in directory, not in build.info
-+  des/cfb64ede.c
-+  des/des_enc.c
-+  des/fcrypt_b.c
 +  des/ncbc_enc.c
 +  )
 +list(APPEND des_extra # TODO asm

+# chacha
+set(chacha_srcs # order from crypto/chacha/build.info
+  chacha/build.info
+  )
+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
+  chacha/asm/chacha-armv4.pl
+  chacha/asm/chacha-armv8.pl
+  chacha/asm/chacha-c64xplus.pl

+  )
+list(APPEND whrlpool_srcs
+  whrlpool/wp_locl.h
+  whrlpool/wp_block.c # wp_asm_src DEFAULT (Configurations/00-base-templates.conf)
+  )
+source_group(whrlpool FILES ${whrlpool_srcs})
+list(APPEND ${lib_name}_libsrcs ${whrlpool_srcs})
+##########
+set(whrlpool_extra # TODO asm
+  whrlpool/asm/wp-mmx.pl
+  whrlpool/asm/wp-x86_64.pl
+  )
