Home
last modified time | relevance | path

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

/third_party/openssl/providers/implementations/ciphers/
Dcipher_rc4_hmac_md5_hw.c31 # define rc4_off 0 macro
57 size_t rc4_off = MOD - 1 - (ks->x & (MOD - 1)); in cipher_hw_rc4_hmac_md5_cipher() local
71 if (rc4_off > md5_off) in cipher_hw_rc4_hmac_md5_cipher()
78 RC4(ks, rc4_off, in, out); in cipher_hw_rc4_hmac_md5_cipher()
80 rc4_md5_enc(ks, in + rc4_off, out + rc4_off, in cipher_hw_rc4_hmac_md5_cipher()
83 rc4_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
90 rc4_off = 0; in cipher_hw_rc4_hmac_md5_cipher()
98 memcpy(out + rc4_off, in + rc4_off, plen - rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
106 RC4(ks, len - rc4_off, out + rc4_off, out + rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
108 RC4(ks, len - rc4_off, in + rc4_off, out + rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dcipher_rc4_hmac_md5_hw.c31 # define rc4_off 0 macro
57 size_t rc4_off = MOD - 1 - (ks->x & (MOD - 1)); in cipher_hw_rc4_hmac_md5_cipher() local
71 if (rc4_off > md5_off) in cipher_hw_rc4_hmac_md5_cipher()
78 RC4(ks, rc4_off, in, out); in cipher_hw_rc4_hmac_md5_cipher()
80 rc4_md5_enc(ks, in + rc4_off, out + rc4_off, in cipher_hw_rc4_hmac_md5_cipher()
83 rc4_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
90 rc4_off = 0; in cipher_hw_rc4_hmac_md5_cipher()
98 memcpy(out + rc4_off, in + rc4_off, plen - rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
106 RC4(ks, len - rc4_off, out + rc4_off, out + rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
108 RC4(ks, len - rc4_off, in + rc4_off, out + rc4_off); in cipher_hw_rc4_hmac_md5_cipher()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_rc4_hmac_md5.c72 # define rc4_off 0 macro
81 size_t rc4_off = 32 - 1 - (key->ks.x & (32 - 1)), /* 32 is $MOD from in rc4_hmac_md5_cipher() local
96 if (rc4_off > md5_off) in rc4_hmac_md5_cipher()
102 RC4(&key->ks, rc4_off, in, out); in rc4_hmac_md5_cipher()
104 rc4_md5_enc(&key->ks, in + rc4_off, out + rc4_off, in rc4_hmac_md5_cipher()
107 rc4_off += blocks; in rc4_hmac_md5_cipher()
114 rc4_off = 0; in rc4_hmac_md5_cipher()
122 memcpy(out + rc4_off, in + rc4_off, plen - rc4_off); in rc4_hmac_md5_cipher()
130 RC4(&key->ks, len - rc4_off, out + rc4_off, out + rc4_off); in rc4_hmac_md5_cipher()
132 RC4(&key->ks, len - rc4_off, in + rc4_off, out + rc4_off); in rc4_hmac_md5_cipher()
[all …]
/third_party/openssl/crypto/evp/
De_rc4_hmac_md5.c72 # define rc4_off 0 macro
81 size_t rc4_off = 32 - 1 - (key->ks.x & (32 - 1)), /* 32 is $MOD from in rc4_hmac_md5_cipher() local
96 if (rc4_off > md5_off) in rc4_hmac_md5_cipher()
102 RC4(&key->ks, rc4_off, in, out); in rc4_hmac_md5_cipher()
104 rc4_md5_enc(&key->ks, in + rc4_off, out + rc4_off, in rc4_hmac_md5_cipher()
107 rc4_off += blocks; in rc4_hmac_md5_cipher()
114 rc4_off = 0; in rc4_hmac_md5_cipher()
122 memcpy(out + rc4_off, in + rc4_off, plen - rc4_off); in rc4_hmac_md5_cipher()
130 RC4(&key->ks, len - rc4_off, out + rc4_off, out + rc4_off); in rc4_hmac_md5_cipher()
132 RC4(&key->ks, len - rc4_off, in + rc4_off, out + rc4_off); in rc4_hmac_md5_cipher()
[all …]