/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_gnutls.c | 202 gcry_cipher_hd_t enc; member in struct:crypto_cipher 223 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_STREAM, 234 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 239 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 244 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 252 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 265 if (gcry_cipher_setkey(ctx->enc, key, key_len) != GPG_ERR_NO_ERROR || 267 gcry_cipher_close(ctx->enc); 274 if (gcry_cipher_setiv(ctx->enc, iv, ivlen) != GPG_ERR_NO_ERROR || 276 gcry_cipher_close(ctx->enc); [all...] |
crypto_openssl.c | 32 #define DES_ecb_encrypt(input, output, ks, enc) \ 33 des_ecb_encrypt((input), (output), *(ks), (enc)) 251 EVP_CIPHER_CTX enc; member in struct:crypto_cipher 309 EVP_CIPHER_CTX_init(&ctx->enc); 310 EVP_CIPHER_CTX_set_padding(&ctx->enc, 0); 311 if (!EVP_EncryptInit_ex(&ctx->enc, cipher, NULL, NULL, NULL) || 312 !EVP_CIPHER_CTX_set_key_length(&ctx->enc, key_len) || 313 !EVP_EncryptInit_ex(&ctx->enc, cipher, NULL, key, iv)) { 314 EVP_CIPHER_CTX_cleanup(&ctx->enc); 324 EVP_CIPHER_CTX_cleanup(&ctx->enc); [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_gnutls.c | 190 gcry_cipher_hd_t enc; member in struct:crypto_cipher 211 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_STREAM, 222 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 227 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 232 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 240 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0); 253 if (gcry_cipher_setkey(ctx->enc, key, key_len) != GPG_ERR_NO_ERROR || 255 gcry_cipher_close(ctx->enc); 262 if (gcry_cipher_setiv(ctx->enc, iv, ivlen) != GPG_ERR_NO_ERROR || 264 gcry_cipher_close(ctx->enc); [all...] |
/frameworks/av/media/libmedia/ |
MediaScannerClient.cpp | 124 const char* enc = NULL; local 127 enc = "shift-jis"; 130 enc = "gbk"; 133 enc = "Big5"; 136 enc = "EUC-KR"; 140 if (enc) { 143 UConverter *conv = ucnv_open(enc, &status); 145 ALOGE("could not create UConverter for %s", enc);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 176 Iterator<String> enc = certFactorySpi.engineGetCertPathEncodings(); local 177 assertTrue("Incorrect Iterator", enc.hasNext()); 242 Iterator<String> enc = certFactorySpi.engineGetCertPathEncodings(); local 243 assertFalse("Incorrect Iterator", enc.hasNext());
|
PKIXCertPathValidatorResultTest.java | 276 assertSame(my.enc, myClone.enc); 281 public byte[] enc; // byte array is cloneable field in class:PKIXCertPathValidatorResultTest.MyPKIXCertPathBuilderResult 284 PolicyNode policyTree, PublicKey subjectPublicKey, byte[] enc) { 287 this.enc = enc;
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngineInfo.java | 99 String enc = mSearchEngineData[FIELD_ENCODING]; local 100 if (TextUtils.isEmpty(enc)) { 101 enc = "UTF-8"; 102 mSearchEngineData[FIELD_ENCODING] = enc; 107 mSearchEngineData[FIELD_SEARCH_URI].replace(PARAMETER_INPUT_ENCODING, enc); 109 mSearchEngineData[FIELD_SUGGEST_URI].replace(PARAMETER_INPUT_ENCODING, enc); 162 String enc = mSearchEngineData[FIELD_ENCODING]; local 164 return templateUri.replace(PARAMETER_SEARCH_TERMS, URLEncoder.encode(query, enc)); 166 Log.e(TAG, "Exception occured when encoding query " + query + " to " + enc);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXCertPathValidatorResultTest.java | 282 assertSame(my.enc, myClone.enc); 287 public byte[] enc; // byte array is cloneable field in class:PKIXCertPathValidatorResultTest.MyPKIXCertPathBuilderResult 290 PolicyNode policyTree, PublicKey subjectPublicKey, byte[] enc) { 293 this.enc = enc;
|
CertificateFactory1Test.java | 109 byte[] enc = { (byte) 0, (byte) 2, (byte) 3, (byte) 4, (byte) 5 }; 110 return new MyCertificate("Test_Test", enc); 520 String enc = (String) it.next(); local 522 certFs[i].generateCertPath(is1, enc); 524 .concat(enc)); 529 certFs[i].generateCertPath(is2, enc); 531 .concat(enc)); 552 byte[] enc = { (byte) 0, (byte) 2, (byte) 3, (byte) 4, (byte) 5 }; 553 MyCertPath mc = new MyCertPath(enc);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Encodings.java | 272 EncodingInfo enc = local 274 if (null != enc) 275 return enc.name;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERExternal.java | 22 ASN1Primitive enc = getObjFromVector(vector, offset); local 23 if (enc instanceof ASN1ObjectIdentifier) 25 directReference = (ASN1ObjectIdentifier)enc; 27 enc = getObjFromVector(vector, offset); 29 if (enc instanceof ASN1Integer) 31 indirectReference = (ASN1Integer) enc; 33 enc = getObjFromVector(vector, offset); 35 if (!(enc instanceof DERTaggedObject)) 37 dataValueDescriptor = (ASN1Primitive) enc; 39 enc = getObjFromVector(vector, offset) [all...] |
/external/libvpx/vpx/ |
vpx_codec.h | 203 struct vpx_codec_enc_cfg *enc; /**< Encoder Configuration Pointer */ member in union:vpx_codec_ctx::__anon9806
|
/external/libxml2/ |
HTMLtree.c | 478 xmlCharEncoding enc; local 480 enc = xmlParseCharEncoding(encoding); 481 if (enc != XML_CHAR_ENCODING_UTF8) { 551 xmlCharEncoding enc; local 553 enc = xmlParseCharEncoding(encoding); 554 if (enc != cur->charset) { 1049 xmlCharEncoding enc; local 1051 enc = xmlParseCharEncoding(encoding); 1052 if (enc != cur->charset) { 1108 xmlCharEncoding enc; local 1169 xmlCharEncoding enc; local [all...] |
/external/openssl/apps/ |
enc.c | 1 /* apps/enc.c */ 116 int enc=1,printkey=0,i,base64=0; local 155 && (strcmp(pname,"enc") != 0)) 157 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0)) 169 enc=1; 193 enc=0; 430 (enc)?"encryption":"decryption"); 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); 484 if (enc) 502 if (enc) [all...] |
pkcs12.c | 73 const EVP_CIPHER *enc; variable 133 enc = EVP_des_ede3_cbc(); 158 else if (!strcmp (*args, "-des")) enc=EVP_des_cbc(); 159 else if (!strcmp (*args, "-des3")) enc = EVP_des_ede3_cbc(); 161 else if (!strcmp (*args, "-idea")) enc=EVP_idea_cbc(); 164 else if (!strcmp(*args, "-seed")) enc=EVP_seed_cbc(); 167 else if (!strcmp(*args,"-aes128")) enc=EVP_aes_128_cbc(); 168 else if (!strcmp(*args,"-aes192")) enc=EVP_aes_192_cbc(); 169 else if (!strcmp(*args,"-aes256")) enc=EVP_aes_256_cbc(); 172 else if (!strcmp(*args,"-camellia128")) enc=EVP_camellia_128_cbc() [all...] |
/external/openssl/crypto/pem/ |
pem_lib.c | 315 void *x, const EVP_CIPHER *enc, unsigned char *kstr, 327 ret=PEM_ASN1_write_bio(i2d,name,b,x,enc,kstr,klen,callback,u); 334 void *x, const EVP_CIPHER *enc, unsigned char *kstr, 345 if (enc != NULL) 347 objstr=OBJ_nid2sn(EVP_CIPHER_nid(enc)); 372 if (enc != NULL) 392 OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); 393 if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ 397 EVP_BytesToKey(enc,EVP_md5(),iv,kstr,klen,1,key,NULL); 401 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf) 485 const EVP_CIPHER *enc=NULL; local [all...] |
/external/webp/src/enc/ |
analysis.c | 34 static void SmoothSegmentMap(VP8Encoder* const enc) { 36 const int w = enc->mb_w_; 37 const int h = enc->mb_h_; 46 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; 67 VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; 85 static void SetSegmentProbas(VP8Encoder* const enc) { 89 for (n = 0; n < enc->mb_w_ * enc->mb_h_; ++n) { 90 const VP8MBInfo* const mb = &enc->mb_info_[n]; 93 if (enc->pic_->stats) 309 const VP8Encoder* const enc = it->enc_; local [all...] |
iterator.c | 25 const VP8Encoder* const enc = it->enc_; local 26 enc->y_left_[-1] = enc->u_left_[-1] = enc->v_left_[-1] = 28 memset(enc->y_left_, 129, 16); 29 memset(enc->u_left_, 129, 8); 30 memset(enc->v_left_, 129, 8); 35 const VP8Encoder* const enc = it->enc_; local 36 const size_t top_size = enc->mb_w_ * 16; 37 memset(enc->y_top_, 127, 2 * top_size) 42 VP8Encoder* const enc = it->enc_; local 73 VP8Encoder* const enc = it->enc_; local 105 const VP8Encoder* const enc = it->enc_; local 144 const VP8Encoder* const enc = it->enc_; local 247 VP8Encoder* const enc = it->enc_; local 363 const VP8Encoder* const enc = it->enc_; local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
Message.java | 178 String enc = bd.getTransferEncoding();
local 179 if ("base64".equals(enc)) {
181 } else if ("quoted-printable".equals(enc)) {
|
/external/icu4c/tools/genrb/ |
derb.c | 713 const char *enc; local 716 if (!(enc = ucnv_getStandardName(encoding, "MIME", &err))) { 718 if (!(enc = ucnv_getStandardName(encoding, "IANA", &err))) { 723 return enc;
|
wrtjava.c | 100 static const char* enc =""; variable 178 if(*enc =='\0' || source[i]==0x0000){ 692 enc = outputEnc; 693 conv=ucnv_open(enc,status);
|
/external/libvpx/vpx/internal/ |
vpx_codec_internal.h | 314 } enc; member in struct:vpx_codec_iface 356 } enc; member in struct:vpx_codec_priv
|
/external/openssh/ |
kex.h | 84 typedef struct Enc Enc; 87 struct Enc { 113 Enc enc; member in struct:Newkeys
|
/external/openssl/ssl/ |
d1_clnt.c | 1053 const EVP_CIPHER *enc = NULL; local 1074 enc = kssl_map_enc(kssl_ctx->enctype); 1075 if (enc == NULL) 1141 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL); 1148 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL, [all...] |
s3_enc.c | 475 const EVP_CIPHER *enc; local 482 enc=NULL; 484 enc=EVP_CIPHER_CTX_cipher(s->enc_write_ctx); 491 enc=NULL; 493 enc=EVP_CIPHER_CTX_cipher(s->enc_read_ctx); 497 (enc == NULL))
|