Changeset 1bcd0378 in rtems


Ignore:
Timestamp:
Nov 13, 2014, 12:18:24 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
4466321
Parents:
a2b6895
git-author:
Sebastian Huber <sebastian.huber@…> (11/13/14 12:18:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:21)
Message:

Add SHA256 and SHA512 support

Files:
8 added
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    ra2b6895 r1bcd0378  
    4848
    4949include_HEADERS += include/memory.h
    50 include_HEADERS += libmd/md4.h
    51 include_HEADERS += libmd/md5.h
    5250
    5351include_sys_HEADERS += libcsupport/include/sys/ioccom.h
  • cpukit/libmd/Makefile.am

    ra2b6895 r1bcd0378  
    22
    33if NEWLIB
     4include_HEADERS =
     5include_HEADERS += md4.h
     6include_HEADERS += md5.h
     7include_HEADERS += sha256.h
     8include_HEADERS += sha512.h
     9
    410noinst_LIBRARIES = libmd.a
    5 libmd_a_SOURCES = md5.h md5.c
    6 libmd_a_SOURCES += md4.h md4.c
     11libmd_a_SOURCES =
     12libmd_a_SOURCES += md4.c
     13libmd_a_SOURCES += md5.c
     14libmd_a_SOURCES += sha256c.c
     15libmd_a_SOURCES += sha512c.c
    716libmd_a_CPPFLAGS = $(AM_CPPFLAGS)
    817endif
  • cpukit/libmd/preinstall.am

    ra2b6895 r1bcd0378  
    66endif
    77
     8PREINSTALL_DIRS =
     9DISTCLEANFILES = $(PREINSTALL_DIRS)
     10
     11all-am: $(PREINSTALL_FILES)
     12
     13PREINSTALL_FILES =
     14CLEANFILES = $(PREINSTALL_FILES)
     15
     16$(PROJECT_INCLUDE)/$(dirstamp):
     17        @$(MKDIR_P) $(PROJECT_INCLUDE)
     18        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     19PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
     20
     21if NEWLIB
     22$(PROJECT_INCLUDE)/md4.h: md4.h $(PROJECT_INCLUDE)/$(dirstamp)
     23        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/md4.h
     24PREINSTALL_FILES += $(PROJECT_INCLUDE)/md4.h
     25
     26$(PROJECT_INCLUDE)/md5.h: md5.h $(PROJECT_INCLUDE)/$(dirstamp)
     27        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/md5.h
     28PREINSTALL_FILES += $(PROJECT_INCLUDE)/md5.h
     29
     30$(PROJECT_INCLUDE)/sha256.h: sha256.h $(PROJECT_INCLUDE)/$(dirstamp)
     31        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sha256.h
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/sha256.h
     33
     34$(PROJECT_INCLUDE)/sha512.h: sha512.h $(PROJECT_INCLUDE)/$(dirstamp)
     35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sha512.h
     36PREINSTALL_FILES += $(PROJECT_INCLUDE)/sha512.h
     37endif
  • cpukit/preinstall.am

    ra2b6895 r1bcd0378  
    5555        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/memory.h
    5656PREINSTALL_FILES += $(PROJECT_INCLUDE)/memory.h
    57 
    58 $(PROJECT_INCLUDE)/md4.h: libmd/md4.h $(PROJECT_INCLUDE)/$(dirstamp)
    59         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/md4.h
    60 PREINSTALL_FILES += $(PROJECT_INCLUDE)/md4.h
    61 
    62 $(PROJECT_INCLUDE)/md5.h: libmd/md5.h $(PROJECT_INCLUDE)/$(dirstamp)
    63         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/md5.h
    64 PREINSTALL_FILES += $(PROJECT_INCLUDE)/md5.h
    6557
    6658$(PROJECT_INCLUDE)/sys/ioccom.h: libcsupport/include/sys/ioccom.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
  • testsuites/libtests/Makefile.am

    ra2b6895 r1bcd0378  
    22
    33_SUBDIRS = POSIX
     4_SUBDIRS += sha
    45_SUBDIRS += i2c01
    56_SUBDIRS += newlib01
  • testsuites/libtests/configure.ac

    ra2b6895 r1bcd0378  
    6767# Explicitly list all Makefiles here
    6868AC_CONFIG_FILES([Makefile
     69sha/Makefile
    6970i2c01/Makefile
    7071newlib01/Makefile
Note: See TracChangeset for help on using the changeset viewer.