Searched refs:digestlen (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/crypto/ |
H A D | afsplit.c | 48 size_t digestlen = qcrypto_hash_digest_len(hash); in qcrypto_afsplit_hash() local 50 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()
|
H A D | block-luks.c | 270 size_t digestlen = qcrypto_hash_digest_len(hash); in qcrypto_block_luks_essiv_cipher() local 272 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() 309 digestlen); in qcrypto_block_luks_essiv_cipher() 316 if (digestlen == qcrypto_cipher_get_key_len( in qcrypto_block_luks_essiv_cipher() [all …]
|
/openbmc/linux/include/linux/ |
H A D | digsig.h | 48 const char *digest, int digestlen); 53 int siglen, const char *digest, int digestlen) in digsig_verify() argument
|
/openbmc/linux/security/integrity/ |
H A D | digsig.c | 62 const char *digest, int digestlen) in integrity_digsig_verify() argument 77 digestlen); in integrity_digsig_verify() 81 digestlen); in integrity_digsig_verify()
|
H A D | integrity.h | 199 const char *digest, int digestlen); 210 const char *digest, int digestlen) in integrity_digsig_verify() argument
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-authenc.h | 46 u32 *digest, unsigned int digestlen,
|
H A D | atmel-sha.c | 2126 unsigned int digestlen; member 2348 u32 *digest, unsigned int digestlen, in atmel_sha_authenc_final() argument 2358 authctx->digestlen = SHA1_DIGEST_SIZE; in atmel_sha_authenc_final() 2362 authctx->digestlen = SHA224_DIGEST_SIZE; in atmel_sha_authenc_final() 2366 authctx->digestlen = SHA256_DIGEST_SIZE; in atmel_sha_authenc_final() 2370 authctx->digestlen = SHA384_DIGEST_SIZE; in atmel_sha_authenc_final() 2374 authctx->digestlen = SHA512_DIGEST_SIZE; in atmel_sha_authenc_final() 2380 if (authctx->digestlen > digestlen) in atmel_sha_authenc_final() 2381 authctx->digestlen = digestlen; in atmel_sha_authenc_final() 2395 size_t i, num_words = authctx->digestlen / sizeof(u32); in atmel_sha_authenc_final_done()
|