Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • ea8b6e2
  • /
  • providers
  • /
  • implementations
  • /
  • encode_decode
  • /
  • build.info
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:d3f6ca4abdef7e6ba50cbe81112837bc0c3309db
directory badge Iframe embedding
swh:1:dir:fe9a1635eaf8b4bc58edcb47cc8abf49b7485fa5
build.info
# We make separate GOAL variables for each algorithm, to make it easy to
# switch each to the Legacy provider when needed.

$ENCODER_GOAL=../../libdefault.a
$DECODER_GOAL=../../libdefault.a

SOURCE[$ENCODER_GOAL]=endecoder_common.c

SOURCE[$DECODER_GOAL]=decode_der2key.c decode_epki2pki.c decode_pem2der.c \
                      decode_msblob2key.c decode_pvk2key.c \
                      decode_spki2typespki.c

SOURCE[$ENCODER_GOAL]=encode_key2any.c encode_key2text.c encode_key2ms.c
# encode_key2blob.c is only being included when EC is enabled, because we
# currently only define a "blob" output type for EC public keys.  This may
# change in the future.
IF[{- !$disabled{ec} -}]
  SOURCE[$ENCODER_GOAL]=encode_key2blob.c
ENDIF
DEPEND[encode_key2any.o]=../../common/include/prov/der_rsa.h

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top