Fixed endianness in Curve25519 implementation (no consequence on security). Also added new Curve25519 code for 64-bit platforms.
This commit is contained in:
parent
fd98320c82
commit
52a69fe3de
10 changed files with 708 additions and 27 deletions
|
|
@ -26,6 +26,7 @@ OBJ = \
|
|||
$(OBJDIR)$Pec_c25519_i31$O \
|
||||
$(OBJDIR)$Pec_c25519_m15$O \
|
||||
$(OBJDIR)$Pec_c25519_m31$O \
|
||||
$(OBJDIR)$Pec_c25519_m62$O \
|
||||
$(OBJDIR)$Pec_curve25519$O \
|
||||
$(OBJDIR)$Pec_default$O \
|
||||
$(OBJDIR)$Pec_keygen$O \
|
||||
|
|
@ -446,6 +447,9 @@ $(OBJDIR)$Pec_c25519_m15$O: src$Pec$Pec_c25519_m15.c $(HEADERSPRIV)
|
|||
$(OBJDIR)$Pec_c25519_m31$O: src$Pec$Pec_c25519_m31.c $(HEADERSPRIV)
|
||||
$(CC) $(CFLAGS) $(INCFLAGS) $(CCOUT)$(OBJDIR)$Pec_c25519_m31$O src$Pec$Pec_c25519_m31.c
|
||||
|
||||
$(OBJDIR)$Pec_c25519_m62$O: src$Pec$Pec_c25519_m62.c $(HEADERSPRIV)
|
||||
$(CC) $(CFLAGS) $(INCFLAGS) $(CCOUT)$(OBJDIR)$Pec_c25519_m62$O src$Pec$Pec_c25519_m62.c
|
||||
|
||||
$(OBJDIR)$Pec_curve25519$O: src$Pec$Pec_curve25519.c $(HEADERSPRIV)
|
||||
$(CC) $(CFLAGS) $(INCFLAGS) $(CCOUT)$(OBJDIR)$Pec_curve25519$O src$Pec$Pec_curve25519.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue