/external/dropbear/libtomcrypt/src/pk/asn1/der/boolean/ |
H A D | der_length_boolean.c | 21 @param outlen [out] The length of the DER encoding 24 int der_length_boolean(unsigned long *outlen) argument 26 LTC_ARGCHK(outlen != NULL); 27 *outlen = 3;
|
H A D | der_encode_boolean.c | 25 @param outlen [in/out] The max size and resulting size of the DER BOOLEAN 29 unsigned char *out, unsigned long *outlen) 31 LTC_ARGCHK(outlen != NULL); 34 if (*outlen < 3) { 35 *outlen = 3; 39 *outlen = 3; 28 der_encode_boolean(int in, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/utctime/ |
H A D | der_length_utctime.c | 23 @param outlen [out] The length of the DER encoding 26 int der_length_utctime(ltc_utctime *utctime, unsigned long *outlen) argument 28 LTC_ARGCHK(outlen != NULL); 33 *outlen = 2 + 13; 36 *outlen = 2 + 17;
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/octet/ |
H A D | der_length_octet_string.c | 22 @param outlen [out] The length of the DER encoding for the given string 25 int der_length_octet_string(unsigned long noctets, unsigned long *outlen) argument 27 LTC_ARGCHK(outlen != NULL); 31 *outlen = 2 + noctets; 34 *outlen = 3 + noctets; 37 *outlen = 4 + noctets; 40 *outlen = 5 + noctets;
|
H A D | der_decode_octet_string.c | 26 @param outlen [in/out] The number of octets stored 30 unsigned char *out, unsigned long *outlen) 36 LTC_ARGCHK(outlen != NULL); 68 if (len > *outlen) { 69 *outlen = len; 82 *outlen = y; 29 der_decode_octet_string(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/ |
H A D | der_length_bit_string.c | 22 @param outlen [out] The length of the DER encoding for the given string 25 int der_length_bit_string(unsigned long nbits, unsigned long *outlen) argument 28 LTC_ARGCHK(outlen != NULL); 35 *outlen = 2 + nbytes; 38 *outlen = 3 + nbytes; 41 *outlen = 4 + nbytes;
|
H A D | der_decode_bit_string.c | 26 @param outlen [in/out] The number of bits stored 30 unsigned char *out, unsigned long *outlen) 36 LTC_ARGCHK(outlen != NULL); 80 if (blen > *outlen) { 81 *outlen = blen; 94 *outlen = blen; 29 der_decode_bit_string(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtommath/ |
H A D | bn_mp_to_signed_bin_n.c | 19 int mp_to_signed_bin_n (mp_int * a, unsigned char *b, unsigned long *outlen) argument 21 if (*outlen < (unsigned long)mp_signed_bin_size(a)) { 24 *outlen = mp_signed_bin_size(a);
|
H A D | bn_mp_to_unsigned_bin_n.c | 19 int mp_to_unsigned_bin_n (mp_int * a, unsigned char *b, unsigned long *outlen) argument 21 if (*outlen < (unsigned long)mp_unsigned_bin_size(a)) { 24 *outlen = mp_unsigned_bin_size(a);
|
/external/dropbear/libtomcrypt/src/misc/ |
H A D | zeromem.c | 21 @param outlen The length of the area to zero (octets) 23 void zeromem(void *out, size_t outlen) argument 27 while (outlen-- > 0) {
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/ |
H A D | der_length_utf8_string.c | 41 @param outlen [out] The length of the DER encoding for the given string 44 int der_length_utf8_string(const wchar_t *in, unsigned long noctets, unsigned long *outlen) argument 49 LTC_ARGCHK(outlen != NULL); 61 *outlen = 2 + len; 64 *outlen = 3 + len; 67 *outlen = 4 + len; 70 *outlen = 5 + len;
|
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/ |
H A D | ech_key.c | 72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument 74 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) 79 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/ |
H A D | der_length_short_integer.c | 23 @param outlen [out] The length of the DER encoding for the given integer 26 int der_length_short_integer(unsigned long num, unsigned long *outlen) argument 30 LTC_ARGCHK(outlen != NULL); 61 *outlen = len;
|
/external/openssl/crypto/ecdh/ |
H A D | ech_key.c | 72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument 74 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) 79 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/ |
H A D | zcgzip.cc | 60 int outlen; local 63 ok = out.Next(&outptr, &outlen); 67 } while (outlen <= 0); 68 readlen = read(STDIN_FILENO, outptr, outlen); 70 out.BackUp(outlen); 73 if (readlen < outlen) { 74 out.BackUp(outlen - readlen);
|
/external/protobuf/src/google/protobuf/testing/ |
H A D | zcgzip.cc | 60 int outlen; local 63 ok = out.Next(&outptr, &outlen); 67 } while (outlen <= 0); 68 readlen = read(STDIN_FILENO, outptr, outlen); 70 out.BackUp(outlen); 73 if (readlen < outlen) { 74 out.BackUp(outlen - readlen);
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
H A D | katja_encrypt_key.c | 25 @param outlen [in/out] The max size and resulting size of the ciphertext 35 unsigned char *out, unsigned long *outlen, 44 LTC_ARGCHK(outlen != NULL); 64 /* outlen must be at least the size of the modulus */ 66 if (modulus_bytelen > *outlen) { 67 *outlen = modulus_bytelen; 72 x = *outlen; 80 return katja_exptmod(out, x, out, outlen, PK_PUBLIC, key); 34 katja_encrypt_key(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen, const unsigned char *lparam, unsigned long lparamlen, prng_state *prng, int prng_idx, int hash_idx, katja_key *key) argument
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
H A D | hash_file.c | 22 @param outlen [in/out] The max size and resulting size of the message digest 25 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen) argument 34 LTC_ARGCHK(outlen != NULL); 45 err = hash_filehandle(hash, in, out, outlen);
|
H A D | hash_filehandle.c | 23 @param outlen [in/out] The max size and resulting size of the digest 26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) argument 37 LTC_ARGCHK(outlen != NULL); 44 if (*outlen < hash_descriptor[hash].hashsize) { 45 *outlen = hash_descriptor[hash].hashsize; 52 *outlen = hash_descriptor[hash].hashsize;
|
H A D | hash_memory.c | 24 @param outlen [in/out] Max size and resulting size of the digest 27 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument 34 LTC_ARGCHK(outlen != NULL); 40 if (*outlen < hash_descriptor[hash].hashsize) { 41 *outlen = hash_descriptor[hash].hashsize; 57 *outlen = hash_descriptor[hash].hashsize;
|
/external/dropbear/libtomcrypt/src/headers/ |
H A D | tomcrypt_misc.h | 4 unsigned char *out, unsigned long *outlen); 7 unsigned char *out, unsigned long *outlen);
|
H A D | tomcrypt_pk.h | 42 unsigned char *out, unsigned long *outlen, int which, 62 unsigned char *out, unsigned long *outlen, 67 unsigned char *out, unsigned long *outlen, 73 unsigned char *out, unsigned long *outlen, 86 int rsa_export(unsigned char *out, unsigned long *outlen, int type, rsa_key *key); 123 unsigned char *out, unsigned long *outlen, int which, 130 unsigned char *out, unsigned long *outlen, 135 unsigned char *out, unsigned long *outlen, 141 int katja_export(unsigned char *out, unsigned long *outlen, int type, katja_key *key); 220 int ecc_export(unsigned char *out, unsigned long *outlen, in [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
H A D | der_encode_sequence_ex.c | 27 @param outlen [in/out] The size of the output 32 unsigned char *out, unsigned long *outlen, int type_of) 40 LTC_ARGCHK(outlen != NULL); 162 if (*outlen < y) { 163 *outlen = y; 189 *outlen -= x; 201 z = *outlen; 206 *outlen -= z; 210 z = *outlen; 215 *outlen 31 der_encode_sequence_ex(ltc_asn1_list *list, unsigned long inlen, unsigned char *out, unsigned long *outlen, int type_of) argument [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/ia5/ |
H A D | der_decode_ia5_string.c | 26 @param outlen [in/out] The number of octets stored 30 unsigned char *out, unsigned long *outlen) 37 LTC_ARGCHK(outlen != NULL); 69 if (len > *outlen) { 70 *outlen = len; 87 *outlen = y; 29 der_decode_ia5_string(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/printable_string/ |
H A D | der_decode_printable_string.c | 26 @param outlen [in/out] The number of octets stored 30 unsigned char *out, unsigned long *outlen) 37 LTC_ARGCHK(outlen != NULL); 69 if (len > *outlen) { 70 *outlen = len; 87 *outlen = y; 29 der_decode_printable_string(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|