Home
last modified time | relevance | path

Searched refs:dblen (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
Drsa_oaep.c98 int i, dblen, mlen = -1; in RSA_padding_check_PKCS1_OAEP() local
123 dblen = num - SHA_DIGEST_LENGTH; in RSA_padding_check_PKCS1_OAEP()
124 db = OPENSSL_malloc(dblen + num); in RSA_padding_check_PKCS1_OAEP()
133 padded_from = db + dblen; in RSA_padding_check_PKCS1_OAEP()
139 if (MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen)) in RSA_padding_check_PKCS1_OAEP()
144 if (MGF1(db, dblen, seed, SHA_DIGEST_LENGTH)) in RSA_padding_check_PKCS1_OAEP()
146 for (i = 0; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP()
156 for (i = SHA_DIGEST_LENGTH; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP()
159 if (i == dblen || db[i] != 0x01) in RSA_padding_check_PKCS1_OAEP()
165 mlen = dblen - ++i; in RSA_padding_check_PKCS1_OAEP()
/external/openssl/crypto/rsa/
Drsa_oaep.c98 int i, dblen, mlen = -1; in RSA_padding_check_PKCS1_OAEP() local
123 dblen = num - SHA_DIGEST_LENGTH; in RSA_padding_check_PKCS1_OAEP()
124 db = OPENSSL_malloc(dblen + num); in RSA_padding_check_PKCS1_OAEP()
133 padded_from = db + dblen; in RSA_padding_check_PKCS1_OAEP()
139 if (MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen)) in RSA_padding_check_PKCS1_OAEP()
144 if (MGF1(db, dblen, seed, SHA_DIGEST_LENGTH)) in RSA_padding_check_PKCS1_OAEP()
146 for (i = 0; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP()
156 for (i = SHA_DIGEST_LENGTH; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP()
159 if (i == dblen || db[i] != 0x01) in RSA_padding_check_PKCS1_OAEP()
165 mlen = dblen - ++i; in RSA_padding_check_PKCS1_OAEP()
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
Dgoobsdiff.c344 off_t cblen, dblen, eblen; in main() local
380 dblen=0; in main()
471 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
475 dblen+=lenf; in main()
494 header[89] = make_small(&db, &dblen); in main()
499 if (fwrite(db, 1, dblen, pf) != dblen) in main()
505 offtout(dblen, header + 16); in main()
/external/bsdiff/
Dbsdiff.c208 off_t dblen,eblen; in main() local
245 dblen=0; in main()
327 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
331 dblen+=lenf; in main()
366 BZ2_bzWrite(&bz2err, pfbz2, db, dblen); in main()