/external/openssl/crypto/pkcs7/ |
H A D | sign.c | 63 #include <openssl/err.h> 103 goto err; 108 if ((in=BIO_new_file("server.pem","r")) == NULL) goto err; 109 if ((x509=PEM_read_bio_X509(in,NULL,NULL,NULL)) == NULL) goto err; 111 if ((pkey=PEM_read_bio_PrivateKey(in,NULL,NULL,NULL)) == NULL) goto err; 118 if (si == NULL) goto err; 133 if ((p7bio=PKCS7_dataInit(p7,NULL)) == NULL) goto err; 142 if (!PKCS7_dataFinal(p7,p7bio)) goto err; 149 err:
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
H A D | Deflater.cs | 62 int err = 0;
64 while (err >= 0 && inputIndex < total)
67 while (err >= 0 && _ztream.avail_in > 0)
69 err = deflate(ref _ztream, (int)FlushTypes.None);
70 if (err == 0)
74 err = deflate(ref _ztream, (int)FlushTypes.None);
88 int err;
91 err = deflate(ref _ztream, (int)FlushTypes.Finish);
94 while (err == 0);
|
/external/zlib/src/contrib/pascal/ |
H A D | example.pas | 37 procedure CHECK_ERR(err: Integer; msg: String); 39 if err <> Z_OK then 41 WriteLn(msg, ' error: ', err); 58 var err: Integer; 63 err := compress(compr, comprLen, hello, len); 64 CHECK_ERR(err, 'compress'); 68 err := uncompress(uncompr, uncomprLen, compr, comprLen); 69 CHECK_ERR(err, 'uncompress'); 85 var err: Integer; 101 WriteLn('gzputs err [all...] |
/external/dropbear/libtomcrypt/src/modes/lrw/ |
H A D | lrw_decrypt.c | 29 int err; local 35 if ((err = cipher_is_valid(lrw->cipher)) != CRYPT_OK) { 36 return err;
|
H A D | lrw_encrypt.c | 29 int err; local 35 if ((err = cipher_is_valid(lrw->cipher)) != CRYPT_OK) { 36 return err;
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
H A D | ofb_start.c | 34 int x, err; local 40 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) { 41 return err;
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | dsa_decrypt_key.c | 36 int hash, err; local 52 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) { 53 return err; 63 if ((err = mp_init(&g_pub)) != CRYPT_OK) { 64 return err; 85 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) { 91 if ((err = dsa_shared_secret(key->x, g_pub, key, expt, &x)) != CRYPT_OK) { 96 if ((err = hash_memory(hash, expt, x, expt, &y)) != CRYPT_OK) { 102 err = CRYPT_INVALID_PACKET; 109 err [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ecc_encrypt_key.c | 46 int err; local 54 if ((err = prng_is_valid(wprng)) != CRYPT_OK) { 55 return err; 58 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 59 return err; 67 if ((err = ecc_make_key_ex(prng, wprng, &pubkey, key->dp)) != CRYPT_OK) { 68 return err; 89 if ((err = ecc_export(pub_expt, &pubkeysize, PK_PUBLIC, &pubkey)) != CRYPT_OK) { 96 if ((err = ecc_shared_secret(&pubkey, key, ecc_shared, &x)) != CRYPT_OK) { 102 if ((err [all...] |
H A D | ltc_ecc_mul2add.c | 45 int err, first; local 74 err = CRYPT_INVALID_ARG; 91 err = CRYPT_MEM; 97 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) { 100 if ((err = mp_init(&mu)) != CRYPT_OK) { 103 if ((err = mp_montgomery_normalization(mu, modulus)) != CRYPT_OK) { 108 if ((err = mp_mulmod(A->x, mu, modulus, precomp[1]->x)) != CRYPT_OK) { goto ERR_MU; } 109 if ((err = mp_mulmod(A->y, mu, modulus, precomp[1]->y)) != CRYPT_OK) { goto ERR_MU; } 110 if ((err = mp_mulmod(A->z, mu, modulus, precomp[1]->z)) != CRYPT_OK) { goto ERR_MU; } 112 if ((err [all...] |
/external/openssl/crypto/ecdh/ |
H A D | ech_ossl.c | 77 #include <openssl/err.h> 127 if ((ctx = BN_CTX_new()) == NULL) goto err; 136 goto err; 143 goto err; 149 goto err; 157 goto err; 166 goto err; 176 goto err; 181 goto err; 188 goto err; [all...] |
/external/openssl/crypto/ocsp/ |
H A D | ocsp_srv.c | 110 if (!(rsp = OCSP_RESPONSE_new())) goto err; 111 if (!(ASN1_ENUMERATED_set(rsp->responseStatus, status))) goto err; 113 if (!(rsp->responseBytes = OCSP_RESPBYTES_new())) goto err; 116 goto err; 118 err: 136 goto err; 139 goto err; 144 goto err; 147 goto err; 152 goto err; [all...] |
/external/openssl/crypto/pkcs12/ |
H A D | p12_init.c | 79 goto err; 85 goto err; 89 err:
|
H A D | p12_crt.c | 118 goto err; 120 goto err; 127 goto err; 131 goto err; 141 goto err; 144 goto err; 146 goto err; 149 goto err; 151 goto err; 155 goto err; [all...] |
/external/webkit/Source/WebCore/platform/text/ |
H A D | TextCodecICU.cpp | 228 UErrorCode err; local 232 err = U_ZERO_ERROR; 233 const char* cachedName = ucnv_getName(cachedConverter, &err); 234 if (U_SUCCESS(err) && m_encoding == cachedName) { 241 err = U_ZERO_ERROR; 242 m_converterICU = ucnv_open(m_encoding.name(), &err); 244 if (err == U_AMBIGUOUS_ALIAS_WARNING) 251 int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) argument 254 err = U_ZERO_ERROR; 255 ucnv_toUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, offsets, flush, &err); 266 UErrorCode err = U_ZERO_ERROR; local 276 UErrorCode err = U_ZERO_ERROR; local 316 UErrorCode err = U_ZERO_ERROR; local 360 urlEscapedEntityCallback(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument 374 gbkCallbackEscape(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument 388 gbkUrlEscapedEntityCallack(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument 404 gbkCallbackSubstitute(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument 436 UErrorCode err = U_ZERO_ERROR; local [all...] |
/external/webkit/Source/WebCore/plugins/ |
H A D | PluginDebug.h | 33 #define LOG_NPERROR(err) if (err != NPERR_NO_ERROR) LOG_VERBOSE(Plugins, "%s\n", prettyNameForNPError(err))
|
/external/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 70 #include <openssl/err.h> 203 if (!BN_copy(&group->field, p)) goto err; 208 goto err; 212 if (!BN_GF2m_mod_arr(&group->a, a, group->poly)) goto err; 213 if(bn_wexpand(&group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err; 217 if (!BN_GF2m_mod_arr(&group->b, b, group->poly)) goto err; 218 if(bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err; 222 err: 241 if (!BN_copy(a, &group->a)) goto err; 246 if (!BN_copy(b, &group->b)) goto err; [all...] |
H A D | ecp_smpl.c | 65 #include <openssl/err.h> 198 if (tmp_a == NULL) goto err; 201 if (!BN_copy(&group->field, p)) goto err; 205 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err; 207 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; } 209 if (!BN_copy(&group->a, tmp_a)) goto err; 212 if (!BN_nnmod(&group->b, b, p, ctx)) goto err; 214 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) goto err; 217 if (!BN_add_word(tmp_a, 3)) goto err; 222 err [all...] |
/external/kernel-headers/original/asm-arm/ |
H A D | uaccess.h | 206 #define __get_user_error(x,ptr,err) \ 208 __get_user_err((x),(ptr),err); \ 212 #define __get_user_err(x,ptr,err) \ 218 case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; \ 219 case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; \ 220 case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; \ 226 #define __get_user_asm_byte(x,addr,err) \ 240 : "+r" (err), "=&r" (x) \ 245 #define __get_user_asm_half(x,__gu_addr,err) \ 248 __get_user_asm_byte(__b1, __gu_addr, err); \ [all...] |
/external/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 52 #include <openssl/err.h> 74 goto err; 83 goto err; 93 goto err; 99 if (!r) { ret = -1; goto err; } 110 if (!r) { ret = -1; goto err; } 112 if (!r) { ret = -1; goto err; } 116 if (!r) { ret = -1; goto err; } 118 if (!r) { ret = -1; goto err; } 120 if (!r) { ret = -1; goto err; } [all...] |
/external/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 96 * dsa->method_mont_p)) goto err; 100 * DSA_BN_MOD_EXP(goto err, dsa, r, dsa->g, &k, dsa->p, ctx, 147 goto err; 151 if (s == NULL) goto err; 153 if (ctx == NULL) goto err; 157 if (!DSA_sign_setup(dsa,ctx,&kinv,&r)) goto err; 175 goto err; 178 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */ 179 if (!BN_add(s, &xr, &m)) goto err; /* s = m + xr */ 181 if (!BN_sub(s,s,dsa->q)) goto err; [all...] |
/external/openssl/crypto/bn/ |
H A D | expspeed.c | 97 #include <openssl/err.h> 237 if (!BN_set_word(a, 64)) goto err; 238 if (!BN_set_word(b, P_MOD_64)) goto err; 245 if (!BN_generate_prime(c,sizes[i],0,ADD,REM,genprime_cb,NULL)) goto err; 254 if (!BN_pseudo_rand(a,sizes[i],1,0)) goto err; 256 if (!BN_pseudo_rand(b,sizes[i],1,0)) goto err; 259 if (!BN_pseudo_rand(c,sizes[i],1,1)) goto err; 263 if (!BN_mod_sqr(a,a,c,ctx)) goto err; 264 if (!BN_mod_sqr(b,b,c,ctx)) goto err; 266 if (!BN_nnmod(a,a,c,ctx)) goto err; [all...] |
/external/zlib/src/contrib/minizip/ |
H A D | unzip.c | 215 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); local 216 if (err==1) 245 int err; local 247 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); 250 if (err==UNZ_OK) 251 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); 254 if (err==UNZ_OK) 258 return err; 272 int err; local 274 err 308 int err; local 601 int err=UNZ_OK; local 893 int err=UNZ_OK; local 1142 int err; local 1180 int err=UNZ_OK; local 1202 int err; local 1235 int err; local 1329 int err = unzGetFilePos64(file,&file_pos64); local 1341 int err; local 1392 int err=UNZ_OK; local 1475 int err=UNZ_OK; local 1686 int err=UNZ_OK; local 2006 int err=UNZ_OK; local 2107 int err; local [all...] |
H A D | mztools.c | 37 int err = Z_OK; local 70 err = Z_ERRNO; 81 err = Z_ERRNO; 85 err = Z_ERRNO; 89 err = Z_ERRNO; 93 err = Z_STREAM_ERROR; 104 err = Z_ERRNO; 108 err = Z_ERRNO; 112 err = Z_ERRNO; 131 err [all...] |
/external/chromium/googleurl/src/ |
H A D | url_canon_icu.cc | 57 UErrorCode* err) { 59 *err = U_ZERO_ERROR; 63 ucnv_cbFromUWriteBytes(from_args, prefix, prefix_len, 0, err); 69 ucnv_cbFromUWriteBytes(from_args, number, number_len, 0, err); 73 ucnv_cbFromUWriteBytes(from_args, postfix, postfix_len, 0, err); 83 UErrorCode err = U_ZERO_ERROR; 85 &old_callback_, &old_context_, &err); 89 UErrorCode err = U_ZERO_ERROR; 90 ucnv_setFromUCallBack(converter_, old_callback_, old_context_, 0, 0, &err); 118 UErrorCode err local 51 appendURLEscapedChar(const void* context, UConverterFromUnicodeArgs* from_args, const UChar* code_units, int32_t length, UChar32 code_point, UConverterCallbackReason reason, UErrorCode* err) argument 148 UErrorCode err = U_ZERO_ERROR; local [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
H A D | ocb_done_decrypt.c | 36 int err; local 56 if ((err = s_ocb_done(ocb, ct, ctlen, pt, tagbuf, &tagbuflen, 1)) != CRYPT_OK) { 64 err = CRYPT_OK; 72 return err;
|