/external/openssl/crypto/pkcs12/ |
p12_decr.c | 72 int passlen, unsigned char *in, int inlen, unsigned char **data, 87 if(!(out = OPENSSL_malloc(inlen + EVP_CIPHER_CTX_block_size(&ctx)))) { 92 if (!EVP_CipherUpdate(&ctx, out, &i, in, inlen)) 163 int inlen; local 168 inlen = ASN1_item_i2d(obj, &in, it); 173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, 179 if (zbuf) OPENSSL_cleanse(in, inlen);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
OAEPEncoding.java | 126 int inLen) 131 return encodeBlock(in, inOff, inLen); 135 return decodeBlock(in, inOff, inLen); 142 int inLen) 150 System.arraycopy(in, inOff, block, block.length - inLen, inLen); 155 block[block.length - inLen - 1] = 0x01; 209 int inLen) 212 byte[] data = engine.processBlock(in, inOff, inLen);
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_encrypt_key.c | 23 @param inlen The length of the plaintext (octets) 34 int katja_encrypt_key(const unsigned char *in, unsigned long inlen, 73 if ((err = pkcs_1_oaep_encode(in, inlen, lparam,
|
/external/chromium_org/third_party/opus/src/silk/ |
resampler_private_IIR_FIR.c | 69 opus_int32 inLen /* I Number of input samples */ 86 nSamplesIn = silk_min( inLen, S->batchSize ); 94 inLen -= nSamplesIn; 96 if( inLen > 0 ) {
|
resampler.c | 178 opus_int32 inLen /* I Number of input samples */ 184 silk_assert( inLen >= S->Fs_in_kHz ); 196 silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 200 silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 204 silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 208 silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16 ) ); 212 silk_memcpy( S->delayBuf, &in[ inLen - S->inputDelay ], S->inputDelay * sizeof( opus_int16 ) );
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/ |
der_encode_utf8_string.c | 24 @param inlen The number of UTF8 to store 29 int der_encode_utf8_string(const wchar_t *in, unsigned long inlen, 39 for (x = len = 0; x < inlen; x++) { 86 for (y = 0; y < inlen; y++) {
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_decrypt_key.c | 23 @param inlen The length of the ciphertext (octets) 29 int dsa_decrypt_key(const unsigned char *in, unsigned long inlen, 52 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) { 85 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) {
|
dsa_sign_hash.c | 23 @param inlen The length of the hash to sign 31 int dsa_sign_hash_raw(const unsigned char *in, unsigned long inlen, 93 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, inlen)) != CRYPT_OK) { goto error; } 114 @param inlen The length of the hash to sign 122 int dsa_sign_hash(const unsigned char *in, unsigned long inlen, 138 if ((err = dsa_sign_hash_raw(in, inlen, r, s, prng, wprng, key)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_decrypt_key.c | 29 @param inlen The length of the ciphertext (octets) 35 int ecc_decrypt_key(const unsigned char *in, unsigned long inlen, 58 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) { 89 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) {
|
ecc_sign_hash.c | 29 @param inlen The length of the digest 37 int ecc_sign_hash(const unsigned char *in, unsigned long inlen, 70 if ((err = mp_read_unsigned_bin(e, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto errnokey; }
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_sign_hash.c | 23 @param inlen The length of the hash to sign (octets) 34 int rsa_sign_hash_ex(const unsigned char *in, unsigned long inlen, 77 if ((err = pkcs_1_pss_encode(in, inlen, saltlen, prng, prng_idx, 102 LTC_SET_ASN1(siginfo, 1, LTC_ASN1_OCTET_STRING, in, inlen);
|
rsa_import.c | 23 @param inlen It's length (octets) 27 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key) 63 if (der_decode_sequence(in, inlen, 91 if ((err = der_decode_sequence_multi(in, inlen, 102 if ((err = der_decode_sequence_multi(in, inlen, 124 if ((err = der_decode_sequence_multi(in, inlen,
|
/external/chromium_org/third_party/libxml/src/include/libxml/ |
encoding.h | 105 * @inlen: the length of @in 112 * The value of @inlen after return is the number of octets consumed 117 const unsigned char *in, int *inlen); 125 * @inlen: the length of @in 134 * The value of @inlen after return is the number of octets consumed 139 const unsigned char *in, int *inlen); 244 int *inlen); 250 int *inlen);
|
/external/libxml2/include/libxml/ |
encoding.h | 90 * @inlen: the length of @in 97 * The value of @inlen after return is the number of octets consumed 102 const unsigned char *in, int *inlen); 110 * @inlen: the length of @in 119 * The value of @inlen after return is the number of octets consumed 124 const unsigned char *in, int *inlen); 229 int *inlen); 235 int *inlen);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RSACoreEngine.java | 88 int inLen) 90 if (inLen > (getInputBlockSize() + 1)) 94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) 101 if (inOff != 0 || inLen != in.length) 103 block = new byte[inLen]; 105 System.arraycopy(in, inOff, block, 0, inLen);
|
DESedeWrapEngine.java | 137 * @param inLen 140 public byte[] wrap(byte[] in, int inOff, int inLen) 147 byte keyToBeWrapped[] = new byte[inLen]; 149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); 208 * @param inLen 212 public byte[] unwrap(byte[] in, int inOff, int inLen) 226 if (inLen % blockSize != 0) 253 byte TEMP3[] = new byte[inLen]; 255 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize)
|
RSABlindedEngine.java | 81 * @param inLen the length of the data to be processed. 88 int inLen) 95 BigInteger input = core.convertInput(in, inOff, inLen);
|
/external/dropbear/libtomcrypt/src/prngs/ |
fortuna.c | 167 @param inlen Length of the data to add 171 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 181 /* ensure inlen <= 32 */ 182 if (inlen > 32) { 189 tmp[1] = (unsigned char)inlen; 194 if ((err = sha256_process(&prng->fortuna.pool[prng->fortuna.pool_idx], in, inlen)) != CRYPT_OK) { 199 prng->fortuna.pool0_len += inlen; 378 @param inlen Size of the state 382 int fortuna_import(const unsigned char *in, unsigned long inlen, prng_state *prng) 389 if (inlen != 32*FORTUNA_POOLS) [all...] |
/external/chromium_org/third_party/libxml/src/ |
encoding.c | 159 * @inlen: the length of @in 164 * The value of @inlen after return is the number of octets consumed 170 const unsigned char* in, int *inlen) { 178 inend = in + (*inlen); 188 *inlen = processed - base; 195 *inlen = processed - base; 205 * @inlen: the length of @in 211 * The value of @inlen after return is the number of octets consumed 217 const unsigned char* in, int *inlen) { 226 if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1) 489 unsigned int c, d, inlen; local 727 unsigned int c, d, inlen; local [all...] |
/external/libxml2/ |
encoding.c | 159 * @inlen: the length of @in 164 * The value of @inlen after return is the number of octets consumed 170 const unsigned char* in, int *inlen) { 178 inend = in + (*inlen); 188 *inlen = processed - base; 195 *inlen = processed - base; 205 * @inlen: the length of @in 211 * The value of @inlen after return is the number of octets consumed 217 const unsigned char* in, int *inlen) { 226 if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1) 489 unsigned int c, d, inlen; local 727 unsigned int c, d, inlen; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha256-internal.c | 142 @param inlen The length of the data (octets) 146 unsigned long inlen) 153 while (inlen > 0) { 154 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { 159 inlen -= SHA256_BLOCK_SIZE; 161 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); 165 inlen -= n;
|
/external/chromium_org/third_party/openssl/openssl/crypto/poly1305/ |
poly1305test.c | 131 size_t inlen = strlen(test->inputhex); local 135 (inlen & 1) == 1) 138 inlen /= 2; 143 in = malloc(inlen); 147 CRYPTO_poly1305_update(&poly1305, in, inlen);
|
/external/chromium_org/net/third_party/nss/patches/ |
aesgcmchromium.patch | 20 + const unsigned char *in, unsigned int inLen); 89 maxout, in, inlen); 93 maxout, in, inlen);
|
/external/dropbear/libtomcrypt/src/misc/base64/ |
base64_decode.c | 48 @param inlen The length of the base64 data 53 int base64_decode(const unsigned char *in, unsigned long inlen, 65 for (x = y = z = t = 0; x < inlen; x++) {
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
der_length_sequence.c | 23 @param inlen The number of items 27 int der_length_sequence(ltc_asn1_list *list, unsigned long inlen, 39 for (i = 0; i < inlen; i++) {
|