Symbol: SHA_CBLOCK
crypto/openssl/crypto/engine/eng_openssl.c
359
|| !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
108
res = SHA_CBLOCK - res;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
116
res = len % SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
120
sha1_block_data_order(c, ptr, len / SHA_CBLOCK);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
417
sha_off = SHA_CBLOCK - key->md.num;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
435
&& (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) {
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
440
blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
490
unsigned char c[SHA_CBLOCK];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
559
blocks = (len - (256 + 32 + SHA_CBLOCK)) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
560
aes_off = len - AES_BLOCK_SIZE - blocks * SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
561
sha_off = SHA_CBLOCK - plen;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
570
sha_off += blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
582
if (len >= (256 + SHA_CBLOCK)) {
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
583
j = (len - (256 + SHA_CBLOCK)) & (0 - SHA_CBLOCK);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
584
j += SHA_CBLOCK - key->md.num;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
616
if (res != SHA_CBLOCK)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
632
for (i = res; i < SHA_CBLOCK; i++, j++)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
635
if (res > SHA_CBLOCK - 8) {
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
646
memset(data, 0, SHA_CBLOCK);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
683
inp_blocks = 1 + ((SHA_CBLOCK - 9 - res) >> (sizeof(res) * 8 - 1));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
685
pad_blocks = res / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
686
res %= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
687
pad_blocks += 1 + ((SHA_CBLOCK - 9 - res) >> (sizeof(res) * 8 - 1));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
736
if (sha_off %= SHA_CBLOCK)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
737
blocks = (len - 3 * SHA_CBLOCK) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
739
blocks = (len - 2 * SHA_CBLOCK) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
740
aes_off = len - blocks * SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
748
sha_off += blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/legacy_sha.c
97
SHA_CBLOCK),
crypto/openssl/crypto/sha/sha256.c
78
#define HASH_CBLOCK SHA_CBLOCK
crypto/openssl/crypto/sha/sha_local.h
199
data += SHA_CBLOCK;
crypto/openssl/crypto/sha/sha_local.h
21
#define HASH_CBLOCK SHA_CBLOCK
crypto/openssl/engines/e_dasync.c
269
|| !EVP_MD_meth_set_input_blocksize(_hidden_sha1_md, SHA_CBLOCK)
crypto/openssl/engines/e_devcrypto.c
677
{ NID_sha1, SHA_CBLOCK, 20, CRYPTO_SHA1 },
crypto/openssl/engines/e_ossltest.c
106
|| !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK)
crypto/openssl/include/openssl/sha.h
40
#define SHA_LAST_BLOCK (SHA_CBLOCK - 8)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
382
size_t sha_off = SHA_CBLOCK - sctx->md.num;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
398
&& (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
403
blocks *= SHA_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
452
unsigned char c[SHA_CBLOCK];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
499
if (len >= (256 + SHA_CBLOCK)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
500
j = (len - (256 + SHA_CBLOCK)) & (0 - SHA_CBLOCK);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
501
j += SHA_CBLOCK - sctx->md.num;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
533
if (res != SHA_CBLOCK)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
549
for (i = res; i < SHA_CBLOCK; i++, j++)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
552
if (res > SHA_CBLOCK - 8) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
563
memset(data, 0, SHA_CBLOCK);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
75
res = SHA_CBLOCK - res;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
83
res = len % SHA_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
87
sha1_block_data_order(c, ptr, len / SHA_CBLOCK);
crypto/openssl/providers/implementations/digests/sha2_prov.c
61
sha1, SHA_CTX, SHA_CBLOCK, SHA_DIGEST_LENGTH, SHA2_FLAGS,
lib/libmd/sha0c.c
135
if ((c->num+len) >= SHA_CBLOCK)
lib/libmd/sha0c.c
145
len-=(SHA_CBLOCK-c->num);
lib/libmd/sha0c.c
188
sw=len/SHA_CBLOCK;
lib/libmd/sha0c.c
191
sw*=SHA_CBLOCK;
lib/libmd/sha0c.c
202
while (len >= SHA_CBLOCK)
lib/libmd/sha0c.c
206
memcpy(p,data,SHA_CBLOCK);
lib/libmd/sha0c.c
207
data+=SHA_CBLOCK;
lib/libmd/sha0c.c
232
len-=SHA_CBLOCK;
lib/libmd/sha1c.c
100
size_t n = len & ~(size_t)(SHA_CBLOCK - 1);
lib/libmd/sha1c.c
118
unsigned char tmp[SHA_CBLOCK + sizeof(uint64_t)] = {0x80, 0};
lib/libmd/sha1c.c
149
while (len >= SHA_CBLOCK) {
lib/libmd/sha1c.c
231
p += SHA_CBLOCK;
lib/libmd/sha1c.c
232
len -= SHA_CBLOCK;
lib/libmd/sha1c.c
83
size_t n = SHA_CBLOCK - c->num;
lib/libmd/sha1c.c
90
if (c->num == SHA_CBLOCK) {
lib/libmd/sha1c.c
91
sha1_block(c, (void *)c->data, SHA_CBLOCK);
lib/libmd/sha1c.c
99
if (len >= SHA_CBLOCK) {
sys/crypto/openssl/ossl_sha1.c
28
#define HASH_CBLOCK SHA_CBLOCK
sys/crypto/openssl/ossl_sha256.c
62
#define HASH_CBLOCK SHA_CBLOCK