Searched refs:hash_pad_len (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/crypto/bcm/ |
D | spu.c | 429 int hash_pad_len; in spum_hash_pad_len() local 434 hash_pad_len = hash_block_size - used_space_last_block; in spum_hash_pad_len() 435 if (hash_pad_len >= hash_block_size) in spum_hash_pad_len() 436 hash_pad_len -= hash_block_size; in spum_hash_pad_len() 437 return hash_pad_len; in spum_hash_pad_len() 447 hash_pad_len = hash_block_size - used_space_last_block; in spum_hash_pad_len() 448 if (hash_pad_len < 0) in spum_hash_pad_len() 449 hash_pad_len += hash_block_size; in spum_hash_pad_len() 451 hash_pad_len += 1 + length_len; in spum_hash_pad_len() 452 return hash_pad_len; in spum_hash_pad_len() [all …]
|
D | spu.h | 211 u32 hash_pad_len) in spu_real_db_size() argument 214 aad_pad_len + gcm_pad_len + hash_pad_len; in spu_real_db_size() 259 u32 hash_pad_len,
|
D | spu2.c | 1245 void spu2_request_pad(u8 *pad_start, u32 gcm_padding, u32 hash_pad_len, in spu2_request_pad() argument 1259 if (hash_pad_len > 0) { in spu2_request_pad() 1261 memset(ptr, 0, hash_pad_len); in spu2_request_pad() 1265 ptr += (hash_pad_len - sizeof(u64)); in spu2_request_pad()
|
D | spu2.h | 204 void spu2_request_pad(u8 *pad_start, u32 gcm_padding, u32 hash_pad_len,
|
D | cipher.h | 391 u32 hash_pad_len, enum hash_alg auth_alg,
|
/Linux-v6.6/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1453 size_t hash_pad_len; in artpec6_crypto_prepare_hash() local 1484 hash_pad_len = create_hash_pad(oper, req_ctx->pad_buffer, in artpec6_crypto_prepare_hash() 1488 hash_pad_len, false, in artpec6_crypto_prepare_hash()
|