Searched refs:key_bits (Results 1 – 2 of 2) sorted by relevance
75 uint32_t key_bits; in ImportKey() local76 if (!authorizations.GetTagValue(TAG_KEY_SIZE, &key_bits)) { in ImportKey()78 key_bits = key_size_bits(input_key_material.key_material_size); in ImportKey()79 authorizations.push_back(TAG_KEY_SIZE, key_bits); in ImportKey()84 if (!key_size_supported(key_bits)) return KM_ERROR_UNSUPPORTED_KEY_SIZE; in ImportKey()87 if (key_bits != key_size_bits(input_key_material.key_material_size)) { in ImportKey()88 LOG_E("Expected %d-bit key data but got %d-bit key", key_bits, in ImportKey()
1280 size_t key_bits = 0; in TEST_P() local1284 key_bits = 256; in TEST_P()1288 message_len = key_bits / 8; in TEST_P()1291 message_len = key_bits / 8 - 11; in TEST_P()1327 key_bits = digest_bits + 8 * (11 + 19); in TEST_P()1330 key_bits = digest_bits * 2 + 2 * 8; in TEST_P()1339 key_bits = (key_bits + 127) / 128 * 128; in TEST_P()1342 .RsaSigningKey(key_bits, 3) in TEST_P()