/u-boot/lib/ |
A D | oid_registry.c | 34 unsigned i, j, k, hash; in look_up_OID() local 38 hash = datasize - 1; in look_up_OID() 41 hash += octets[i] * 33; in look_up_OID() 42 hash = (hash >> 24) ^ (hash >> 16) ^ (hash >> 8) ^ hash; in look_up_OID() 43 hash &= 0xff; in look_up_OID() 54 xhash = oid_search_table[j].hash; in look_up_OID() 55 if (xhash > hash) { in look_up_OID() 59 if (xhash < hash) { in look_up_OID()
|
/u-boot/scripts/basic/ |
A D | fixdep.c | 164 unsigned int hash; member 174 unsigned int i, hash = 2166136261U; in strhash() local 177 hash = (hash ^ str[i]) * 0x01000193; in strhash() 178 return hash; in strhash() 189 if (aux->hash == hash && aux->len == len && in is_defined_config() 209 aux->hash = hash; in define_config() 210 aux->next = hashtab[hash % HASHSZ]; in define_config() 211 hashtab[hash % HASHSZ] = aux; in define_config() 219 unsigned int hash = strhash(m, slen); in use_config() local 221 if (is_defined_config(m, slen, hash)) in use_config() [all …]
|
/u-boot/fs/ubifs/ |
A D | key.h | 36 static inline uint32_t key_mask_hash(uint32_t hash) in key_mask_hash() argument 38 hash &= UBIFS_S_KEY_HASH_MASK; in key_mask_hash() 39 if (unlikely(hash <= 2)) in key_mask_hash() 40 hash += 3; in key_mask_hash() 41 return hash; in key_mask_hash() 144 uint32_t hash = c->key_hash(nm->name, nm->len); in dent_key_init() local 146 ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); in dent_key_init() 161 uint32_t hash) in dent_key_init_hash() argument 163 ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); in dent_key_init_hash() 183 key->j32[1] = cpu_to_le32(hash | in dent_key_init_flash() [all …]
|
/u-boot/include/u-boot/ |
A D | rsa.h | 97 const uint8_t *hash, uint8_t *sig, uint sig_len); 116 const void *hash, uint8_t *sig, uint sig_len); 120 const uint8_t *hash, int hash_len); 125 const uint8_t *hash, int hash_len); 129 const uint8_t *hash, in rsa_verify_hash() argument 144 const uint8_t *hash, int hash_len) in padding_pkcs_15_verify() argument 152 const uint8_t *hash, int hash_len) in padding_pss_verify() argument
|
/u-boot/lib/rsa/ |
A D | rsa-verify.c | 77 const uint8_t *hash, int hash_len) in padding_pkcs_15_verify() argument 173 uint8_t *hash, int hash_len, in compute_hash_prime() argument 182 region[1].data = hash; in compute_hash_prime() 212 const uint8_t *hash, int hash_len) in padding_pss_verify() argument 283 (uint8_t *)hash, hash_len, in padding_pss_verify() 329 if (!prop || !sig || !hash || !checksum) in rsa_verify_key() 435 const void *hash, uint8_t *sig, in rsa_verify_with_keynode() argument 482 const void *hash, uint8_t *sig, in rsa_verify_with_keynode() argument 533 ret = rsa_verify_with_keynode(info, hash, in rsa_verify_hash() 550 uint8_t hash[info->crypto->key_len]; in rsa_verify() local [all …]
|
/u-boot/scripts/ |
A D | build_OID_registry | 120 my $hash = $#octets; 122 $hash += $_ * 33; 125 $hash = ($hash >> 24) ^ ($hash >> 16) ^ ($hash >> 8) ^ ($hash); 127 push @hash_values, $hash & 0xff;
|
/u-boot/board/st/stm32mp1/ |
A D | fit_copro_kernel_dtb.its | 34 hash-1 { 48 hash-1 { 59 hash-1 { 70 hash-1 { 84 hash-1 { 93 hash-1 { 103 hash-1 { 112 hash-1 {
|
A D | fit_kernel_dtb.its | 33 hash-1 { 44 hash-1 { 55 hash-1 { 68 hash-1 { 77 hash-1 {
|
/u-boot/doc/uImage.FIT/ |
A D | multi.its | 21 hash-1 { 24 hash-2 { 38 hash-1 { 52 hash-1 { 66 hash-1 { 80 hash-1 { 91 hash-1 { 103 hash-1 {
|
A D | kernel_fdts_compressed.its | 23 hash-1 { 26 hash-2 { 36 hash-1 { 39 hash-2 { 49 hash-1 { 52 hash-2 {
|
A D | kernel_fdt.its | 21 hash-1 { 24 hash-2 { 34 hash-1 { 37 hash-2 {
|
A D | update3.its | 18 hash-1 { 28 hash-1 { 39 hash-1 {
|
A D | multi-with-loadables.its | 22 hash-1 { 34 hash-1 { 46 hash-1 { 60 hash-1 {
|
A D | kernel.its | 21 hash-1 { 24 hash-2 { 59 hash-2 { 73 hash-2 {
|
A D | multi-with-fpga.its | 20 hash-1 { 32 hash-1 { 46 hash-1 {
|
/u-boot/tools/binman/test/ |
A D | 161_fit.dts | 25 hash-1 { 28 hash-2 { 39 hash-1 { 42 hash-2 {
|
A D | 162_fit_external.dts | 26 hash-1 { 29 hash-2 { 40 hash-1 { 43 hash-2 {
|
A D | 165_section_ignore_hash_signature.dts | 13 hash { 24 hash-1 { 27 hash-2 {
|
/u-boot/arch/arm/include/asm/arch-tegra/ |
A D | warmboot.h | 25 struct hash { struct 26 u32 hash[HASH_LENGTH]; argument 41 struct hash hash; /* hash of header+code, starts next field*/ member 42 struct hash random_aes_block; /* a data block to aid security. */
|
/u-boot/lib/efi_loader/ |
A D | efi_signature.c | 130 if (!*hash) { in efi_hash_regions() 132 if (!*hash) { in efi_hash_regions() 166 void *hash = NULL; in efi_signature_lookup_digest() local 198 free(hash); in efi_signature_lookup_digest() 203 free(hash); in efi_signature_lookup_digest() 204 hash = NULL; in efi_signature_lookup_digest() 278 free(hash); in efi_lookup_certificate() 365 void *hash = NULL; in efi_signature_check_revocation() local 415 free(hash); in efi_signature_check_revocation() 418 free(hash); in efi_signature_check_revocation() [all …]
|
/u-boot/board/friendlyarm/nanopi2/ |
A D | board.c | 256 u32 hash[20]; in make_ether_addr() local 259 memset(hash, 0, sizeof(hash)); in make_ether_addr() 260 memcpy(hash + 12, ETHER_MAC_TAG, sizeof(ETHER_MAC_TAG)); in make_ether_addr() 262 hash[4] = readl(PHY_BASEADDR_ECID + 0x00); in make_ether_addr() 263 hash[5] = readl(PHY_BASEADDR_ECID + 0x04); in make_ether_addr() 264 hash[6] = readl(PHY_BASEADDR_ECID + 0x08); in make_ether_addr() 265 hash[7] = readl(PHY_BASEADDR_ECID + 0x0c); in make_ether_addr() 267 md5((unsigned char *)&hash[4], 64, (unsigned char *)hash); in make_ether_addr() 269 hash[0] ^= hash[2]; in make_ether_addr() 270 hash[1] ^= hash[3]; in make_ether_addr() [all …]
|
/u-boot/fs/btrfs/crypto/ |
A D | hash.c | 34 u64 hash; in hash_xxhash() local 36 hash = xxh64(buf, length, 0); in hash_xxhash() 37 put_unaligned_le64(hash, out); in hash_xxhash()
|
/u-boot/arch/arm/mach-rockchip/ |
A D | misc.c | 29 u8 hash[SHA256_SUM_LEN]; in rockchip_setup_macaddr() local 30 int size = sizeof(hash); in rockchip_setup_macaddr() 42 ret = hash_block("sha256", (void *)cpuid, strlen(cpuid), hash, &size); in rockchip_setup_macaddr() 49 memcpy(mac_addr, hash, 6); in rockchip_setup_macaddr()
|
/u-boot/test/py/tests/test_efi_secboot/ |
A D | openssl.cnf | 23 subjectKeyIdentifier = hash 30 subjectKeyIdentifier = hash 38 subjectKeyIdentifier = hash
|
/u-boot/tools/patman/ |
A D | commit.py | 32 def __init__(self, hash): argument 33 self.hash = hash
|