Searched refs:SHA_CBLOCK (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/sys/crypto/openssl/
H A Dossl_sha.h26 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a macro
H A Dossl_sha1.c30 #define HASH_CBLOCK SHA_CBLOCK
H A Dossl_sha256.c64 #define HASH_CBLOCK SHA_CBLOCK
/freebsd-13-stable/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c103 res = SHA_CBLOCK - res;
111 res = len % SHA_CBLOCK;
115 sha1_block_data_order(c, ptr, len / SHA_CBLOCK);
413 sha_off = SHA_CBLOCK - key->md.num;
433 && (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) {
439 blocks *= SHA_CBLOCK;
489 unsigned char c[SHA_CBLOCK];
552 blocks = (len - (256 + 32 + SHA_CBLOCK)) / SHA_CBLOCK;
553 aes_off = len - AES_BLOCK_SIZE - blocks * SHA_CBLOCK;
[all...]
H A Dm_sha1.c104 SHA_CBLOCK,
/freebsd-13-stable/crypto/openssl/include/openssl/
H A Dsha.h28 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a macro
31 # define SHA_LAST_BLOCK (SHA_CBLOCK-8)
/freebsd-13-stable/lib/libmd/
H A Dsha0c.c142 if ((c->num+len) >= SHA_CBLOCK)
152 len-=(SHA_CBLOCK-c->num);
195 sw=len/SHA_CBLOCK;
198 sw*=SHA_CBLOCK;
206 /* we now can process the input data in blocks of SHA_CBLOCK
209 while (len >= SHA_CBLOCK)
213 memcpy(p,data,SHA_CBLOCK);
214 data+=SHA_CBLOCK;
239 len-=SHA_CBLOCK;
H A Dsha.h66 #define SHA_CBLOCK 64 macro
H A Dsha1c.c170 if ((c->num+len) >= SHA_CBLOCK)
180 len-=(SHA_CBLOCK-c->num);
223 sw=len/SHA_CBLOCK;
226 sw*=SHA_CBLOCK;
234 /* we now can process the input data in blocks of SHA_CBLOCK
237 while (len >= SHA_CBLOCK)
241 memcpy(p,data,SHA_CBLOCK);
242 data+=SHA_CBLOCK;
267 len-=SHA_CBLOCK;
/freebsd-13-stable/crypto/openssl/crypto/engine/
H A Deng_openssl.c341 || !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK)
H A Deng_devcrypto.c475 { NID_sha1, SHA_CBLOCK, 20, CRYPTO_SHA1 },
/freebsd-13-stable/crypto/openssl/crypto/sha/
H A Dsha_local.h20 #define HASH_CBLOCK SHA_CBLOCK
198 data += SHA_CBLOCK;
H A Dsha256.c91 #define HASH_CBLOCK SHA_CBLOCK
/freebsd-13-stable/crypto/openssl/engines/
H A De_dasync.c228 || !EVP_MD_meth_set_input_blocksize(_hidden_sha1_md, SHA_CBLOCK)
H A De_ossltest.c91 || !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK)

Completed in 138 milliseconds