Searched refs:key_num_bits (Results 1 – 7 of 7) sorted by relevance
37 if (!(h.key_num_bits == 2048 || h.key_num_bits == 4096 || in iavb_parse_key_data()38 h.key_num_bits == 8192)) { in iavb_parse_key_data()43 expected_length = sizeof(AvbRSAPublicKeyHeader) + 2 * h.key_num_bits / 8; in iavb_parse_key_data()50 rr = data + sizeof(AvbRSAPublicKeyHeader) + h.key_num_bits / 8; in iavb_parse_key_data()55 key = (IAvbKey*)(avb_malloc(sizeof(IAvbKey) + 2 * h.key_num_bits / 8)); in iavb_parse_key_data()60 key->len = h.key_num_bits / 32; in iavb_parse_key_data()
349 dest->key_num_bits = avb_be32toh(dest->key_num_bits); in avb_rsa_public_key_header_validate_and_byteswap()
140 uint32_t key_num_bits; member
61 if (!(h.key_num_bits == 2048 || h.key_num_bits == 4096 || in iavb_parse_key_data()62 h.key_num_bits == 8192)) { in iavb_parse_key_data()67 expected_length = sizeof(AvbRSAPublicKeyHeader) + 2 * h.key_num_bits / 8; in iavb_parse_key_data()74 rr = data + sizeof(AvbRSAPublicKeyHeader) + h.key_num_bits / 8; in iavb_parse_key_data()79 key = (IAvbKey*)(avb_malloc(sizeof(IAvbKey) + 2 * h.key_num_bits / 8)); in iavb_parse_key_data()84 key->len = h.key_num_bits / 32; in iavb_parse_key_data()
368 dest->key_num_bits = avb_be32toh(dest->key_num_bits); in avb_rsa_public_key_header_validate_and_byteswap()
159 uint32_t key_num_bits; member
52 h.key_num_bits = htobe32(n32); in TEST_F()62 EXPECT_EQ(n32, s.key_num_bits); in TEST_F()