Searched defs:in (Results 26 - 50 of 1569) sorted by relevance

1234567891011>>

/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/e2fsprogs/lib/uuid/
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/elfutils/libebl/
H A Deblobjnote.c10 Red Hat elfutils is distributed in the hope that it will be useful, but
26 those well defined interfaces identified in the file named EXCEPTION
27 found in the source code files (the "Approved Interfaces"). The files
35 License in all respects for all of the Red Hat elfutils code and other
36 code used in conjunction with Red Hat elfutils except the Non-GPL Code
47 included package. Should you wish to participate in the Open Invention
87 Elf_Data in = local
103 if (elf32_xlatetom (&out, &in, ebl->data) != NULL)
/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:__anon18652
/external/libvpx/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.
33 UWORD32 in[16]; member in struct:MD5Context
39 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);
H A Daes_ecb.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/)"
62 void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, argument
65 assert(in && out && key);
69 AES_encrypt(in, out, key);
71 AES_decrypt(in, ou
[all...]
H A Daes_ofb.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_ofb128_encrypt(const unsigned char *in, unsigned char *out, argument
59 CRYPTO_ofb128_encrypt(in,out,length,key,ivec,num,(block128_f)AES_encrypt);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dmd5.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.
33 uint32 in[16]; member in struct:MD5Context
39 void MD5Transform(uint32 buf[4], uint32 const in[16]);
/external/chromium_org/chrome/browser/extensions/
H A Dtest_blacklist.cc3 // found in the LICENSE file.
22 void Assign(Blacklist::BlacklistState *out, Blacklist::BlacklistState in) { argument
23 *out = in;
/external/chromium_org/chrome/browser/net/
H A Ddisk_cache_dir_policy_handler_unittest.cc3 // found in the LICENSE file.
41 // Use a variable in the value. It should be expanded by the handler.
42 const std::string in = "${user_name}/foo"; local
46 base::Value::CreateStringValue(in),
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dinet_ntop.cc3 // found in the LICENSE file.
26 struct in_addr in; local
27 memcpy(&in, src, sizeof(in));
28 char* result = inet_ntoa(in);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/
H A Dpp_colors.c8 * "Software"), to deal in the Software without restriction, including
15 * next paragraph) shall be included in all copies or substantial portions
34 pp_nocolor(struct pp_queue_t *ppq, struct pipe_resource *in, argument
40 pp_filter_setup_in(p, in);
/external/chromium_org/third_party/openssl/openssl/crypto/aes/
H A Daes_cfb.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/)"
57 * 128bit block we have used is contained in *num;
60 void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, argument
64 CRYPTO_cfb128_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
68 void AES_cfb1_encrypt(const unsigned char *in, unsigne argument
75 AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument
[all...]
H A Daes_ctr.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_ctr128_encrypt(const unsigned char *in, unsigned char *out, argument
60 CRYPTO_ctr128_encrypt(in,out,length,key,ivec,ecount_buf,num,(block128_f)AES_encrypt);
/external/chromium_org/third_party/openssl/openssl/crypto/bf/
H A Dbf_ecb.c11 * apply to all code found in this distribution, be it the RC4, RSA,
16 * Copyright remains Eric Young's, and as such any Copyright notices in
18 * If this package is used in a product, Eric Young should be given attribution
20 * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
28 * 2. Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
81 void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, argument
86 n2l(in,
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/comp/
H A Dc_rle.c8 unsigned int olen, unsigned char *in, unsigned int ilen);
10 unsigned int olen, unsigned char *in, unsigned int ilen);
29 unsigned int olen, unsigned char *in, unsigned int ilen)
40 memcpy(out,in,ilen);
45 unsigned int olen, unsigned char *in, unsigned int ilen)
55 i= *(in++);
58 memcpy(out,in,ilen-1);
28 rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
44 rle_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/
H A Dech_key.c19 * Redistribution and use in source and binary forms, with or without
26 * 2. Redistributions in binary form must reproduce the above copyright
27 * notice, this list of conditions and the following disclaimer in
34 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
42 * nor may "OpenSSL" appear in their names without prior written
48 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
74 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
72 ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *eckey, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) argument
/external/chromium_org/third_party/openssl/openssl/crypto/rc2/
H A Drc2_ecb.c11 * apply to all code found in this distribution, be it the RC4, RSA,
16 * Copyright remains Eric Young's, and as such any Copyright notices in
18 * If this package is used in a product, Eric Young should be given attribution
20 * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
28 * 2. Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
73 void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, argument
78 c2l(in,
[all...]
/external/chromium_org/third_party/opus/src/silk/
H A Dresampler_down2.c3 Redistribution and use in source and binary forms, with or without
8 - Redistributions in binary form must reproduce the above copyright
9 notice, this list of conditions and the following disclaimer in the
39 const opus_int16 *in, /* I Input signal [ len ] */
49 /* Internal variables and state are in Q10 format */
52 in32 = silk_LSHIFT( (opus_int32)in[ 2 * k ], 10 );
61 in32 = silk_LSHIFT( (opus_int32)in[ 2 * k + 1 ], 10 );
36 silk_resampler_down2( opus_int32 *S, opus_int16 *out, const opus_int16 *in, opus_int32 inLen ) argument

Completed in 1229 milliseconds

1234567891011>>