Home | History | Annotate | Download | only in nss

Lines Matching defs:db

80     unsigned char *db;
97 db = (unsigned char *)PORT_Alloc(dbMaskLen);
98 if (db == NULL) {
103 MGF1(maskHashAlg, db, dbMaskLen, &em[dbMaskLen], hash->length);
107 db[i] ^= em[i];
111 db[0] &= 0x7f;
115 if (db[i] != 0) {
116 PORT_Free(db);
121 if (db[dbMaskLen - sLen - 1] != 0x01) {
122 PORT_Free(db);
130 PORT_Free(db);
136 PORT_Free(db);
144 (*hash->update)(hash_context, &db[dbMaskLen - sLen], sLen);
148 PORT_Free(db);