Home
last modified time | relevance | path

Searched refs:dblen (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_oaep.c164 int i, dblen = 0, mlen = -1, one_index = 0, msg_index; in RSA_padding_check_PKCS1_OAEP_mgf1() local
204 dblen = num - mdlen - 1; in RSA_padding_check_PKCS1_OAEP_mgf1()
205 db = OPENSSL_malloc(dblen); in RSA_padding_check_PKCS1_OAEP_mgf1()
240 if (PKCS1_MGF1(seed, mdlen, maskeddb, dblen, mgf1md)) in RSA_padding_check_PKCS1_OAEP_mgf1()
245 if (PKCS1_MGF1(db, dblen, seed, mdlen, mgf1md)) in RSA_padding_check_PKCS1_OAEP_mgf1()
247 for (i = 0; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP_mgf1()
256 for (i = mdlen; i < dblen; i++) { in RSA_padding_check_PKCS1_OAEP_mgf1()
276 mlen = dblen - msg_index; in RSA_padding_check_PKCS1_OAEP_mgf1()
293 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
294 dblen - mdlen - 1, tlen); in RSA_padding_check_PKCS1_OAEP_mgf1()
[all …]
/freebsd/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c127 off_t dblen,eblen; in main()
177 dblen=0; in main()
259 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
263 dblen+=lenf; in main()
298 BZ2_bzWrite(&bz2err, pfbz2, db, dblen); in main()
126 off_t dblen,eblen; main() local
/freebsd/crypto/libecc/src/examples/sig/rsa/
H A Drsa.c852 u32 emlen, dblen, pslen; in emsa_pss_encode() local
913 dblen = (emlen - hlen - 1); in emsa_pss_encode()
914 pslen = (dblen - saltlen - 1); /* padding string PS len */ in emsa_pss_encode()
915 ret = _mgf1(h, hlen, dbmask, dblen, mgf_hash_type); EG(ret, err); in emsa_pss_encode()
932 dbmask[dblen - saltlen + i] ^= salt[i]; in emsa_pss_encode()
944 ret = local_memcpy(&em[dblen], h, hlen); EG(ret, err); in emsa_pss_encode()
976 u32 dblen; in emsa_pss_verify() local
1023 dblen = (u32)(emlen - hlen - 1); in emsa_pss_verify()
1024 h = &em[dblen]; in emsa_pss_verify()
1025 MUST_HAVE(((u16)dblen <= sizeof(dbmask)), ret, err); /* sanity check for overflow */ in emsa_pss_verify()
[all …]