OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:emlen
(Results
1 - 2
of
2
) sorted by null
/external/openssl/crypto/rsa/
rsa_pss.c
78
int hLen, maskedDBLen, MSBits,
emLen
;
102
emLen
= RSA_size(rsa);
111
emLen
--;
113
if (
emLen
< (hLen + sLen + 2)) /* sLen can be small negative */
118
if (EM[
emLen
- 1] != 0xbc)
123
maskedDBLen =
emLen
- hLen - 1;
178
int hLen, maskedDBLen, MSBits,
emLen
;
200
emLen
= RSA_size(rsa);
204
emLen
--;
208
sLen =
emLen
- hLen - 2
[
all
...]
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)
61
emlen
- flen - 2 * SHA_DIGEST_LENGTH - 1);
62
db[
emlen
- flen - SHA_DIGEST_LENGTH - 1] = 0x01;
63
memcpy(db +
emlen
- flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
72
dbmask = OPENSSL_malloc(
emlen
- SHA_DIGEST_LENGTH);
79
if (MGF1(dbmask,
emlen
- SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH) < 0)
81
for (i = 0; i <
emlen
- SHA_DIGEST_LENGTH; i++)
84
if (MGF1(seedmask, SHA_DIGEST_LENGTH, db,
emlen
- SHA_DIGEST_LENGTH) < 0
[
all
...]
Completed in 41 milliseconds