Searched defs:in (Results 1 - 25 of 777) sorted by relevance

1234567891011>>

/external/dropbear/libtomcrypt/src/pk/asn1/der/boolean/
H A Dder_decode_boolean.c4 * algorithms in a highly modular and flexible manner.
23 @param in The destination for the DER encoded BOOLEAN
28 int der_decode_boolean(const unsigned char *in, unsigned long inlen, argument
31 LTC_ARGCHK(in != NULL);
34 if (inlen != 3 || in[0] != 0x01 || in[1] != 0x01 || (in[2] != 0x00 && in[2] != 0xFF)) {
38 *out = (in[2]==0xFF) ? 1 : 0;
H A Dder_encode_boolean.c4 * algorithms in a highly modular and flexible manner.
23 @param in The boolean to encode
25 @param outlen [in/out] The max size and resulting size of the DER BOOLEAN
28 int der_encode_boolean(int in, argument
42 out[2] = in ? 0xFF : 0x00;
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/
H A Dder_sequence_free.c4 * algorithms in a highly modular and flexible manner.
22 @param in The list to free
24 void der_sequence_free(ltc_asn1_list *in) argument
29 while (in->prev != NULL || in->parent != NULL) {
30 if (in->parent != NULL) {
31 in = in->parent;
33 in = in
[all...]
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_os2ip.c4 * algorithms in a highly modular and flexible manner.
22 @param in The binary string to read
26 int pkcs_1_os2ip(void *n, unsigned char *in, unsigned long inlen) argument
28 return mp_read_unsigned_bin(n, in, inlen);
/external/dropbear/libtomcrypt/src/hashes/helper/
H A Dhash_filehandle.c4 * algorithms in a highly modular and flexible manner.
21 @param in The FILE* handle of the file you want to hash
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
38 LTC_ARGCHK(in != NULL);
54 x = fread(buf, 1, sizeof(buf), in);
/external/dropbear/libtomcrypt/src/mac/hmac/
H A Dhmac_process.c4 * algorithms in a highly modular and flexible manner.
23 @param in The data to send through HMAC
27 int hmac_process(hmac_state *hmac, const unsigned char *in, unsigned long inlen) argument
31 LTC_ARGCHK(in != NULL);
35 return hash_descriptor[hmac->hash].process(&hmac->md, in, inlen);
/external/e2fsprogs/lib/uuid/
H A Dunpack.c7 * Redistribution and use in source and binary forms, with or without
11 * notice, and the entire permission notice in its entirety,
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
38 void uuid_unpack(const uuid_t in, struct uuid *uu) argument
40 const uint8_t *ptr = in;
H A Dparse.c7 * Redistribution and use in source and binary forms, with or without
11 * notice, and the entire permission notice in its entirety,
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
42 int uuid_parse(const char *in, uuid_t uu) argument
49 if (strlen(in) != 36)
51 for (i=0, cp = in; i <= 36; i++,cp++) {
65 uuid.time_low = strtoul(in, NULL, 16);
66 uuid.time_mid = strtoul(in+9, NULL, 16);
67 uuid.time_hi_and_version = strtoul(in
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-encblock.c25 * @in: Input data (16 bytes)
29 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
35 aes_encrypt(ctx, in, out);
H A Dmd5_i.h21 u8 in[64]; member in struct:MD5Context
/external/wpa_supplicant_8/src/crypto/
H A Daes-encblock.c25 * @in: Input data (16 bytes)
29 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
35 aes_encrypt(ctx, in, out);
H A Dmd5_i.h21 u8 in[64]; member in struct:MD5Context
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-encblock.c25 * @in: Input data (16 bytes)
29 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
35 aes_encrypt(ctx, in, out);
H A Dmd5_i.h21 u8 in[64]; member in struct:MD5Context
/external/bluetooth/glib/gio/tests/
H A Dbuffered-input-stream.c6 * in whole or in part, in any medium, physical or electronic is
9 * This work is distributed in the hope that it will be useful,
18 * in contract, strict liability, or tort (including negligence or
19 * otherwise) arising in any way out of the use of this software, even
32 GInputStream *in; local
37 in = g_buffered_input_stream_new (base);
39 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NULL, NULL), ==, 'a');
40 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NUL
[all...]
/external/chromium/net/base/
H A Ddns_util_unittest.cc3 // found in the LICENSE file.
14 // NUL in the result.
15 static std::string IncludeNUL(const char* in) { argument
16 return std::string(in, strlen(in) + 1);
38 // 253 characters in the name: still valid
42 // 254 characters in the name: invalid
/external/dropbear/libtomcrypt/src/mac/f9/
H A Df9_process.c4 * algorithms in a highly modular and flexible manner.
22 @param in Input data to process
23 @param inlen Length of input in octets
26 int f9_process(f9_state *f9, const unsigned char *in, unsigned long inlen) argument
31 LTC_ARGCHK(in != NULL);
47 *((LTC_FAST_TYPE*)&(f9->IV[x])) ^= *((LTC_FAST_TYPE*)&(in[x]));
53 in += f9->blocksize;
67 f9->IV[f9->buflen++] ^= *in++;
/external/dropbear/libtomcrypt/src/mac/xcbc/
H A Dxcbc_process.c4 * algorithms in a highly modular and flexible manner.
22 @param in Input data to process
23 @param inlen Length of input in octets
26 int xcbc_process(xcbc_state *xcbc, const unsigned char *in, unsigned long inlen) argument
34 LTC_ARGCHK(in != NULL);
50 *((LTC_FAST_TYPE*)&(xcbc->IV[x])) ^= *((LTC_FAST_TYPE*)&(in[x]));
53 in += xcbc->blocksize;
64 xcbc->IV[xcbc->buflen++] ^= *in++;
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/
H A Dder_decode_short_integer.c4 * algorithms in a highly modular and flexible manner.
23 @param in The DER encoded data
28 int der_decode_short_integer(const unsigned char *in, unsigned long inlen, unsigned long *num) argument
33 LTC_ARGCHK(in != NULL);
42 if ((in[x++] & 0x1F) != 0x02) {
47 len = in[x++];
56 y = (y<<8) | (unsigned long)in[x++];
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_import.c4 * algorithms in a highly modular and flexible manner.
22 @param in The binary packet to import from
27 int dsa_import(const unsigned char *in, unsigned long inlen, dsa_key *key) argument
32 LTC_ARGCHK(in != NULL);
42 if ((err = der_decode_sequence_multi(in, inlen,
49 if ((err = der_decode_sequence_multi(in, inlen,
61 if ((err = der_decode_sequence_multi(in, inlen,
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_import.c4 * algorithms in a highly modular and flexible manner.
21 Import an KatjaPublicKey or KatjaPrivateKey [two-prime only, only support >= 1024-bit keys, defined in PKCS #1 v2.1]
22 @param in The packet to import from
27 int katja_import(const unsigned char *in, unsigned long inlen, katja_key *key) argument
32 LTC_ARGCHK(in != NULL);
42 if ((err = der_decode_sequence_multi(in, inlen,
50 if ((err = der_decode_sequence_multi(in, inlen,
/external/dropbear/libtomcrypt/testprof/
H A Dbase64_test.c5 unsigned char in[64], out[256], tmp[64]; local
9 yarrow_read(in, x, &yarrow_prng);
11 DO(base64_encode(in, x, out, &l1));
14 if (l2 != x || memcmp(tmp, in, x)) {
/external/flac/libFLAC/include/private/
H A Dmd5.h7 * written by Colin Plumb in 1993, no copyright is claimed.
8 * This code is in the public domain; do with it what you wish.
23 * Still in the public domain.
26 * Still in the public domain, with no warranty.
32 FLAC__uint32 in[16]; member in struct:__anon4388
/external/libvpx/
H A Dmd5_utils.h4 * written by Colin Plumb in 1993, no copyright is claimed.
5 * This code is in the public domain; do with it what you wish.
20 * Still in the public domain.
34 UWORD32 in[16]; member in struct:MD5Context
40 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
/external/openssl/crypto/aes/
H A Daes_cbc.c5 * Redistribution and use in source and binary forms, with or without
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
20 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
28 * nor may "OpenSSL" appear in their names without prior written
34 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
55 void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, argument
60 CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)AES_encrypt);
62 CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)AES_decrypt);

Completed in 276 milliseconds

1234567891011>>