• Home
  • Raw
  • Download

Lines Matching refs:block_sz

55 	u8 block_sz;    /* block size, only set once */  member
167 req->hmac_zlen || (req->processed != req->block_sz)) { in safexcel_context_control()
186 (req->processed != req->block_sz)) { in safexcel_context_control()
278 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
280 sreq->processed = sreq->block_sz; in safexcel_handle_req_result()
830 (req->len == req->block_sz) && in safexcel_ahash_final()
840 memset(req->cache, 0, req->block_sz); in safexcel_ahash_final()
846 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
848 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
851 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
852 req->cache[req->block_sz-1] = (req->block_sz << 3) & in safexcel_ahash_final()
856 req->len += req->block_sz; /* plus 1 hash block */ in safexcel_ahash_final()
946 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_sha1_init()
1029 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_hmac_sha1_init()
1275 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha256_init()
1332 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha224_init()
1402 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha224_init()
1474 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha256_init()
1533 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha512_init()
1590 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha384_init()
1660 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha512_init()
1732 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha384_init()
1791 req->block_sz = MD5_HMAC_BLOCK_SIZE; in safexcel_md5_init()
1854 req->block_sz = MD5_HMAC_BLOCK_SIZE; in safexcel_hmac_md5_init()
1937 req->block_sz = sizeof(u32); in safexcel_crc32_init()
2008 req->block_sz = AES_BLOCK_SIZE; in safexcel_cbcmac_init()
2284 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()
2354 req->block_sz = SM3_BLOCK_SIZE; in safexcel_hmac_sm3_init()
2414 req->block_sz = SHA3_224_BLOCK_SIZE; in safexcel_sha3_224_init()
2607 req->block_sz = SHA3_256_BLOCK_SIZE; in safexcel_sha3_256_init()
2665 req->block_sz = SHA3_384_BLOCK_SIZE; in safexcel_sha3_384_init()
2723 req->block_sz = SHA3_512_BLOCK_SIZE; in safexcel_sha3_512_init()
2878 req->block_sz = SHA3_224_BLOCK_SIZE; in safexcel_hmac_sha3_224_init()
2949 req->block_sz = SHA3_256_BLOCK_SIZE; in safexcel_hmac_sha3_256_init()
3020 req->block_sz = SHA3_384_BLOCK_SIZE; in safexcel_hmac_sha3_384_init()
3091 req->block_sz = SHA3_512_BLOCK_SIZE; in safexcel_hmac_sha3_512_init()