• Home
  • Raw
  • Download

Lines Matching refs:block_sz

53 	u8 block_sz;    /* block size, only set once */  member
165 req->hmac_zlen || (req->processed != req->block_sz)) { in safexcel_context_control()
184 (req->processed != req->block_sz)) { in safexcel_context_control()
276 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
278 sreq->processed = sreq->block_sz; in safexcel_handle_req_result()
828 (req->len == req->block_sz) && in safexcel_ahash_final()
838 memset(req->cache, 0, req->block_sz); in safexcel_ahash_final()
844 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
846 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
849 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
850 req->cache[req->block_sz-1] = (req->block_sz << 3) & in safexcel_ahash_final()
854 req->len += req->block_sz; /* plus 1 hash block */ in safexcel_ahash_final()
944 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_sha1_init()
1027 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_hmac_sha1_init()
1273 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha256_init()
1330 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha224_init()
1400 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha224_init()
1472 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha256_init()
1531 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha512_init()
1588 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha384_init()
1658 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha512_init()
1730 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha384_init()
1789 req->block_sz = MD5_HMAC_BLOCK_SIZE; in safexcel_md5_init()
1852 req->block_sz = MD5_HMAC_BLOCK_SIZE; in safexcel_hmac_md5_init()
1935 req->block_sz = sizeof(u32); in safexcel_crc32_init()
2006 req->block_sz = AES_BLOCK_SIZE; in safexcel_cbcmac_init()
2282 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()
2352 req->block_sz = SM3_BLOCK_SIZE; in safexcel_hmac_sm3_init()
2412 req->block_sz = SHA3_224_BLOCK_SIZE; in safexcel_sha3_224_init()
2605 req->block_sz = SHA3_256_BLOCK_SIZE; in safexcel_sha3_256_init()
2663 req->block_sz = SHA3_384_BLOCK_SIZE; in safexcel_sha3_384_init()
2721 req->block_sz = SHA3_512_BLOCK_SIZE; in safexcel_sha3_512_init()
2876 req->block_sz = SHA3_224_BLOCK_SIZE; in safexcel_hmac_sha3_224_init()
2947 req->block_sz = SHA3_256_BLOCK_SIZE; in safexcel_hmac_sha3_256_init()
3018 req->block_sz = SHA3_384_BLOCK_SIZE; in safexcel_hmac_sha3_384_init()
3089 req->block_sz = SHA3_512_BLOCK_SIZE; in safexcel_hmac_sha3_512_init()