Home
last modified time | relevance | path

Searched refs:npad (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/crypto/dh/
Ddh_key.c117 volatile size_t npad = 0, mask = 1; in DH_compute_key() local
131 npad += mask; in DH_compute_key()
135 ret -= npad; in DH_compute_key()
137 memmove(key, key + npad, ret); in DH_compute_key()
139 memset(key + ret, 0, npad); in DH_compute_key()
/third_party/node/deps/openssl/openssl/crypto/dh/
Ddh_key.c111 volatile size_t npad = 0, mask = 1; in DH_compute_key() local
125 npad += mask; in DH_compute_key()
129 ret -= npad; in DH_compute_key()
131 memmove(key, key + npad, ret); in DH_compute_key()
133 memset(key + ret, 0, npad); in DH_compute_key()
/third_party/node/deps/openssl/openssl/ssl/record/
Dssl3_record.c1313 size_t npad; in n_ssl3_mac() local
1330 npad = (48 / md_size) * md_size; in n_ssl3_mac()
1356 memcpy(header + j, ssl3_pad_1, npad); in n_ssl3_mac()
1357 j += npad; in n_ssl3_mac()
1385 || EVP_DigestUpdate(md_ctx, ssl3_pad_1, npad) <= 0 in n_ssl3_mac()
1393 || EVP_DigestUpdate(md_ctx, ssl3_pad_2, npad) <= 0 in n_ssl3_mac()
/third_party/openssl/ssl/record/
Dssl3_record.c1313 size_t npad; in n_ssl3_mac() local
1330 npad = (48 / md_size) * md_size; in n_ssl3_mac()
1356 memcpy(header + j, ssl3_pad_1, npad); in n_ssl3_mac()
1357 j += npad; in n_ssl3_mac()
1385 || EVP_DigestUpdate(md_ctx, ssl3_pad_1, npad) <= 0 in n_ssl3_mac()
1393 || EVP_DigestUpdate(md_ctx, ssl3_pad_2, npad) <= 0 in n_ssl3_mac()