Searched refs:err (Results 276 - 300 of 2032) sorted by relevance

<<11121314151617181920>>

/external/dropbear/libtomcrypt/src/encauth/ocb/
H A Docb_encrypt_authenticate_memory.c40 int err; local
56 if ((err = ocb_init(ocb, cipher, key, keylen, nonce)) != CRYPT_OK) {
61 if ((err = ocb_encrypt(ocb, pt, ct)) != CRYPT_OK) {
69 err = ocb_done_encrypt(ocb, pt, ptlen, ct, tag, taglen);
77 return err;
/external/dropbear/libtomcrypt/src/mac/f9/
H A Df9_done.c28 int err, x; local
33 if ((err = cipher_is_valid(f9->cipher)) != CRYPT_OK) {
34 return err;
52 if ((err = cipher_descriptor[f9->cipher].setup(f9->akey, f9->keylen, 0, &f9->key)) != CRYPT_OK) {
53 return err;
H A Df9_memory_multi.c38 int err; local
56 if ((err = f9_init(f9, cipher, key, keylen)) != CRYPT_OK) {
64 if ((err = f9_process(f9, curptr, curlen)) != CRYPT_OK) {
74 if ((err = f9_done(f9, out, outlen)) != CRYPT_OK) {
83 return err;
/external/dropbear/libtomcrypt/src/mac/hmac/
H A Dhmac_memory_multi.c40 int err; local
56 if ((err = hmac_init(hmac, hash, key, keylen)) != CRYPT_OK) {
65 if ((err = hmac_process(hmac, curptr, curlen)) != CRYPT_OK) {
75 if ((err = hmac_done(hmac, out, outlen)) != CRYPT_OK) {
84 return err;
/external/dropbear/libtomcrypt/src/mac/omac/
H A Domac_done.c29 int err, mode; local
35 if ((err = cipher_is_valid(omac->cipher_idx)) != CRYPT_OK) {
36 return err;
64 if ((err = cipher_descriptor[omac->cipher_idx].ecb_encrypt(omac->block, omac->block, &omac->key)) != CRYPT_OK) {
65 return err;
H A Domac_memory_multi.c38 int err; local
56 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) {
64 if ((err = omac_process(omac, curptr, curlen)) != CRYPT_OK) {
74 if ((err = omac_done(omac, out, outlen)) != CRYPT_OK) {
83 return err;
/external/dropbear/libtomcrypt/src/mac/pmac/
H A Dpmac_done.c22 int err, x; local
26 if ((err = cipher_is_valid(state->cipher_idx)) != CRYPT_OK) {
27 return err;
52 if ((err = cipher_descriptor[state->cipher_idx].ecb_encrypt(state->checksum, state->checksum, &state->key)) != CRYPT_OK) {
53 return err;
H A Dpmac_memory_multi.c38 int err; local
55 if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK) {
63 if ((err = pmac_process(pmac, curptr, curlen)) != CRYPT_OK) {
73 if ((err = pmac_done(pmac, out, outlen)) != CRYPT_OK) {
82 return err;
/external/dropbear/libtomcrypt/src/mac/xcbc/
H A Dxcbc_memory_multi.c38 int err; local
56 if ((err = xcbc_init(xcbc, cipher, key, keylen)) != CRYPT_OK) {
64 if ((err = xcbc_process(xcbc, curptr, curlen)) != CRYPT_OK) {
74 if ((err = xcbc_done(xcbc, out, outlen)) != CRYPT_OK) {
83 return err;
/external/dropbear/libtomcrypt/src/modes/ctr/
H A Dctr_start.c38 int x, err; local
45 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
46 return err;
50 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ctr->key)) != CRYPT_OK) {
51 return err;
/external/dropbear/libtomcrypt/src/modes/lrw/
H A Dlrw_start.c38 int err; local
56 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
57 return err;
64 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &lrw->key)) != CRYPT_OK) {
65 return err;
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
H A Dder_decode_integer.c31 int err; local
59 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in + x, z)) != CRYPT_OK) {
60 return err;
83 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in + x, y)) != CRYPT_OK) {
84 return err;
/external/grub/stage2/
H A Dbios.c54 int err;
85 err = biosdisk_int13_extensions ((read + 0x42) << 8, drive, &dap);
89 if (err)
92 return err;
118 err = biosdisk_standard (read + 0x02, drive,
123 return err;
130 int err;
151 err = biosdisk_int13_extensions (0x4B01, drive, &cdrp);
152 if (! err && cdrp.drive_no == drive)
188 int err;
52 int err; local
128 int err; local
186 int err; local
[all...]
/external/icu4c/test/cintltst/
H A Dcposxtst.c76 const char* err; local
85 err = u_errorName(ec);
88 set_num, msg_num, str, len, err);
100 if (uprv_strcmp(err, DATA[i+3]) != 0) {
102 err, DATA[i+3]);
/external/openssl/crypto/evp/
H A Dp_open.c86 goto err;
95 goto err;
102 goto err;
104 if(!EVP_DecryptInit_ex(ctx,NULL,NULL,key,iv)) goto err;
107 err:
/external/openssl/crypto/md5/
H A Dmd5test.c99 int i,err=0; local
115 err++;
125 if (err) printf("ERROR: %d\n", err);
127 EXIT(err);
/external/oprofile/agents/jvmti/
H A Dlibjvmti_oprofile.c45 static int handle_error(jvmtiError err, char const * msg, int severe) argument
47 if (err != JVMTI_ERROR_NONE) {
48 fprintf(stderr, "%s: %s, err code %i\n",
49 severe ? "Error" : "Warning", msg, err);
51 return err != JVMTI_ERROR_NONE;
126 jvmtiError err; local
131 err = (*jvmti)->GetMethodDeclaringClass(jvmti, method,
133 if (handle_error(err, "GetMethodDeclaringClass()", 1))
139 err = (*jvmti)->GetLineNumberTable(jvmti, method,
141 if (err
[all...]
/external/valgrind/main/include/
H A Dpub_tool_errormgr.h59 ExeContext* VG_(get_error_where) ( Error* err );
60 ErrorKind VG_(get_error_kind) ( Error* err );
61 Addr VG_(get_error_address) ( Error* err );
62 Char* VG_(get_error_string) ( Error* err );
63 void* VG_(get_error_extra) ( Error* err );
/external/openssl/crypto/asn1/
H A Dn_pkey.c136 if ((pkey=NETSCAPE_PKEY_new()) == NULL) goto err;
137 if ((enckey=NETSCAPE_ENCRYPTED_PKEY_new()) == NULL) goto err;
141 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err;
159 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err;
175 goto err;
185 goto err;
191 goto err;
205 goto err;
211 goto err;
217 goto err;
[all...]
/external/zlib/src/contrib/minizip/
H A Dminizip.c188 int err=ZIP_OK; local
195 err = ZIP_ERRNO;
198 if (err == ZIP_OK)
201 err = ZIP_OK;
207 err = ZIP_ERRNO;
214 } while ((err == ZIP_OK) && (size_read>0));
221 return err;
257 int err=0; local
384 err= ZIP_ERRNO;
389 for (i=zipfilenamearg+1;(i<argc) && (err
[all...]
/external/openssl/crypto/bn/
H A Dbn_blind.c151 if ((ret->A = BN_dup(A)) == NULL) goto err;
155 if ((ret->Ai = BN_dup(Ai)) == NULL) goto err;
159 if ((ret->mod = BN_dup(mod)) == NULL) goto err;
169 err:
193 goto err;
204 goto err;
208 if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
209 if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
213 err:
321 goto err;
[all...]
H A Dbn_exp.c150 if (rr == NULL || v == NULL) goto err;
152 if (BN_copy(v,a) == NULL) goto err;
156 { if (BN_copy(rr,a) == NULL) goto err; }
157 else { if (!BN_one(rr)) goto err; }
161 if (!BN_sqr(v,v,ctx)) goto err;
164 if (!BN_mul(rr,rr,v,ctx)) goto err;
168 err:
279 if(!aa || !val[0]) goto err;
285 if (!BN_copy(aa, m)) goto err;
287 if (BN_RECP_CTX_set(&recp,aa,ctx) <= 0) goto err;
[all...]
H A Dbn_exp2.c156 if(!d || !r || !val1[0] || !val2[0]) goto err;
162 if ((mont=BN_MONT_CTX_new()) == NULL) goto err;
163 if (!BN_MONT_CTX_set(mont,m,ctx)) goto err;
175 goto err;
184 goto err;
187 if (!BN_to_montgomery(val1[0],a_mod_m,mont,ctx)) goto err;
190 if (!BN_mod_mul_montgomery(d,val1[0],val1[0],mont,ctx)) goto err;
198 goto err;
209 goto err;
218 goto err;
[all...]
/external/openssl/crypto/x509v3/
H A Dv3_ocsp.c164 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) goto err;
165 if (!ASN1_STRING_print(bp, (ASN1_STRING*)a->crlUrl)) goto err;
166 if (BIO_write(bp, "\n", 1) <= 0) goto err;
170 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) goto err;
171 if (i2a_ASN1_INTEGER(bp, a->crlNum) <= 0) goto err;
172 if (BIO_write(bp, "\n", 1) <= 0) goto err;
176 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) goto err;
177 if (!ASN1_GENERALIZEDTIME_print(bp, a->crlTime)) goto err;
178 if (BIO_write(bp, "\n", 1) <= 0) goto err;
181 err
[all...]
/external/aac/libFDK/include/x86/
H A Dclz_x86.h132 unsigned char err; local
133 err = _BitScanReverse(&result, value);
134 if (err) {

Completed in 331 milliseconds

<<11121314151617181920>>