Lines Matching defs:ext_info
51 static int ext_info(crypto_provider_handle_t, crypto_provider_ext_info_t *,
73 ext_info, /* ext_info */
122 ext_info(crypto_provider_handle_t prov, crypto_provider_ext_info_t *ext_info,
132 strncpy_spacepad(ext_info->ei_manufacturerID, N2RNG_MANUFACTURER_ID,
136 strncpy_spacepad(ext_info->ei_model, "0", CRYPTO_EXT_SIZE_MODEL);
139 ext_info->ei_flags = CRYPTO_EXTF_RNG | CRYPTO_EXTF_SO_PIN_LOCKED |
142 ext_info->ei_max_session_count = CRYPTO_EFFECTIVELY_INFINITE;
143 ext_info->ei_max_pin_len = 0;
144 ext_info->ei_min_pin_len = 0;
145 ext_info->ei_total_public_memory = CRYPTO_UNAVAILABLE_INFO;
146 ext_info->ei_free_public_memory = CRYPTO_UNAVAILABLE_INFO;
147 ext_info->ei_total_private_memory = CRYPTO_UNAVAILABLE_INFO;
148 ext_info->ei_free_private_memory = CRYPTO_UNAVAILABLE_INFO;
151 ext_info->ei_time[0] = '\000';
161 strncpy_spacepad(ext_info->ei_serial_number,
166 ext_info->ei_hardware_version.cv_major = 0;
167 ext_info->ei_hardware_version.cv_minor = 0;
168 ext_info->ei_firmware_version.cv_major = 0;
169 ext_info->ei_firmware_version.cv_minor = 0;
173 strncpy_spacepad(ext_info->ei_label, buf, CRYPTO_EXT_SIZE_LABEL);