Searched refs:SHA_CBLOCK (Results 1 – 17 of 17) sorted by relevance
/freebsd/crypto/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 109 res = SHA_CBLOCK - res; in sha1_update() 117 res = len % SHA_CBLOCK; in sha1_update() 121 sha1_block_data_order(c, ptr, len / SHA_CBLOCK); in sha1_update() 419 sha_off = SHA_CBLOCK - key->md.num; in aesni_cbc_hmac_sha1_cipher() 439 && (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) { in aesni_cbc_hmac_sha1_cipher() 444 blocks *= SHA_CBLOCK; in aesni_cbc_hmac_sha1_cipher() 494 unsigned char c[SHA_CBLOCK]; in aesni_cbc_hmac_sha1_cipher() 557 blocks = (len - (256 + 32 + SHA_CBLOCK)) / SHA_CBLOCK; in aesni_cbc_hmac_sha1_cipher() 558 aes_off = len - AES_BLOCK_SIZE - blocks * SHA_CBLOCK; in aesni_cbc_hmac_sha1_cipher() 559 sha_off = SHA_CBLOCK - plen; in aesni_cbc_hmac_sha1_cipher() [all …]
|
H A D | legacy_sha.c | 98 SHA_CBLOCK),
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 75 res = SHA_CBLOCK - res; in sha1_update() 83 res = len % SHA_CBLOCK; in sha1_update() 87 sha1_block_data_order(c, ptr, len / SHA_CBLOCK); in sha1_update() 382 size_t sha_off = SHA_CBLOCK - sctx->md.num; in aesni_cbc_hmac_sha1_cipher() 400 && (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) { in aesni_cbc_hmac_sha1_cipher() 405 blocks *= SHA_CBLOCK; in aesni_cbc_hmac_sha1_cipher() 454 unsigned char c[SHA_CBLOCK]; in aesni_cbc_hmac_sha1_cipher() 501 if (len >= (256 + SHA_CBLOCK)) { in aesni_cbc_hmac_sha1_cipher() 502 j = (len - (256 + SHA_CBLOCK)) & (0 - SHA_CBLOCK); in aesni_cbc_hmac_sha1_cipher() 503 j += SHA_CBLOCK - sctx->md.num; in aesni_cbc_hmac_sha1_cipher() [all …]
|
/freebsd/lib/libmd/ |
H A D | sha1c.c | 163 if ((c->num+len) >= SHA_CBLOCK) in SHA1_Update() 173 len-=(SHA_CBLOCK-c->num); in SHA1_Update() 216 sw=len/SHA_CBLOCK; in SHA1_Update() 219 sw*=SHA_CBLOCK; in SHA1_Update() 230 while (len >= SHA_CBLOCK) in SHA1_Update() 234 memcpy(p,data,SHA_CBLOCK); in SHA1_Update() 235 data+=SHA_CBLOCK; in SHA1_Update() 260 len-=SHA_CBLOCK; in SHA1_Update()
|
H A D | sha0c.c | 135 if ((c->num+len) >= SHA_CBLOCK) in SHA_Update() 145 len-=(SHA_CBLOCK-c->num); in SHA_Update() 188 sw=len/SHA_CBLOCK; in SHA_Update() 191 sw*=SHA_CBLOCK; in SHA_Update() 202 while (len >= SHA_CBLOCK) in SHA_Update() 206 memcpy(p,data,SHA_CBLOCK); in SHA_Update() 207 data+=SHA_CBLOCK; in SHA_Update() 232 len-=SHA_CBLOCK; in SHA_Update()
|
H A D | sha.h | 63 #define SHA_CBLOCK 64 macro
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | sha.h | 37 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a macro 40 # define SHA_LAST_BLOCK (SHA_CBLOCK-8)
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_sha.h | 24 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a macro
|
H A D | ossl_sha1.c | 28 #define HASH_CBLOCK SHA_CBLOCK
|
H A D | ossl_sha256.c | 62 #define HASH_CBLOCK SHA_CBLOCK
|
/freebsd/crypto/openssl/providers/implementations/digests/ |
H A D | sha2_prov.c | 62 sha1, SHA_CTX, SHA_CBLOCK, SHA_DIGEST_LENGTH, SHA2_FLAGS,
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | sha_local.h | 21 #define HASH_CBLOCK SHA_CBLOCK 194 data += SHA_CBLOCK; in HASH_BLOCK_DATA_ORDER()
|
H A D | sha256.c | 70 #define HASH_CBLOCK SHA_CBLOCK
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_openssl.c | 358 || !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK) in test_sha_md()
|
/freebsd/crypto/openssl/engines/ |
H A D | e_ossltest.c | 105 || !EVP_MD_meth_set_input_blocksize(md, SHA_CBLOCK) in digest_sha1()
|
H A D | e_dasync.c | 16 * #defines and strucures can be accessed, in this case SHA_CBLOCK and 269 || !EVP_MD_meth_set_input_blocksize(_hidden_sha1_md, SHA_CBLOCK) in bind_dasync()
|
H A D | e_devcrypto.c | 690 { NID_sha1, SHA_CBLOCK, 20, CRYPTO_SHA1 },
|