Searched refs:digestlen (Results 1 – 2 of 2) sorted by relevance
48 size_t digestlen = qcrypto_hash_digest_len(hash); in qcrypto_afsplit_hash() local50 size_t hashcount = blocklen / digestlen; in qcrypto_afsplit_hash()51 size_t finallen = blocklen % digestlen; in qcrypto_afsplit_hash()57 finallen = digestlen; in qcrypto_afsplit_hash()67 { .iov_base = block + (i * digestlen), in qcrypto_afsplit_hash()68 .iov_len = (i == (hashcount - 1)) ? finallen : digestlen }, in qcrypto_afsplit_hash()79 assert(outlen == digestlen); in qcrypto_afsplit_hash()80 memcpy(block + (i * digestlen), out, in qcrypto_afsplit_hash()81 (i == (hashcount - 1)) ? finallen : digestlen); in qcrypto_afsplit_hash()
270 size_t digestlen = qcrypto_hash_digest_len(hash); in qcrypto_block_luks_essiv_cipher() local272 if (digestlen == keylen) { in qcrypto_block_luks_essiv_cipher()280 if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()283 } else if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()286 } else if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()291 digestlen); in qcrypto_block_luks_essiv_cipher()298 if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()301 } else if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()304 } else if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher()309 digestlen); in qcrypto_block_luks_essiv_cipher()[all …]