comparison libtomcrypt/src/pk/asn1/der/boolean/der_length_boolean.c @ 1471:6dba84798cd5

Update to libtomcrypt 1.18.1, merged with Dropbear changes
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 21:44:05 +0800
parents f849a5ca2efc
children
comparison
equal deleted inserted replaced
1470:8bba51a55704 1471:6dba84798cd5
3 * LibTomCrypt is a library that provides various cryptographic 3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner. 4 * algorithms in a highly modular and flexible manner.
5 * 5 *
6 * The library is free for all purposes without any express 6 * The library is free for all purposes without any express
7 * guarantee it works. 7 * guarantee it works.
8 *
9 * Tom St Denis, [email protected], http://libtom.org
10 */ 8 */
11 #include "tomcrypt.h" 9 #include "tomcrypt.h"
12 10
13 /** 11 /**
14 @file der_length_boolean.c 12 @file der_length_boolean.c
15 ASN.1 DER, get length of a BOOLEAN, Tom St Denis 13 ASN.1 DER, get length of a BOOLEAN, Tom St Denis
16 */ 14 */
17 15
18 #ifdef LTC_DER 16 #ifdef LTC_DER
19 /** 17 /**
20 Gets length of DER encoding of a BOOLEAN 18 Gets length of DER encoding of a BOOLEAN
21 @param outlen [out] The length of the DER encoding 19 @param outlen [out] The length of the DER encoding
22 @return CRYPT_OK if successful 20 @return CRYPT_OK if successful
23 */ 21 */
24 int der_length_boolean(unsigned long *outlen) 22 int der_length_boolean(unsigned long *outlen)
25 { 23 {
28 return CRYPT_OK; 26 return CRYPT_OK;
29 } 27 }
30 28
31 #endif 29 #endif
32 30
33 /* $Source$ */ 31 /* ref: $Format:%D$ */
34 /* $Revision$ */ 32 /* git commit: $Format:%H$ */
35 /* $Date$ */ 33 /* commit time: $Format:%ai$ */