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

1 2 3 4 5 6 7 8 91011>>

  /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/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/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/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;
  /external/dropbear/libtomcrypt/src/headers/
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...]
tomcrypt_pkcs.h 34 unsigned long *outlen);
41 unsigned long *outlen,
49 unsigned char *out, unsigned long *outlen);
54 unsigned char *out, unsigned long *outlen,
61 unsigned char *out, unsigned long *outlen);
77 unsigned char *out, unsigned long *outlen);
83 unsigned char *out, unsigned long *outlen);
  /external/dropbear/libtomcrypt/src/pk/rsa/
rsa_encrypt_key.c 25 @param outlen [in/out] The max size and resulting size of the ciphertext
36 unsigned char *out, unsigned long *outlen,
45 LTC_ARGCHK(outlen != NULL);
69 /* outlen must be at least the size of the modulus */
71 if (modulus_bytelen > *outlen) {
72 *outlen = modulus_bytelen;
78 x = *outlen;
86 x = *outlen;
95 return ltc_mp.rsa_me(out, x, out, outlen, PK_PUBLIC, key);
  /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;
der_encode_utctime.c 30 @param outlen [in/out] The length of the DER encoding
34 unsigned char *out, unsigned long *outlen)
41 LTC_ARGCHK(outlen != NULL);
46 if (tmplen > *outlen) {
47 *outlen = tmplen;
75 *outlen = x;
  /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/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/hashes/helper/
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;
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);
  /external/dropbear/libtomcrypt/src/pk/dsa/
dsa_shared_secret.c 26 @param outlen [in/out] The max size and resulting size of the shared secret
31 unsigned char *out, unsigned long *outlen)
40 LTC_ARGCHK(outlen != NULL);
53 if (*outlen < x) {
54 *outlen = x;
62 *outlen = x;
  /external/dropbear/libtomcrypt/src/pk/ecc/
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)
39 LTC_ARGCHK(outlen != NULL);
46 if (*outlen < (1 + 2*numlen)) {
47 *outlen = 1 + 2*numlen;
64 *outlen = 1 + 2*numlen;
  /external/wpa_supplicant_8/src/crypto/
crypto_internal-rsa.c 65 u8 *out, size_t *outlen)
68 0, in, inlen, out, outlen);
74 u8 *out, size_t *outlen)
77 in, inlen, out, outlen);
83 u8 *out, size_t *outlen)
86 1, in, inlen, out, outlen);
  /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/wpa_supplicant_8/src/tls/
pkcs1.h 14 u8 *out, size_t *outlen);
17 u8 *out, size_t *outlen);
  /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;
  /external/chromium_org/third_party/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/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;

Completed in 539 milliseconds

1 2 3 4 5 6 7 8 91011>>