HomeSort by relevance Sort by last modified time
    Searched refs:outlen (Results 1 - 25 of 203) sorted by null

1 2 3 4 5 6 7 8 9

  /external/dropbear/libtomcrypt/src/pk/asn1/der/boolean/
der_length_boolean.c 21 @param outlen [out] The length of the DER encoding
24 int der_length_boolean(unsigned long *outlen)
26 LTC_ARGCHK(outlen != NULL);
27 *outlen = 3;
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;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/utctime/
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)
28 LTC_ARGCHK(outlen != NULL);
33 *outlen = 2 + 13;
36 *outlen = 2 + 17;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/octet/
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)
27 LTC_ARGCHK(outlen != NULL);
31 *outlen = 2 + noctets;
34 *outlen = 3 + noctets;
37 *outlen = 4 + noctets;
40 *outlen = 5 + noctets;
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;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/bit/
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)
28 LTC_ARGCHK(outlen != NULL);
35 *outlen = 2 + nbytes;
38 *outlen = 3 + nbytes;
41 *outlen = 4 + nbytes;
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;
  /external/dropbear/libtommath/
bn_mp_to_signed_bin_n.c 19 int mp_to_signed_bin_n (mp_int * a, unsigned char *b, unsigned long *outlen)
21 if (*outlen < (unsigned long)mp_signed_bin_size(a)) {
24 *outlen = mp_signed_bin_size(a);
bn_mp_to_unsigned_bin_n.c 19 int mp_to_unsigned_bin_n (mp_int * a, unsigned char *b, unsigned long *outlen)
21 if (*outlen < (unsigned long)mp_unsigned_bin_size(a)) {
24 *outlen = mp_unsigned_bin_size(a);
  /external/dropbear/libtomcrypt/src/misc/
zeromem.c 21 @param outlen The length of the area to zero (octets)
23 void zeromem(void *out, size_t outlen)
27 while (outlen-- > 0) {
  /external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/
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)
49 LTC_ARGCHK(outlen != NULL);
61 *outlen = 2 + len;
64 *outlen = 3 + len;
67 *outlen = 4 + len;
70 *outlen = 5 + len;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/
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)
30 LTC_ARGCHK(outlen != NULL);
61 *outlen = len;
der_encode_short_integer.c 25 @param outlen [in/out] The max size and resulting size of the DER encoded integers
28 int der_encode_short_integer(unsigned long num, unsigned char *out, unsigned long *outlen)
34 LTC_ARGCHK(outlen != NULL);
44 if (*outlen < len) {
45 *outlen = len;
88 *outlen = x;
  /external/protobuf/src/google/protobuf/testing/
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/
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);
  /external/dropbear/libtomcrypt/src/hashes/helper/
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)
34 LTC_ARGCHK(outlen != NULL);
45 err = hash_filehandle(hash, in, out, outlen);
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)
37 LTC_ARGCHK(outlen != NULL);
44 if (*outlen < hash_descriptor[hash].hashsize) {
45 *outlen = hash_descriptor[hash].hashsize;
52 *outlen = hash_descriptor[hash].hashsize;
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)
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/openssl/crypto/ecdh/
ech_key.c 75 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
77 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
82 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_misc.h 4 unsigned char *out, unsigned long *outlen);
7 unsigned char *out, unsigned long *outlen);
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, int type, ecc_key *key)
    [all...]
  /external/sqlite/android/
PhoneNumberUtils.h 25 bool phone_number_stripped_reversed_inter(const char* in, char* out, const int len, int *outlen);
  /external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/
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 -= z
    [all...]
  /external/dropbear/libtomcrypt/src/pk/asn1/der/ia5/
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;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/printable_string/
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;

Completed in 252 milliseconds

1 2 3 4 5 6 7 8 9