Searched refs:emlen (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
H A D | 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 [all...] |
/external/openssl/crypto/rsa/ |
H A D | 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 [all...] |
Completed in 138 milliseconds