/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/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/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;
|
/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;
|
/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/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/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;
|
/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/dropbear/libtomcrypt/src/mac/f9/ |
H A D | f9_done.c | 23 @param outlen [in/out] Destination size and final tag size 26 int f9_done(f9_state *f9, unsigned char *out, unsigned long *outlen) argument 61 for (x = 0; x < f9->blocksize && (unsigned long)x < *outlen; x++) { 64 *outlen = x;
|
H A D | f9_file.c | 27 @param outlen [in/out] The max size and resulting size of the authentication tag 33 unsigned char *out, unsigned long *outlen) 46 LTC_ARGCHK(outlen != NULL); 67 if ((err = f9_done(&f9, out, outlen)) != CRYPT_OK) { 30 f9_file(int cipher, const unsigned char *key, unsigned long keylen, const char *filename, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
H A D | hmac_file.c | 27 @param outlen [in/out] The max size and resulting size of the authentication tag 32 unsigned char *out, unsigned long *outlen) 46 LTC_ARGCHK(outlen != NULL); 76 if ((err = hmac_done(&hmac, out, outlen)) != CRYPT_OK) { 30 hmac_file(int hash, const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
H A D | omac_done.c | 24 @param outlen [in/out] The max size and resulting size of the authentication tag 27 int omac_done(omac_state *omac, unsigned char *out, unsigned long *outlen) argument 34 LTC_ARGCHK(outlen != NULL); 70 for (x = 0; x < (unsigned)omac->blklen && x < *outlen; x++) { 73 *outlen = x;
|
H A D | omac_file.c | 27 @param outlen [in/out] The max size and resulting size of the authentication tag 33 unsigned char *out, unsigned long *outlen) 46 LTC_ARGCHK(outlen != NULL); 67 if ((err = omac_done(&omac, out, outlen)) != CRYPT_OK) { 30 omac_file(int cipher, const unsigned char *key, unsigned long keylen, const char *filename, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
H A D | pmac_done.c | 20 int pmac_done(pmac_state *state, unsigned char *out, unsigned long *outlen) argument 58 for (x = 0; x < state->block_len && x < (int)*outlen; x++) { 61 *outlen = x;
|
H A D | pmac_file.c | 27 @param outlen [in/out] Max size and resulting size of the authentication tag 33 unsigned char *out, unsigned long *outlen) 47 LTC_ARGCHK(outlen != NULL); 68 if ((err = pmac_done(&pmac, out, outlen)) != CRYPT_OK) { 30 pmac_file(int cipher, const unsigned char *key, unsigned long keylen, const char *filename, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
H A D | xcbc_done.c | 23 @param outlen [in/out] Destination size and final tag size 26 int xcbc_done(xcbc_state *xcbc, unsigned char *out, unsigned long *outlen) argument 61 for (x = 0; x < xcbc->blocksize && (unsigned long)x < *outlen; x++) { 64 *outlen = x;
|
H A D | xcbc_file.c | 27 @param outlen [in/out] The max size and resulting size of the authentication tag 33 unsigned char *out, unsigned long *outlen) 46 LTC_ARGCHK(outlen != NULL); 67 if ((err = xcbc_done(&xcbc, out, outlen)) != CRYPT_OK) { 30 xcbc_file(int cipher, const unsigned char *key, unsigned long keylen, const char *filename, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
H A D | der_length_integer.c | 23 @param outlen [out] The length of the DER encoding for the given integer 26 int der_length_integer(void *num, unsigned long *outlen) argument 32 LTC_ARGCHK(outlen != NULL); 74 *outlen = len;
|
/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/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | dsa_export.c | 23 @param outlen [in/out] The max size and resulting size of the packet 28 int dsa_export(unsigned char *out, unsigned long *outlen, int type, dsa_key *key) argument 33 LTC_ARGCHK(outlen != NULL); 48 return der_encode_sequence_multi(out, outlen, 57 return der_encode_sequence_multi(out, outlen,
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ecc_ansi_x963_export.c | 29 @param outlen [in/out] Length of destination and final output size 32 int ecc_ansi_x963_export(ecc_key *key, unsigned char *out, unsigned long *outlen) argument 39 LTC_ARGCHK(outlen != NULL); 46 if (*outlen < (1 + 2*numlen)) { 47 *outlen = 1 + 2*numlen; 64 *outlen = 1 + 2*numlen;
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
H A D | katja_export.c | 23 @param outlen [in/out] The max size and resulting size of the packet 28 int katja_export(unsigned char *out, unsigned long *outlen, int type, katja_key *key) argument 34 LTC_ARGCHK(outlen != NULL); 47 if ((err = der_encode_sequence_multi(out, outlen, 65 return der_encode_sequence_multi(out, outlen,
|