/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_oaep_encode.c | 40 unsigned char *DB, *seed, *mask; 66 /* allocate ram for DB/mask/salt of size modulus_len */ 67 DB = XMALLOC(modulus_len); 70 if (DB == NULL || mask == NULL || seed == NULL) { 71 if (DB != NULL) { 72 XFREE(DB); 84 /* DB == lhash || PS || 0x01 || M, PS == k - mlen - 2hlen - 2 zeroes */ 87 if ((err = hash_memory(hash_idx, lparam, lparamlen, DB, &x)) != CRYPT_OK) { 91 /* can't pass hash_memory a NULL so use DB with zero length */ 92 if ((err = hash_memory(hash_idx, DB, 0, DB, &x)) != CRYPT_OK) [all...] |
pkcs_1_oaep_decode.c | 39 unsigned char *DB, *seed, *mask; 63 /* allocate ram for DB/mask/salt of size modulus_len */ 64 DB = XMALLOC(modulus_len); 67 if (DB == NULL || mask == NULL || seed == NULL) { 68 if (DB != NULL) { 69 XFREE(DB); 99 /* now read the masked DB */ 100 XMEMCPY(DB, msg + x, modulus_len - hLen - 1); 104 if ((err = pkcs_1_mgf1(hash_idx, DB, modulus_len - hLen - 1, mask, hLen)) != CRYPT_OK) { 118 /* xor against DB */ [all...] |
pkcs_1_pss_encode.c | 39 unsigned char *DB, *mask, *salt, *hash; 64 /* allocate ram for DB/mask/salt/hash of size modulus_len */ 65 DB = XMALLOC(modulus_len); 69 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) { 70 if (DB != NULL) { 71 XFREE(DB); 98 zeromem(DB, 8); 99 if ((err = hash_descriptor[hash_idx].process(&md, DB, 8)) != CRYPT_OK) { 112 /* generate DB = PS || 0x01 || salt, PS == modulus_len - saltlen - hLen - 2 zero bytes */ 114 XMEMSET(DB + x, 0, modulus_len - saltlen - hLen - 2) [all...] |
pkcs_1_pss_decode.c | 37 unsigned char *DB, *mask, *salt, *hash; 62 /* allocate ram for DB/mask/salt/hash of size modulus_len */ 63 DB = XMALLOC(modulus_len); 67 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) { 68 if (DB != NULL) { 69 XFREE(DB); 89 /* copy out the DB */ 91 XMEMCPY(DB, sig + x, modulus_len - hLen - 1); 109 /* xor against DB */ 111 DB[y] ^= mask[y] [all...] |
/external/openssl/crypto/rsa/ |
rsa_pss.c | 80 unsigned char *DB = NULL; 123 DB = OPENSSL_malloc(maskedDBLen); 124 if (!DB) 129 PKCS1_MGF1(DB, maskedDBLen, H, hLen, Hash); 131 DB[i] ^= EM[i]; 133 DB[0] &= 0xFF >> (8 - MSBits); 134 for (i = 0; DB[i] == 0 && i < (maskedDBLen-1); i++) ; 135 if (DB[i++] != 0x1) 150 EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i); 162 if (DB) [all...] |
/development/scripts/ |
add-accounts | 32 DB = "/data/data/com.google.android.googleapps/databases/accounts.db" 55 "/system/bin/ls", DB) 81 db = DbExists(adb_flags) 82 if db is None: 87 if db:
|
add-accounts-sdk | 32 DB = "/data/data/com.google.android.googleapps/databases/accounts.db" 52 args = ("adb",) + adb_flags + ("shell", "/system/bin/ls", DB) 78 db = DbExists(adb_flags) 79 if db is None: 84 if db:
|
/external/clearsilver/python/examples/trans/ |
db_trans.py | 48 class DB(Database): 49 def __init__(self, db, debug=0): 50 self.db = db 59 # share one cursor for this db object! 62 self._cursor = profiler.ProfilerCursor(self.db.cursor()) 64 self._cursor = self.db.cursor() 78 db = MySQLdb.connect(host = host, user=USER, passwd = PASSWORD, db=DATABASE) 81 retval = DB(db, debug=debug [all...] |
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 54 static final boolean DB = false; 62 static final int TIME_TO_RESTART = DB ? 15*1000 : 60*1000; 65 static final int MEMCHECK_DEFAULT_INTERVAL = DB ? 30 : 30*60; // 30 minutes 66 static final int MEMCHECK_DEFAULT_LOG_REALTIME_INTERVAL = DB ? 60 : 2*60*60; // 2 hours 67 static final int MEMCHECK_DEFAULT_SYSTEM_SOFT_THRESHOLD = (DB ? 10:16)*1024*1024; // 16MB 68 static final int MEMCHECK_DEFAULT_SYSTEM_HARD_THRESHOLD = (DB ? 14:20)*1024*1024; // 20MB 69 static final int MEMCHECK_DEFAULT_PHONE_SOFT_THRESHOLD = (DB ? 4:8)*1024*1024; // 8MB 70 static final int MEMCHECK_DEFAULT_PHONE_HARD_THRESHOLD = (DB ? 8:12)*1024*1024; // 12MB 74 static final int MEMCHECK_DEFAULT_MIN_SCREEN_OFF = DB ? 1*60 : 5*60; // 5 minutes 75 static final int MEMCHECK_DEFAULT_MIN_ALARM = DB ? 1*60 : 3*60; // 3 minute [all...] |
/external/stlport/test/eh/ |
como.mak | 67 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB
|
deccxx.mak | 73 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository
|
sgi_mipspro.mak | 62 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository
|
egcs.mak | 75 -rm -fr ${TEST_EXE} $(OBJDIR) $(D_OBJDIR) $(NOSGI_OBJDIR) *.o *.rpo *.obj *.out core *~ Templates.DB
|
gcc7.mak | 93 -rm -fr ${TEST_EXE} *.o */*.o *.rpo *.obj *.out core *~ Templates.DB
|
hp.mak | 75 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache
|
kai.mak | 65 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache ti_files
|
sunpro-64.mak | 69 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache
|
sunpro.mak | 71 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache
|
sunpro42.mak | 70 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache
|
gcc-amigaos-m68k.mak | 119 -rm -fr ${TEST_EXE} *.o */*.o *.rpo *.obj *.out core *~ Templates.DB
|
cygwin.mak | 123 -rm -fr ${TEST_EXE} *.o */*.o *.rpo *.obj *.out core *~ Templates.DB
|
djgpp.mak | 121 -rm -fr ${TEST_EXE} *.o */*.o *.rpo *.obj *.out core *~ Templates.DB
|
gcc-99r1.mak | 109 -rm -fr ${TEST_EXE} $(D_TEST_EXE) *.o */*.o *.rpo *.obj *.out core *~ Templates.DB
|
/external/webkit/WebKit/win/Interfaces/ |
IWebResourceLoadDelegate.idl | 59 uuid(AF3289AA-90DB-4ca4-A112-A1E5F0517953),
|
/external/clearsilver/util/ |
wdb.h | 18 #include <db.h> 23 int ondisk_index; /* index# on disk, constant for life of db, 57 DB *db; member in struct:_wdb
|