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

  /external/openssl/crypto/rsa/
rsa_oaep.c 38 int i, emlen = tlen - 1; local
42 if (flen > emlen - 2 * SHA_DIGEST_LENGTH - 1)
49 if (emlen < 2 * SHA_DIGEST_LENGTH + 1)
62 emlen - flen - 2 * SHA_DIGEST_LENGTH - 1);
63 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01;
64 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
73 dbmask = OPENSSL_malloc(emlen - SHA_DIGEST_LENGTH);
80 if (MGF1(dbmask, emlen - SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH) < 0)
82 for (i = 0; i < emlen - SHA_DIGEST_LENGTH; i++)
85 if (MGF1(seedmask, SHA_DIGEST_LENGTH, db, emlen - SHA_DIGEST_LENGTH) < 0
    [all...]
rsa_pss.c 85 int hLen, maskedDBLen, MSBits, emLen;
113 emLen = RSA_size(rsa);
122 emLen--;
124 if (emLen < (hLen + sLen + 2)) /* sLen can be small negative */
129 if (EM[emLen - 1] != 0xbc)
134 maskedDBLen = emLen - hLen - 1;
200 int hLen, maskedDBLen, MSBits, emLen;
225 emLen = RSA_size(rsa);
229 emLen--;
233 sLen = emLen - hLen - 2
    [all...]

Completed in 754 milliseconds