HomeSort by relevance Sort by last modified time
    Searched refs:maskedDBLen (Results 1 - 2 of 2) sorted by null

  /external/openssl/crypto/rsa/
rsa_pss.c 85 int hLen, maskedDBLen, MSBits, emLen;
134 maskedDBLen = emLen - hLen - 1;
135 H = EM + maskedDBLen;
136 DB = OPENSSL_malloc(maskedDBLen);
142 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0)
144 for (i = 0; i < maskedDBLen; i++)
148 for (i = 0; DB[i] == 0 && i < (maskedDBLen-1); i++) ;
154 if (sLen >= 0 && (maskedDBLen - i) != sLen)
163 if (maskedDBLen - i)
165 if (!EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/rsa/
padding.c 553 int maskedDBLen, MSBits, emLen;
600 maskedDBLen = emLen - hLen - 1;
601 H = EM + maskedDBLen;
602 DB = OPENSSL_malloc(maskedDBLen);
607 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) {
610 for (i = 0; i < maskedDBLen; i++) {
616 for (i = 0; DB[i] == 0 && i < (maskedDBLen - 1); i++)
623 if (sLen >= 0 && (maskedDBLen - i) != sLen) {
632 if (maskedDBLen - i) {
633 if (!EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i))
    [all...]

Completed in 106 milliseconds