Home
last modified time | relevance | path

Searched refs:salt_len (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/lib/libavb/
H A Davb_hash_descriptor.c26 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hash_descriptor_validate_and_byteswap()
33 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hash_descriptor_validate_and_byteswap()
H A Davb_hashtree_descriptor.c34 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hashtree_descriptor_validate_and_byteswap()
41 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hashtree_descriptor_validate_and_byteswap()
H A Davb_hash_descriptor.h50 uint32_t salt_len; member
H A Davb_hashtree_descriptor.h60 uint32_t salt_len; member
H A Davb_slot_verify.c191 desc_digest = desc_salt + hash_desc.salt_len; in load_and_verify_hash_partition()
280 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()
287 avb_sha512_update(&sha512_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()
/openbmc/u-boot/lib/rsa/
H A Drsa-verify.c159 uint8_t *salt, int salt_len, in compute_hash_prime() argument
170 region[2].size = salt_len; in compute_hash_prime()
193 int db_len = masked_db_len, salt_len = msg_len - hash_len - 2; in padding_pss_verify() local
204 salt = malloc(salt_len); in padding_pss_verify()
251 memcpy(salt, &db[1], salt_len); in padding_pss_verify()
256 salt, salt_len, hprime); in padding_pss_verify()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dipsec.c430 int salt_len = 4; in nfp_net_xfrm_add_state() local
433 key_len -= salt_len; in nfp_net_xfrm_add_state()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.h187 unsigned int salt_len; member
H A Dcipher.c2667 ctx->salt_len + in aead_enqueue()
2702 if (ctx->salt_len) in aead_enqueue()
2704 ctx->salt, ctx->salt_len); in aead_enqueue()
2705 memcpy(rctx->msg_buf.iv_ctr + ctx->salt_offset + ctx->salt_len, in aead_enqueue()
2707 rctx->iv_ctr_len - ctx->salt_len - ctx->salt_offset); in aead_enqueue()
2861 keylen + ctx->salt_len); in aead_gcm_ccm_setkey()
2906 ctx->salt_len = GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
2938 ctx->salt_len = GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
2971 ctx->salt_len = CCM_ESP_SALT_SIZE; in aead_ccm_esp_setkey()
4222 ctx->salt_len = 0; in aead_cra_init()